Microsoft KB Archive/260884

From BetaArchive Wiki
Knowledge Base


Article ID: 260884

Article Last Modified on 9/4/2002



APPLIES TO

  • Microsoft eMbedded Visual Basic 3.0



This article was previously published under Q260884

SYMPTOMS

The LoadPicture method is not implemented in eMbedded Visual Basic.

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. On the Project menu, click to select Components. Select Microsoft CE Image Control, and then click OK.
  4. Add a CommandButton and an Image control to Form1.
  5. Paste the following code into Form1:

    Private Sub Command1_Click()
        ImageCtl1.Picture = LoadPicture()
    End Sub
                        
  6. Run the application and target either emulation or the remote device.
  7. Click the CommandButton, and note that the following error message appears:

    An error was encountered while running this program: Type mismatch: '[undefined]'



Additional query words: eVB wce undefined [undefined]

Keywords: kbprb KB260884