View Poll Results: Do you know what a resource file is?

Voters
9. You may not vote on this poll
  • Yes. I know what they are.

    1 11.11%
  • Yes. I know how to use them properly.

    4 44.44%
  • No. I don't understand them.

    2 22.22%
  • What are you talking about?!?

    2 22.22%
Results 1 to 5 of 5

Thread: Resource Files Explained

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    Utah, USA
    Posts
    121

    Cool

    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
    Last edited by Zevlag; Apr 21st, 2001 at 10:38 PM.

  2. #2
    ricmitch_uk
    Guest
    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?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    Utah, USA
    Posts
    121
    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?}
    Last edited by Zevlag; Apr 23rd, 2001 at 11:55 AM.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    Utah, USA
    Posts
    121
    Just bringing thisto the top.
    I know that there are alot of you that know about this....

  5. #5
    ricmitch_uk
    Guest
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width