Cabinet Planner
General >> Upcoming features >> ‘Normal’ file handling
http://cabplanner.conforums.com/index.cgi?board=features&action=display&num=1325268295

‘Normal’ file handling
Post by Rob on Dec 30th, 2011, 11:04am

User Image

The program will now allow you to double-click on a job file (with new icon above) to open it in the program. And, that is the file that will be used, instead of the program placing a copy of it in the AppData folder & using it.

To do this I had to start using a new file extension, ‘.cpdat’, though the program will still recognize existing ‘.dat’ files. You can convert any .dat files by using the ‘Save as’ function and adding .cpdat to the file name.

Note:
You cannot open a file from a cd. It needs to be copied and pasted to your computer. This is because the program needs to be able to write to the file each time you make a change to the job and cd’s don’t allow this.

<link removed> added to regular update

Give it a try and let me know what you think.

Rob

PS, I also gave the program a little better looking desktop icon.

Re: ‘Normal’ file handling
Post by Pete on Jan 4th, 2012, 1:12pm

Can they be saved in a folder/location of choice?
I was testing and can not save to the desktop.
Re: ‘Normal’ file handling
Post by Rob on Jan 4th, 2012, 1:30pm

on Jan 4th, 2012, 1:12pm, Pete wrote:
Can they be saved in a folder/location of choice?
I was testing and can not save to the desktop.


Yes, but Windows has more than 1 desktop (all users, current user, any other user, etc..). If you press the 'desktop' button in the file dialog window it should give you the one you can save it to.
Re: ‘Normal’ file handling
Post by Pete on Jan 4th, 2012, 2:17pm

Like it
Re: ‘Normal’ file handling
Post by tagco on Jan 4th, 2012, 3:55pm

Two thumbs up for this.......
Re: ‘Normal’ file handling
Post by Rob on Jan 4th, 2012, 4:05pm

Thanks for the replies. I'm going to wait a week or so before adding this to the regular update.

Until then keep trying to break it. That's the only way to find & fix any problems that may show up, though I don't think there will be any.
Re: ‘Normal’ file handling
Post by trulycustom on Jan 4th, 2012, 7:14pm

No problems here! It worked as advertised...appreciate it.
Re: ‘Normal’ file handling
Post by Rob on Jan 7th, 2012, 11:56am

I've uploaded a new version (same link as in first post) to fix a problem when importing a cabinet from another job.
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 09:57am

Had a little different experience. The file with the .cpdat extension was saved to a user selected directory C:\xyz.cpdat. Double clicking file from explorer C:\xyz.cpdat launches applicatoin, but the cabinet data is missing. If I open file from within Cabinet Planner using File/Open and select C:\xyz.cpdat the file opens and the job data is populated.
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 10:11am

Did a quick test on my system and "c:\" is a protected location. I manually copied and pasted the file there and had to give admistrative permission for it and the file icon had a little lock on it. If I saved it there through the program it was put in a compatibility folder.

Isn't Windows great!

Try saving it to another location.
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 11:02am

Sorry Rob, C:\xyz was an example because I was too lazy to type the intire path. The path to the file is actually C:\Users\Dave Ber\Documents\Timberwolf\Timberwolf Cabinetry\Jobs\Whitcomb\Whitcomb Proposal 2.cpdat. Permissions are allow for user and administrator.

If it is easier to discuss live, you can call me at 509.279.0119. Thanks, Dave
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 12:16pm

Did you by chance go back and install the regular update afterward? If so it won't work.
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 2:05pm

I did not reinstall the regular version. I tried two other things: 1) re-ran the temporary version - no change; 2) rebooted the system - no change.

I'm running Windows 7 64 bit OS on an Intel platform Duo CPU T8300 2.4 GHz system.

I could do a uninstall/reinstall, but is there a way to save my configuration/pricing data?
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 2:33pm

unistalling/reinstalling the program will not change your settings. They are created in a separate folder when the program is run the first time.

It probably won't change anything.

Check the About window in the program, the version date should be 12/30/2011. If that is correct I'll have to do some checking to see what else it could be.
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 2:52pm

Version 4.01 12/30/2011
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 2:58pm

That's just weird.


Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 3:07pm

I tried creating the same folder setup and it worked for me.

Try searching your system to see if you have two "xyz.cpdat" files.
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 4:56pm

Rob, there is only one file. Wondering if the problem had anything to do with starting with an older version file that I saved to my job folder, I creating a new file. The same problem exists - application launches with no cabinet data.

Here is some additional info that adds confusion to the problem. I created a new job called "Test CP File". A file was created in AppData\Roaming\CabinetPlanner\Test CP File.cpdat.

From within the application, I saved the file off to C:\Users\Dave Ber\Documents\Timberwolf\Timberwolf Cabinetry\Jobs\Whitcomb\test cp file.cpdat (specifically used lower case).

I can see both files using explorer, but only the file with the lower case file name is found using search.

I tried launching both files, but the results were the same.


Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 5:26pm

Does the Program's title bar show the name of the file? With this release it should show the full file name of the file that is open:
User Image
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 5:40pm

When I start a new job, the file name on the title bar has the .cpdat extension. So does the title bar when I do a save_as.

If the file is opened within the app using File/Open, the title bar contains the file name with the .cpdat extension. If I double click the file name, only "Cabinet Planner" with no path is shown on the title bar.
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 5:45pm

When you added ".cpdat" to the file name did you use all lower case letters?
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 5:54pm

Yes - lower case extension. By the way, the default is .cpdat or you can type in on the end of the file name.


Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 6:07pm

Install this version and let me know exactly what the notice window says when you open a file by double clicking it. Every thing after "CommandLine="

<Link removed>
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 6:37pm

I'm not getting a notice window - just launches the application.

Some additional info for you. When I double click the file using File/Open/path it opens correctly. Just not from Explore.
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 6:44pm

Open the General Standards and put a check in the box labeled "Open most recent file on startup". Close the program and try opening a file by double clicking it.
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 7:26pm

I've fixed it so it will work whether or not the "Open most recent file on startup" is selected. Same link as first in post.
Re: ‘Normal’ file handling
Post by davejber on Jan 10th, 2012, 8:26pm

Works as advertised grin. It's a very nice feature.
Re: ‘Normal’ file handling
Post by Rob on Jan 10th, 2012, 8:56pm

User Image
Re: ‘Normal’ file handling
Post by Rob on Jan 12th, 2012, 11:46am

This has now been added to the program.