I'd like to know how to embed button images into the exe (images
that are not on the form). What I want to do is change the
button image to a different color (from the original image color
on the form) This toggeling of colors indicates a change in the
state of code.
IE. change openport button image from red (original
color on form) to green & vise-versa for close port.
I'm using this to indicate the port is open when button is green.
closeport.Image="r60w35.jpg"
openport.Image="g60w35.jpg"
Problem is, this works fine on the IDE but when I compile for
device and run, I get errors "xxxxx.jpg" not found \storage card\xxxxx.jpg.
I receive this error for all button image files not on the form.
I searched the forum and found ImageList, so I added the ImageList
control to the form and listed the missing files, but I still get the errors,
the are not getting embeded into the exe.
I even tried to add buttons (unchecked visable) to the form using
the missing files, thinking this would force the images to get embeded
to the exe. Still no joy.
What am I doing wrong ?
that are not on the form). What I want to do is change the
button image to a different color (from the original image color
on the form) This toggeling of colors indicates a change in the
state of code.
IE. change openport button image from red (original
color on form) to green & vise-versa for close port.
I'm using this to indicate the port is open when button is green.
closeport.Image="r60w35.jpg"
openport.Image="g60w35.jpg"
Problem is, this works fine on the IDE but when I compile for
device and run, I get errors "xxxxx.jpg" not found \storage card\xxxxx.jpg.
I receive this error for all button image files not on the form.
I searched the forum and found ImageList, so I added the ImageList
control to the form and listed the missing files, but I still get the errors,
the are not getting embeded into the exe.
I even tried to add buttons (unchecked visable) to the form using
the missing files, thinking this would force the images to get embeded
to the exe. Still no joy.
What am I doing wrong ?