Command Line Argument /MAKE Truncates User Documents

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

On This Page

SYMPTOMS

When you use the Microsoft Visual Basic command line argument /MAKE to compile an ActiveX .exe document, user documents may get truncated.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

Note You must have a Visual Studio license agreement to obtain this hotfix.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix should have the following file attributes or later:
   Date          Version      Size      File name     
   ----------------------------------------------
   18-Sep-2001   6.0.93.56    1.79 MB   VB6.exe
				

STATUS

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

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Start Microsoft Visual Basic, and then create a new ActiveX Document EXE. By default, UserDocument1 is created.
  2. In the Project window, double-click User Documents.
  3. In the Project window, right-click UserDocument1, and then click View Object.
  4. Set the Top property of UserDocument1 to 16000.
  5. Using the toolbox, create two labels on the form. Set the properties of the labels as follows:
          Name       Caption       Top
          ----       -------       ---
          Label1     "Top 8000"    8000
          Label2     "Top 15000"   15000
    					
  6. Save the project, and exit Visual Basic.
  7. 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. Use quotation marks if the path contains long file names.
  8. In Microsoft Internet Explorer, open the UserDocument1.vbd file, which should reside in the same directory as the Visual Basic project that you created. Scroll down. Note that the first label is visible but the second is not.
NOTE: The height to which the UserDocument is truncated depends on the video resolution of the development computer. For example, non-exhaustive testing found that on a computer with 800x600 resolution, the UserDocument was truncated to 8775 twips (6.1 inches). On a computer with 1024x768 resolution, the UserDocument was truncated to 8+ inches.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
190165 BUG: Compile Errors When Using Command Line Argument /MAKE

Properties

Article ID: 190924 - Last Review: February 21, 2014 - Revision: 1.4
APPLIES TO
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbide kbqfe kbcompiler kbhotfixserver KB190924

Give Feedback

 

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