BUG: Compile Errors When Using Command Line Argument /MAKE
ID: Q190165
|
The information in this article applies to:
-
Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0
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:
- Open the project in Visual Basic, and make a change in the project.
Any change, such as entering a space and then deleting the space in
the project will suffice. Close Visual Basic, saving the changes. This
will rebuild the .DSA files for the application in the same directory
where the .DSR files are located.
- Compile the application inside of the Visual Basic IDE. This will also
rebuild the .DSA files for the application.
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
- Create a new IIS application in Microsoft Visual Basic.
- Double-click "Designers" in the Project Explorer windows.
- Double-click "WebClass1" in the Project Explorer windows.
- Right-click "Custom WebItems" in the "Project1 - WebClass1" window, and
select "Custom WebItem."
- Double-click "WebItem1" in the "Project1 - WebClass1" window.
- In the WebItem1_Respond event, enter the following code:
WebItem1.Properties("String") = "Test"
- Exit Microsoft Visual Basic, saving the project.
- 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.
REFERENCES
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
Q190924 BUG: Command Line Argument /MAKE Truncates User Documents
Additional query words:
kbDSupport kbVBp600bug kbWebClasses kbdss kbVBp
Keywords : kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug