BUG: eVB IDE: IntelliSense for MsgBox Lists Some Unsupported Constants (260111)



The information in this article 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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open Microsoft eMbedded Visual Basic 3.0.
  2. Create a new Windows CE for the Pocket PC project. Form1 is created by default.
  3. Double-click on Form1.
  4. Add the following code to General Declarations section:
    Private Sub Form_Load()
        MsgBox "test"
    End Sub
    					
  5. Add a comma to the preceding code so that it looks like this:
    Private Sub Form_Load()
        MsgBox "test",
    End Sub
    					
    The IntelliSense options should be displayed in a floating menu.

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

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbDSupport KB260111