Re: pictureBox problem
From: Peter Foot [MVP] (feedback_at_no-spam.inthehand.com)
Date: 10/21/04
- Next message: deshetty: "Multiple forms"
- Previous message: Ken: "Re: eVB reboots XP"
- In reply to: Eric: "pictureBox problem"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 15:18:30 +0100
On Windows CE there is no concept of current directory, so you paths must be
specified in full for example:-
pictureBox1.Image=new Bitmap(\\Program Files\\MyApp\\MMS.jpg);
Peter
-- Peter Foot Windows Embedded MVP www.inthehand.com | www.opennetcf.org Do have an opinion on the effectiveness of Microsoft Windows Mobile and Embedded newsgroups? Let us know! https://www.windowsembeddedeval.com/community/newsgroups "Eric" <Eric@discussions.microsoft.com> wrote in message news:3B615A73-986A-4E6E-8FEB-8C31BC27E737@microsoft.com... >I want to show a pic using pictureBox in my app. > I use the following code: > pictureBox1.Image=new Bitmap("MMS.jpg"); > > It works fine when running on my PC. But it fails when running my app > "client.exe" on my pocket pc.(MMS.jpg and client.exe are under the same > directory) > > Any help would be greatly appreciated. > Thanks
- Next message: deshetty: "Multiple forms"
- Previous message: Ken: "Re: eVB reboots XP"
- In reply to: Eric: "pictureBox problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|