Click to See Complete Forum and Search --> : Resource Editor


comart
March 13th, 2001, 12:06 PM
Has anyone used the resource editor? Do you know where I can find information about using it? Is it useful?

Clearcode
March 13th, 2001, 12:35 PM
The standard resource editor that comes with VC++ and/or visual studio is perfectly OK for creating .RES files.

After compilation you use the RC.EXE program to compile the resources into your Exe.

The Visual basic help says:
Storing bitmaps, icons, or cursors in and accessing them from resource files improves load time because you can load them individually as needed from the resource file, rather than all at once when a Form is loaded.

and for once, it's right.

HTH,
Duncan

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com

John G Duffy
March 13th, 2001, 12:39 PM
The Resource Editor is very useful for storing graphics and Text files that you do not want your users to play around with. The files are stored in the Resource repository at design time and retrieved at run time. It is a READ-ONLY repositiry. It is relatively simple to use once you get started.
Look in MSDN Help for the LoadResPicture, LoadResData and LoadResString Functions" to extract objects from the Resource file.
To find the Resource Editor, go to Addins / ADD IN Manager and load the VB x Resource editor. It has buttons that allow you to Browse and select the Items you want to load into the .res file

John G