BUG: Compile Errors When Using Command Line Argument /MAKE

ID: Q190165

The information in this article applies to:

SYMPTOMS

When using command line arguments to compile a Microsoft Visual Basic project containing WebClass designers, errors may be encountered.

CAUSE

When using the command line argument /MAKE to compile the application, if the associated .DSA files for the Designers (.DSR) are not in the same directory as the .DSR files, errors may be encountered during the compiling. The .DSA files contain type library information that is necessary to compile the project.

RESOLUTION

Either of the following two workarounds should allow the project to compile without errors:

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

1. Create a new IIS application in Microsoft Visual Basic.

2. Double-click "Designers" in the Project Explorer windows.

3. Double-click "WebClass1" in the Project Explorer windows.

4. Right-click "Custom WebItems" in the "Project1 - WebClass1" window, and

   select "Custom WebItem."

5. Double-click "WebItem1" in the "Project1 - WebClass1" window.

6. In the WebItem1_Respond event, enter the following code:

      WebItem1.Properties("String") = "Test"

7. Exit Microsoft Visual Basic, saving the project.

8. From a command line, enter the following command:

   "c:\program files\devstudio\vb98\vb6.exe" /MAKE "c:\temp\project1.vbp"

   NOTE: Modify the path information to correspond to the directories for
   both the installation of Microsoft Visual Basic and the saved
   project. Quotes should be used if the path contains long filenames.

Additional query words: kbDSupport kbVBp600bug kbWebClasses kbdss kbVBp
Version           : WINDOWS:6.0
Platform          : WINDOWS
Issue type        : kbbug

Last Reviewed: August 7, 1998