T tofuyan Member Joined Mar 16, 2005 Messages 8 Programming Experience Beginner Mar 29, 2005 #1 i know that in window application to retrieve picture is the methods shown below Code: PictureBox1.Image = Image.FromFile(CurDir() + "\pic\1.gif") But can i know what is the other method for smart devices?
i know that in window application to retrieve picture is the methods shown below Code: PictureBox1.Image = Image.FromFile(CurDir() + "\pic\1.gif") But can i know what is the other method for smart devices?
E eagle Active member Joined Mar 8, 2005 Messages 28 Programming Experience 1-3 Mar 29, 2005 #2 smart device for smart devices, you do it like this pic.Image = New System.Drawing.Bitmap(CurrentFolder & "\general.jpg") this should do it. Greetz Eagle Upvote 0 Downvote
smart device for smart devices, you do it like this pic.Image = New System.Drawing.Bitmap(CurrentFolder & "\general.jpg") this should do it. Greetz Eagle
T tofuyan Member Joined Mar 16, 2005 Messages 8 Programming Experience Beginner Mar 29, 2005 #3 eagle said: for smart devices, you do it like this pic.Image = New System.Drawing.Bitmap(CurrentFolder & "\general.jpg") this should do it. Greetz Eagle Click to expand... Err....cannot work. The error show CurrentFolder is not declare. Izit must declare? Upvote 0 Downvote
eagle said: for smart devices, you do it like this pic.Image = New System.Drawing.Bitmap(CurrentFolder & "\general.jpg") this should do it. Greetz Eagle Click to expand... Err....cannot work. The error show CurrentFolder is not declare. Izit must declare?
T tofuyan Member Joined Mar 16, 2005 Messages 8 Programming Experience Beginner Mar 29, 2005 #4 Problem Solved Thank! Upvote 0 Downvote