Microsoft KB Archive/260111

= BUG: eVB IDE: IntelliSense for MsgBox Lists Some Unsupported Constants =

Article ID: 260111

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft eMbedded Visual Basic 3.0

-



This article was previously published under Q260111



SYMPTOMS
The IntelliSense options for the MsgBox Buttons parameter contain four choices that are not supported. The unsupported options are vbMsgBoxHelpButton, vbMsgBoxRight, vbMsgBoxRtlReading, and vbMsgBoxSetForeground. No error is displayed when the MsgBox statement is run and any of these four choices is selected, but they do not perform their expected function. This behavior is the same whether they are run in the emulator or on the Pocket PC device.



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
 Open Microsoft eMbedded Visual Basic 3.0. Create a new Windows CE for the Pocket PC project. Form1 is created by default. Double-click on Form1.  Add the following code to General Declarations section: Private Sub Form_Load MsgBox &quot;test&quot; End Sub   Add a comma to the preceding code so that it looks like this: Private Sub Form_Load MsgBox &quot;test&quot;, End Sub The IntelliSense options should be displayed in a floating menu.

 Select any of the following from the IntelliSense options: vbMsgBoxHelpButton, vbMsgBoxRight, vbMsgBoxRtlReading, and vbMsgBoxSetForeground.</li> Run the code and note that none of the constants produces an error message and that they do have the intended effect.</li></ol>

Additional query words: wce evb

Keywords: kbbug kbpending KB260111

-

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

© Microsoft Corporation. All rights reserved.