Microsoft KB Archive/215393

= BUG: Code Comments Increase the Size of a Compiled VBCE App =

Article ID: 215393

Article Last Modified on 10/20/2003

-

APPLIES TO


 * Microsoft Windows CE Toolkit for Visual Basic 6.0
 * Microsoft eMbedded Visual Basic 3.0

-



This article was previously published under Q215393



SYMPTOMS
Adding comments to a Windows CE project in Visual Basic or eMbedded Visual Basic increases the size of the compiled .vb file.



CAUSE
Comments are included in the compiled VBCE/eVB application to allow the debugger to see them.



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



Steps to Reproduce Behavior
 Create a new Windows CE project in either Visual Basic or eMbedded Visual Basic. Form1 is created by default. 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 </li> From the File menu, select Make Project1.</li> Using Windows Explorer, navigate to the directory noted in the Local Path setting above. Note that the compiled application is now larger in size.</li></ol>

Additional query words: vbceevb vbce6 wince

Keywords: kbbug kbtoolkit kbpending KB215393

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.