BUG: Compile errors when you use command line argument /MAKE

Article translations Article translations
Article ID: 190165 - View products that this article applies to.
This article was previously published under Q190165
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page


When you use command line arguments to compile a Microsoft Visual Basic project that contains WebClass designers, you may encounter errors.


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


Use one of the following workarounds to compile the project 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, and save the changes. This rebuilds the .DCA files for the application in the same directory where the .DSR files are located.
  • Compile the application inside of the Visual Basic Integrated Development Environment (IDE). This also rebuilds the .DCA files for the application.


Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.


Steps to reproduce the behavior

  1. Create a new IIS application in Microsoft Visual Basic.
  2. Double-click Designers in the Project Explorer window.
  3. Double-click WebClass1 in the Project Explorer window.
  4. Right-click Custom WebItems in the Project1 - WebClass1 window, and then 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. Save the project, and exit Microsoft Visual Basic.
  8. Change the filename of "WebClass1.DCA" or delete it.
  9. From a command line, type 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.


For more information, click the following article number to view the article in the Microsoft Knowledge Base:
190924 Command line argument /MAKE truncates user documents


Article ID: 190165 - Last Review: February 21, 2014 - Revision: 2.1
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
kbnosurvey kbarchive kbbug kbpending kbwebclasses KB190165

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com