|
-
Jun 11th, 2000, 07:24 AM
#4
PowerPoster
Are you using VB6.0?
You need to load the Reasource File Editor at the begining when you load your VB IDE. This can be done with the following step:
- Goto Add-ins|Add-In Manager.
- Select the VB 6 Resource Editor.
- Check the Loaded/Unloaded CheckBox.
- Check the Load On Startup.
After this few step, you will be able to see the Resource Editor Icon in you toolbar.
Hence, To add image into the resource editor just do the following few step:
- Load the resource Editor.
- Add a new image by click on the Add bitmap icon.
- Select your desire bitmap image file, the editor will adutomatic assign a ID for the image (E.g. 101)
- Save the resource file in your project folder.
- Add the resource file into your project. Right Click your mouse in the Project Browser Window and chose Add|Add File. Just point to your resource file and click OK.
At this stage, all you need is to load the image by using the Picture1.Picture = LoadResPicture (101,vbResBitmap)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|