?
Solved

How do you embed pictures, icons, etc into the program as one file?

Posted on 2000-03-03
1
Medium Priority
?
203 Views
Last Modified: 2010-05-02
I want one(1) executeable program such as exprog.exe which will contain all the images and text data without the use of external text and image files.  I want to embed all the data necessary for the program into the EXE file.  

Ex.  If you run EXPROG.EXE in any directory on any computer, the program will execute correctly without searching for other external files.  Everything the program needs i.e. images, icons, sound files are already embedded in the EXE file.

0
Comment
Question by:steveyi2000
[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
1 Comment
 
LVL 3

Accepted Solution

by:
paulstamp earned 120 total points
ID: 2580494
Resource Files are exactly what you are looking for.

VB6 (and 5 I think) come with a resource file editor add-in to allow you to store bitmaps, icons and text, which then get compiled into the EXE.

You reference your resources within the file using LoadResString, LoadResPicture etc.

This should sort you out.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

770 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