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

  1. Create a new Windows CE HPC Project in Visual Basic.


  2. Note the Local Path setting before clicking OK in the Project Properties dialog box to accept the defaults.


  3. From the File menu, select Make Project1.


  4. Using Windows Explorer, navigate to the directory noted in the Local Path setting above.


  5. Note that the compiled VBCE application is 2K in size.


  6. Paste the following code into Form1:


  7. 
    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 
  8. From the File menu, select Make Project1.


  9. Using Windows Explorer, navigate to the directory noted in the Local Path setting above.


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


Last Reviewed: August 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.