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 188.8.131.52 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
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.
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.
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