You are currently offline, waiting for your internet to reconnect
Questions about Windows 10? Click here

PRB: Long File Names are Converted to Short by Association

This article was previously published under Q150706
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
Opening a Visual Basic project with a long file name, using any methodother than starting Visual Basic and then opening the project, results inVisual Basic opening the project using the short file name, causing theshort file name to appear on the title bar of the project.

If this project is under SourceSafe control, certain operations can producethe error:
"file or project not found"
RESOLUTION
Perform the following steps to resolve the problem:
  1. Start Windows Explorer. From the View menu, select Options. In Windows 98, select Folder Options.
  2. Click the File Types tab. Double-click Visual Basic Project in the Registered file types list box. The Edit File Type window appears.
  3. Double-click Open in the Action list box. The Editing action for type: Visual Basic Project dialog box appears.
  4. In the Application used to perform action: text box, put quotation marks (" ") around the Command line for Visual Basic. The text should look like the following:
          "C:\ProgramFiles\Microsoft Visual Basic\vb32.exe" "%1"					
  5. Click OK, and close all windows and dialog boxes.
Now when you open a Visual Basic project with a long file name, the longfile name appears on the title bar of the project.
STATUS
This behavior is by design.
Properties

Article ID: 150706 - Last Review: 02/28/2014 08:03:06 - Revision: 3.0

  • Microsoft Visual Basic 6.0 Learning Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition
  • Microsoft Visual Basic 5.0 Control Creation Edition
  • Microsoft Visual Basic 5.0 Learning Edition
  • Microsoft Visual Basic 5.0 Professional Edition
  • Microsoft Visual Basic 5.0 Enterprise Edition
  • Microsoft Visual Basic 4.0 Standard Edition
  • Microsoft Visual Basic 4.0 Professional Edition
  • Microsoft Visual Basic 4.0 Professional Edition
  • Microsoft Visual Basic 4.0 16-bit Enterprise Edition
  • Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
  • Microsoft Windows 95
  • kbnosurvey kbarchive kbprb kbctrl KB150706
Feedback