No pictures on Pocket PC 2003 Emulator RRS feed

  • Question

  • User1237072822 posted
    Yesterday I have starting to try some things out related to the development of Mobile Application.
    I ran into a problem I have been unable to solve so far though. When I make a PictureBox, and attach a Image to it, the image does not show when I deploy the application in the Pocket PC 2003 Emulator, that comes with VS 2005.

    I've tried loading the file using a path, but no matter what I try, I get the error that the path is incorrect.
    (This might be a different problem)
    Related to this problem, I tried many things, including placing the picture in a shared folder. It is possible to browse to the picture in the shared folder using the PDA, and load it from there. But displaying a picture in a form has failed so far.

    Hope anyone can help me. I'm out of options at the moment.
    Friday, March 3, 2006 4:11 AM

All replies

  • User1237072822 posted
    As always happens after you decide to post the problem, you find the solution.
    I had forgotten the InitializeComponent(); function in the constructor.
    I found this out when I decided to move on after I posted the problem, and saw that other controls also did not load.
    Friday, March 3, 2006 5:54 AM