BUG: Code Comments Increase the Size of a Compiled VBCE App
ID: Q215393
|
The information in this article applies to:
-
Microsoft Windows CE Toolkit for Visual Basic 6.0, version 1.0
-
Microsoft Windows CE Toolkit for Visual Basic 5.0, version 1.0
SYMPTOMS
Adding comments to a Windows CE project in Visual Basic increases the size of the compiled .vb or .pvb file.
CAUSE
Comments are included in the compiled VBCE application to allow the debugger to see them.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new Windows CE HPC Project in Visual Basic.
- Note the Local Path setting before clicking OK in the Project Properties dialog box to accept the defaults.
- From the File menu, select Make Project1.
- Using Windows Explorer, navigate to the directory noted in the Local Path setting above.
- Note that the compiled VBCE application is 2K in size.
- Paste the following code into Form1:
Private Sub Form_Load()
'This is a comment that has been added
'to show that adding comments increases
'the size of a compiled VBCE application.
End Sub
- From the File menu, select Make Project1.
- Using Windows Explorer, navigate to the directory noted in the Local Path setting above.
Note that the compiled VBCE application is now 3K in size.
Additional query words:
vbce vbce5 vbce6 wince
Keywords : kbToolkit kbVBp600bug kbWinCE kbGrpVB
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug