Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Resource files creation and manipulation in VB

Posted on 2000-03-06
3
Medium Priority
?
155 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 50 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

704 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