Ribbon customization, always have access to a sheet - user-interface

Hello competent people out there!
I have made a time registration sheet, that I use at my work place, in which I type in the hours that I am working on which assignment etc. Every time I need to use this sheet I find its physical location on the hard drive and open it. Through all day this sheet is open because I continuously has to registrate what I do. I want to get rid of this process.
My question now is: is there a good way to "put" this sheet up into the ribbon, so that I can access it from any excel workbook that I am working in? My first thought has been to add a button that simply opens up the workbook, but that wasn't exactly what I was looking for. I want to integrate this "time registration" into Excel itself.
Any input will be helpful.
Thank you very much!

Related

idempiere workflow document process

I am using idempiere 2.1. I am new to idempiere so now I am doing tutorial from wiki page. This is tutorial I am doing:http://wiki.idempiere.org/en/Developing_Plug-Ins_-_Models,_Documents_and_custom_accounting.
When I finish all steps, I start to test workflow, but in first window when I fill in information, then click Document Action and it displays error 'Document Status changed - Requery Record'. After that, nothing happened, workflow not working. Can someone help me on this problem?
(http://i.stack.imgur.com/tfACB.png)
Understand that a window tab on display is in an open or editable state. A process button though can update any data in the present window as well as any table across the database, it should not do things like save the present window as that is done by the Save button. Without looking at your code, i assumed that is probably what happened in it. If you do not have something like <presentTabTable>.save() then post the Data type or objects with the save() snips and perhaps it will be obvious to point out.
p/s - I noticed your screenshot is about battle plan by ROK. Not planning to invade the North are you? :) Just joking!

What are/How to edit cache files for opencart website

Hi all am a noob on the rise with web development and design and I am trying to edit a file that I found that seems to be controlling some information about world countries. More specifically I want to add a zone to a country. This file is part of the opencart e-commerce suite. It is located here: system/cache and is called cache.zone.16 and I openned it with notepad. the contents are as follows:
a:31:{i:0;a:5:
{s:7:"zone_id";s:3:"284";s:10:"country_id";s:2:"16";s:4:"name";s:7:"Acklins";s:4:"code";s:3:"ACK";s:6:"status";s:1:"1";}i:1;a:5:{s:7:"zone_id";s:3:"285";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Berry Islands";s:4:"code";s:3:"BER";s:6:"status";s:1:"1";}i:2;a:5:{s:7:"zone_id";s:3:"286";s:10:"country_id";s:2:"16";s:4:"name";s:6:"Bimini";s:4:"code";s:3:"BIM";s:6:"status";s:1:"1";}i:3;a:5:{s:7:"zone_id";s:3:"287";s:10:"country_id";s:2:"16";s:4:"name";s:11:"Black Point";s:4:"code";s:3:"BLK";s:6:"status";s:1:"1";}i:4;a:5:{s:7:"zone_id";s:3:"288";s:10:"country_id";s:2:"16";s:4:"name";s:10:"Cat Island";s:4:"code";s:3:"CAT";s:6:"status";s:1:"1";}i:5;a:5:{s:7:"zone_id";s:3:"289";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Central Abaco";s:4:"code";s:3:"CAB";s:6:"status";s:1:"1";}i:6;a:5:{s:7:"zone_id";s:3:"290";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Central Andros";s:4:"code";s:3:"CAN";s:6:"status";s:1:"1";}i:7;a:5:{s:7:"zone_id";s:3:"291";s:10:"country_id";s:2:"16";s:4:"name";s:17:"Central Eleuthera";s:4:"code";s:3:"CEL";s:6:"status";s:1:"1";}i:8;a:5:{s:7:"zone_id";s:3:"292";s:10:"country_id";s:2:"16";s:4:"name";s:16:"City of Freeport";s:4:"code";s:3:"FRE";s:6:"status";s:1:"1";}i:9;a:5:{s:7:"zone_id";s:3:"293";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Crooked Island";s:4:"code";s:3:"CRO";s:6:"status";s:1:"1";}i:10;a:5:{s:7:"zone_id";s:3:"294";s:10:"country_id";s:2:"16";s:4:"name";s:17:"East Grand Bahama";s:4:"code";s:3:"EGB";s:6:"status";s:1:"1";}i:11;a:5:{s:7:"zone_id";s:3:"295";s:10:"country_id";s:2:"16";s:4:"name";s:5:"Exuma";s:4:"code";s:3:"EXU";s:6:"status";s:1:"1";}i:12;a:5:{s:7:"zone_id";s:3:"296";s:10:"country_id";s:2:"16";s:4:"name";s:9:"Grand Cay";s:4:"code";s:3:"GRD";s:6:"status";s:1:"1";}i:13;a:5:{s:7:"zone_id";s:3:"297";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Harbour Island";s:4:"code";s:3:"HAR";s:6:"status";s:1:"1";}i:14;a:5:{s:7:"zone_id";s:3:"2908";s:10:"country_id";s:2:"16";s:4:"name";s:9:"Hope Town";s:4:"code";s:3:"HOP";s:6:"status";s:1:"1";}i:15;a:5:{s:7:"zone_id";s:3:"299";s:10:"country_id";s:2:"16";s:4:"name";s:6:"Inagua";s:4:"code";s:3:"INA";s:6:"status";s:1:"1";}i:16;a:5:{s:7:"zone_id";s:3:"300";s:10:"country_id";s:2:"16";s:4:"name";s:11:"Long Island";s:4:"code";s:3:"LNG";s:6:"status";s:1:"1";}i:17;a:5:{s:7:"zone_id";s:3:"301";s:10:"country_id";s:2:"16";s:4:"name";s:12:"Mangrove Cay";s:4:"code";s:3:"MAN";s:6:"status";s:1:"1";}i:18;a:5:{s:7:"zone_id";s:3:"302";s:10:"country_id";s:2:"16";s:4:"name";s:9:"Mayaguana";s:4:"code";s:3:"MAY";s:6:"status";s:1:"1";}i:19;a:5:{s:7:"zone_id";s:3:"303";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Moore's Island";s:4:"code";s:3:"MOO";s:6:"status";s:1:"1";}i:20;a:5:{s:7:"zone_id";s:3:"304";s:10:"country_id";s:2:"16";s:4:"name";s:11:"North Abaco";s:4:"code";s:3:"NAB";s:6:"status";s:1:"1";}i:21;a:5:{s:7:"zone_id";s:3:"305";s:10:"country_id";s:2:"16";s:4:"name";s:12:"North Andros";s:4:"code";s:3:"NAN";s:6:"status";s:1:"1";}i:22;a:5:{s:7:"zone_id";s:3:"306";s:10:"country_id";s:2:"16";s:4:"name";s:15:"North Eleuthera";s:4:"code";s:3:"NEL";s:6:"status";s:1:"1";}i:23;a:5:{s:7:"zone_id";s:3:"307";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Ragged Island";s:4:"code";s:3:"RAG";s:6:"status";s:1:"1";}i:24;a:5:{s:7:"zone_id";s:3:"308";s:10:"country_id";s:2:"16";s:4:"name";s:7:"Rum Cay";s:4:"code";s:3:"RUM";s:6:"status";s:1:"1";}i:25;a:5:{s:7:"zone_id";s:3:"309";s:10:"country_id";s:2:"16";s:4:"name";s:12:"San Salvador";s:4:"code";s:3:"SAL";s:6:"status";s:1:"1";}i:26;a:5:{s:7:"zone_id";s:3:"310";s:10:"country_id";s:2:"16";s:4:"name";s:11:"South Abaco";s:4:"code";s:3:"SAB";s:6:"status";s:1:"1";}i:27;a:5:{s:7:"zone_id";s:3:"311";s:10:"country_id";s:2:"16";s:4:"name";s:12:"South Andros";s:4:"code";s:3:"SAN";s:6:"status";s:1:"1";}i:28;a:5:{s:7:"zone_id";s:3:"312";s:10:"country_id";s:2:"16";s:4:"name";s:15:"South Eleuthera";s:4:"code";s:3:"SEL";s:6:"status";s:1:"1";}i:29;a:5:{s:7:"zone_id";s:3:"313";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Spanish Wells";s:4:"code";s:3:"SWE";s:6:"status";s:1:"1";}i:30;a:5:{s:7:"zone_id";s:3:"314";s:10:"country_id";s:2:"16";s:4:"name";s:17:"West Grand Bahama";s:4:"code";s:3:"WGB";s:6:"status";s:1:"1";}}
The problem is this, I am trying to open an online store using opencart because its free and am broke but I've notice that when I was trying to register a fake account to test it out with my new design I noticed something strange. The capital of the Bahamas, which is Nassau, is missing from this list. And thats kind of huge issue because Nassau is where the majority of the population of the Bahamas lives. So can someone be so kind as to offer some advice for this problem? Where to look, something to read, perhaps even a solution.
Thank You;
Eulond Kelly III
Login to admin panel and go to System > Zones.
Then click on 'Insert' button and enter the needed information.
Click on save button.
That's all !!

Google Scripts API: How to apply an onEdit function to every spreadsheet?

I wrote a little function that creates some menus and registered it with the onOpen() event with my spreadsheet in Google Drive so that the actions are triggered and the menus appear automatically whenever the particular spreadsheet gets opened. But there's a catch. I want this to happen for every single spreadsheet that I will ever have in Google Drive/Docs. Even the ones I create next week. Of course, I don't want to go through the process of registering a trigger for each particular document.
Is there a way to say "hey, every single spreadsheet in my account will have this function triggered on onOpen"? It seems like a highly usefull feature.
If this is not possible, can Zend's GData API for PHP somehow remotely run a script on a spreadsheet? Since all my spreadsheets come from a PHP web app, I could overcome the problem by triggering the execution from PHP.
If you're willing to change the way you create a new spreadsheet, rather than "Create New", then you should be able to acheive this with all your future spreadsheets.
Create a blank spreadsheet with your onOpen() code. Save it.
To make a new spreadsheet that has your menu, select your "template"
spreadsheet, use More - Make a Copy, and then rename the copy.
When you copy a spreadsheet, any included script is also copied. (Unfortunately, it gets named "Copy of...", but that doesn't affect functionality.)
Alternative: You can also use a Script Library with functions that you would like to change in future, and have the template script call them. (Libraries added via the "Manage Libraries..." dialog will be included in the copy.)

Choosing between Excel Add-In, Template and Workbook?

I'm looking for some high-level help with determining the best type of Visual Studio 2010 project to use for an Excel custom application.
I will be developing a program that requires the user to enter a dataset in a particular way. Not using a form per se, but rather in columns and the program will need to do some custom validation on the items in order to prep the data. From there, the user will be able to conduct various operations on the data via a custom Ribbon and associated options. The program will also transmit the data via web service.
I've fooled around with the Add-In project and that gives me a lot of what I need but I'm wondering if a Template or Workbook project is better for this in terms of data entry and being able to "guide" the user a little more.
How do you go about choosing between which project type to use? Do all the project types support a custom Ribbon?
Sorry if this is too far off topic. I'm referring to VBA, not Visual Studio, but it might still be relevant.
With an AddIn, compared to a Workbook, you can separate your code from the user's data. So, if the code is complex, and you'll need to update it separately from user's workbooks with data, this is not a bad idea.
With an AddIn, you can add buttons that do things like check to make sure the user data workbook is ok, or process it in someway. However, the AddIn custom buttons will load ever time a user opens any Excel worksheet. This doesn't sound good, but in practice, isn't so bad. You can code your AddIn so it does nothing as long as no one uses a button, so it almost doesn't hurt load times, etc...
A Workbook might be useful if you need to really guide the user - that is, you cannot rely on the user to hit a button to verify something, and instead you need to verify on every change, for example. However, the workbook solution incorporates the user data and your code in the same workbook, so if you need to update the code for existing users' data, that's harder.
I use a combination of AddIn (.xlam) with buttons, and a template (with minimal self-describing data only).
I'm not sure about the template-only option, so won't comment on that.

Comments with timestamp and author?

When working in a large project with many authors it could be a nice feature if the IDE could record when and who is writing a ceratin comment. I would be enough if this information only was visible with a tooltip on the comment-text. Is there any add-on that could do this?
Im working with C# in VS2010.
Update:
A quick solution could of course be a macro that inserted my name and the current time a the current position.
Have your source control system add these values each time the file is checked in.

Resources