Command Line Argument /MAKE Truncates User Documents
This article was previously published under Q190924
This article has been archived. It is offered "as is" and will no longer be updated.
When you use the Microsoft Visual Basic command line argument /MAKE to compile an ActiveX .exe document, user documents may get truncated.
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: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 220.127.116.11 1.79 MB VB6.exe
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
- Start Microsoft Visual Basic, and then create a new ActiveX Document EXE. By default, UserDocument1 is created.
- In the Project window, double-click User Documents.
- In the Project window, right-click UserDocument1, and then click View Object.
- Set the Top property of UserDocument1 to 16000.
- 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
- Save the project, and exit Visual Basic.
- 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 savedproject. Use quotation marks if the path contains long file names.
- 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.
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
Article ID: 190924 - Last Review: 02/21/2014 00:29:57 - Revision: 1.4
Microsoft Visual Basic 6.0 Professional Edition, Microsoft Visual Basic 6.0 Enterprise Edition
- kbnosurvey kbarchive kbbug kbfix kbide kbqfe kbcompiler kbhotfixserver KB190924