PRB: eVB: LoadPicture Method Is Not Implemented (260884)



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

Modification Type:MajorLast Reviewed:9/4/2002
Keywords:kbDSupport kbprb KB260884