|
-
July 25th, 2000, 12:02 PM
#1
SavePicture errors!?!
I am trying to use the savepicture statement to save a picture to file but vb is giving me and invalid property value error. Does anyone have any clues as to why this would happen??? Here is the line of code....
SavePicture LiMbobtn(i).Picture, "Test.bmp"
I dont know why it isnt working. Thank you.
FaRd0wN
-
July 25th, 2000, 05:27 PM
#2
Re: SavePicture errors!?!
You would get that error if the format of the "Picture" handle was invalid (Zero) , i.e. Empty.
You could check the Picture handle first, i.e.If LiMbobtn(i).Picture then SavePicture LiMbobtn(i).Picture, "Test.bmp"
Alternatively always save the "Image" instead, i.e.SavePicture LiMbobtn(i).Image, "Test.bmp"
Aaron Young
Analyst Programmer
[email protected]
Certified AllExperts Expert: http://www.allexperts.com/displayExp...p?Expert=11884
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|