Open With executes .vb files instead of opening with specified program

J

James

Perhaps this has already been identified, but I couldn't
find it.

With MSAS installed, there is a problem using Open With
on .vb files in Windows Explorer. The .vb file is
executed instead of opening with the specified
application after chosing to Allow the file (if you
choose Deny it just doesn't work).

For example, if I navigate to a file called
default.aspx.vb (using Windows Explorer), right click it,
choose Open With... Notepad, I'll be prompted with the
Allow/Deny script box. Clicking Allow causes the file to
actually execute instead of opening with Notepad.

This is rather annoying since the default application
for .vb files on my system is Visual Studio .NET 2003 and
this causes the file to open within the IDE.
 
B

Bill Sanderson

There was a nice scripting guys article about several bugs with script
handling, of which this was one.

It disappeared months ago without any clear explanation.

Yes, this is indeed a bug. Be additionally aware that on first execution of
a new script--i.e. the execution in which you are prompted to allow or deny,
the default folder context for that run will be \system32.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top