Retrieve Pictures

tofuyan

Member
Joined
Mar 16, 2005
Messages
8
Programming Experience
Beginner
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?
 
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
 
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


Err....cannot work. The error show CurrentFolder is not declare. Izit must declare?
 
Back
Top