|
-
Sep 26th, 2000, 07:33 AM
#1
Thread Starter
Junior Member
How do I access gif / jpeg files with the resource file ? Is there a better way of storing files together than the resouce file ?
also is it possible to dimention a listbox without adding the control to a form ? e.g. use in in a module ?
Thanks
-
Sep 28th, 2000, 02:38 AM
#2
Frenzied Member
for a good example of using JPEGs in res files
download resfile.exe from
http://support.microsoft.com/support.../Q194/4/09.ASP
this example doesn't explain how to make the res file itself though
you can use the resource editor addin through VB6 but I just do it manually like this:
resource.rc
Code:
101 Custom yourfile.jpg
102 Custom anotherfile.gif
compile the .rc file using rc.exe (should be somewhere with vb!)
and then add the .res file to your project
-
Sep 28th, 2000, 05:13 AM
#3
Thread Starter
Junior Member
Are there any better resource editors ? The Addin doesnt show the picture, is the source code for the addin avaiable ? also if the res file is compiled with the exe, wouldnt it take alot longer 2 load up ?
-
Sep 28th, 2000, 05:31 AM
#4
Frenzied Member
Are there any better resource editors ? The Addin doesnt show the picture, is the source code for the addin
avaiable ?
I don't know. I've never used it.
Write your own! 
also if the res file is compiled with the exe, wouldnt it take alot longer 2 load up ?
No I don't think so. That's the whole point in resouce files, resources aren't loaded into memory until required
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
|