|
-
Aug 29th, 2007, 04:24 PM
#4
Re: Can a picturebox....
Take a look at the "Resource File Tutorial" in my signature for the basics. If you're storing jpegs, you need to add them as "Custom" resources. Unfortunately, you can't use "LoadResPicture" with jpegs, so they have to be extracted to (temporary) files (with LoadResData), then loaded into the picturebox (See gavio's code above). Once loaded, the (temporary) file can be deleted.
It's annoying, but MSDN had an article, with code, that showed exactly how to do this, but I can't find it now . Looks like it'll have to be done the hard way - not that it's actually hard.
 Originally Posted by bubblegum_girl
Sorry I sound thick 
It's all relative. I'd no doubt sound thick to the Prime Minister, but he'd be a numpty at driving a bus.
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
|