"Path Not Found: 'T:'" if Hyphen Precedes Directory Name

ID Number: Q74408

1.00

WINDOWS

Summary:

The error message "Path not found: 'T:'" will occur if you try to open

a project with a directory name that is preceded with a hyphen (for

example, -TEST) in Microsoft Visual Basic programming system version

1.0 for Windows. The problem is due to the way Windows 3.0 interprets

directories with the Windows API function DlgDirSelect. The following

example reproduces the problem.

Steps to Reproduce Problem

--------------------------

1. Create a temporary directory named -TEST (a hyphen followed by

TEST) in your Visual Basic directory.

2. Start Visual Basic. From the File menu, choose Open Project.

3. You should be able to see the "-TEST" directory in the list box.

Try selecting or clicking on that directory. The error message

"Path not found: 'T:'" will be displayed.

Microsoft has confirmed this to be a problem in the Windows 3.0

operating environment (BUGLIST3.00). We are researching this problem

and will post new information here as it becomes available.

Additional reference words: 1.00 3.00