PDA

View Full Version : Right Click Menu


HippyCraig
04-13-2012, 09:56 AM
I see some new options if I right click an empty space on my desktop and go to the new menu I see different things depending on the OS.

I noticed on a windows 7 x64 box if I right click my desktop and select new I see two options for creating new VB empty project. The menu item shows them as both having the same name, one creates a bld file the other bldx file. But there is no visual way to see which is whick unless you just create it. Also if I open the bldx file and add some actions to it, when I save it, I get an error about an invalid zip format, is there a reason why this doesnt work? I can open VB and create a script and save as that format without issue, it just appears that the blank file if created first doesnt work. Also is there a way to have a better discription in the new menu item?

If I install this on a 2003 box I only see one option and it creates a bldx file, if I check the registery I can see both types are listed. Not sure if this is an OS issue or not, what do you think?

kinook
04-13-2012, 12:01 PM
In a future release, we'll remove the 2nd menu choice (for .bldx files) since it would rarely be used and can be confusing. You can manually remove it by deleting the registry key

HKEY_CLASSES_ROOT\.bldx\ShellNew

And we'll also fix the error message when saving over an empty .bldx file.

HippyCraig
04-13-2012, 01:22 PM
Thanks for checking this so quickly!

HippyCraig
04-13-2012, 01:58 PM
I actually had to remove the .bldx extention from the list completly. It was interfering with me creating a base script that I can use from the right click menu. What I do is add the following to the .bld registry entery that points to a base script we use for applicications.

.bld\ShellNew\FileName = "C:\StandaryScript.bld"

If the .bldx is left there with no values undernath it, I get errors. Is there something I am doing wrong? Or was the object to remove the .bldx completly from the registry?

HippyCraig
04-13-2012, 02:13 PM
I did some more testing and I recreated the .bldx without the ShellNew and it seems to work fine what are your thoughts?

Registry below:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT]

[HKEY_CLASSES_ROOT\.bld]
@="VisualBuildPro8.Project"

[HKEY_CLASSES_ROOT\.bld\ShellNew]
"NullFile"=""
"FileName"="c:\\program files\\ace group\\_BuildScripts\\BaseBuildScript-Deploy.bld"

[HKEY_CLASSES_ROOT\.bldx]
@="VisualBuildPro8.Project"

kinook
04-13-2012, 03:04 PM
Just deleting the ShellNew key worked in my tests.

HippyCraig
04-13-2012, 03:08 PM
Thanks, I did some more testing and everything is fine now. Thanks for the help!

kinook
04-16-2012, 08:41 AM
This is fixed in the latest installer download.

HippyCraig
04-16-2012, 09:58 AM
Great! Thanks for the help