Search Tools Links Login

Project File Name Correction

Eliminate short name conversion in the VB IDE.

Original Author: James E. Toebes


Ever noticed that if you open a vb project containing a long file name from explorer by double clicking it shortens the filename to 'PROJEC~1' instead of 'Project Number 1'? But if you open the same project while inside VB (Project open dialog) it uses the long name.
I experimented and found a quick fix.
1. From Explorer choose View => Folder Options
2. Select the tab 'File Types'
3. Scroll through the list and highlight 'Visual Basic Project' then press the Edit button.
4. Highlight 'Open' then press the Edit button.
5. Change the 'Application used to preform this action
from C:Program FilesDevStudioVBvb5.exe "%1"
to "C:Program FilesDevStudioVBvb5.exe" "%1"
NOTE: the only change is adding double quotes around the VB5.exe specification.
6. Save the changes.
You can repeat this for the other items in both the actions list and the registered applications list.
If any one can give me a reasonable explanation as to why this works, I would sure appreciate it. Interesting that if you try to make changes without adding the quotes, Your told that it is invalid and cannot save it.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 84 times


Visual Basic 6


No attachments for this post

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.