-
OK... Resource Files have been a big topic of question here. There are bits and pieces all over ... if you find the right threads you can kinda put them together and understand ... sometimes.
So could we please get someone to post some kind of tutorial or explanation or something of real use?
We need a good thread on these things..
Thanks
Zevlag
-
Resource files are little file that you can create with a VB Add-In. Say you want to ship one exectutable file, but that file refers to about 3 bitmaps. You can place those bitmaps into a resource file (.res) and then import it into you VB project before you compile. All you need to do is change how the program references the bitmaps and you're sorted. One file and no extras hanging around on the hard disk. It is also usful if you don't want ppl altering those files.
You can put all sorts of things in resource file, almost anything.
Bitmaps,
Icons,
AVI,
Strings,
etc.
When you compile your program, all the icons the program uses for its forms will automatically be placed into a resource file and compiled, but if you want to add your own file you must create a new .res file using the Add-In.
If you want to examine other applications resource sections, I recommend you download ResHacker from www.nonags.com
Does everyone understand now?
-
Thanks,
OK... I think we understand what they are now and what they do.... How about how do you actually make one? Then how do you USE it? (reference/call/whatever)
Hey I am kinda stupid on this subject myself and jsut thought a good thread on it was needed here!
Easiest way to get to the Resource Hacker is here:
http://rpi.net.au/~ajohnson/resourcehacker/
Zevlag
{will an edit bring the thread ot the top?}
-
Just bringing thisto the top.
I know that there are alot of you that know about this....
-
You create them by clicking Resource File thingy on the Add-Ins menu in VB. Some ppl won't have it. I don't cos I run the cheap version. You probably need Pro or Ex to get it.