Solved

Resource files creation and manipulation in VB

Posted on 2000-03-06
3
150 Views
Last Modified: 2010-05-02

How resource files are used in Software development in VB projects.  How to create and manipulate the resource file in VB? Please explain the purpose of Resource files..
0
Comment
Question by:SRIVB
3 Comments
 
LVL 1

Expert Comment

by:NancyShah
ID: 2593674
A resource file allows you to collect all of the version-specific text and bitmaps for an application in one place. This can include icons, screen text, and other material that may change between localized versions or between revisions or specific configurations.

Go thro the msdn help for Resource file

0
 

Author Comment

by:SRIVB
ID: 2594768
Thank you Nancy, but i need more help for creating and manipulating resource files.  Please give step by step procedure and code for that.

0
 

Accepted Solution

by:
mbah022100 earned 25 total points
ID: 2628030
Resources are the things that Nancy listed. Take for example Icons to use for the mouse. You have to draw a icon you want to use. Now you have to start the resource editor (I hope you'll have one installed) and add the icon to the resources for your project and give it a good name.

Now if you want to switch between cursors for the mouse all you have to code is for example:

picPage.MouseIcon = LoadResPicture("curUp", vbResCursor)

The advantage is that the icons etc are included into your exeutable. so you don't have to distribute all kinds of seperate files you want to use within your apllication (with the chnage that the user distroys them). Its a clean way of adding resources to your project.

Hope this will anwes the question.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSRS expression Issue finding a string 10 79
Zip Folders Using Chilkat Routines 1 40
Send outlook email from VBS Script 2 30
VBA - If Bookmark = "XXBOOKMARKXX" then 15 28
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question