Title: | Microsoft Visual Basic |
Moderator: | TAMARA::DFEDOR::fedor |
Created: | Thu May 02 1991 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2565 |
Total number of notes: | 10453 |
(First-time VB user, and help doesn't work on VB5 on Alpha, so...) I used the Application Wizard to create an application with a resource file. The resource file appears in the tree of things in the application, but I can't edit it. I've tried double clicking and right clicking, but no go. How do I edit resources in VB5? PJDM
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2514.1 | ELIS::TOWERS | Tue Mar 11 1997 02:47 | 8 | ||
If VB5 is like VB4 then you need a copy of the MSDN or MSVC++ to get hold of the resource compiler (rc.exe, I think). You then create a file using a standard text editor called mumble.rc and compile it using the resource compiler to get mumble.res. The format for the rc file is documented in the MSDN and probably the SDK. Cheers, Brian | |||||
2514.2 | Use VC++ graphical resource editor | XSTACY::imladris.ilo.dec.com::grainne | Grainne Ni Choiligh | Thu Mar 13 1997 16:14 | 16 |
I'm not (much of) a VB programmer, but if you really need to go to the trouble of getting a copy of VC++ for the resource compiler, you should also be able to use the Visual C++ common IDE, MSDEV (as in common to VC++, VJ++, MSDN etc.) to graphically create your resource file. This avoids the need to understand the resource file format. From within MSDEV, you'd do File-->New, select 'Resource Script' to create your empty resource file, then Insert-->Resource and select your resource type (string table, icon, toolbar, whatever.) When you finish editing resources you'd save the resource script as mumble.rc. Any 'loose' resources such as icons and bitmaps are saved as separate files referenced by mumble.rc | |||||
2514.3 | Built-in? | MRSERV::PETERS | Tue Mar 18 1997 10:54 | 8 | |
While I don't have the details on VB5, I thought I read somewhere that VB5 had a resource editor built in. But I just looked thru all the VB5 docs Microsoft has released on VB5 and didn't see this listed. Guess we'll have to wait a few days to see for sure. Don |