Solved

Dll's

Posted on 1998-08-26
3
180 Views
Last Modified: 2010-04-30
Is there a way to make files like .dll's that can store a number of pictures or sounds for your program?  
0
Comment
Question by:bradsoblesky
[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
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 60 total points
ID: 1431223
Dll's are not exactly meant for this purpose, but yes, you can create a dll with a form in it, put some pictures on the form, and create a procedure that will return reference to the picture. Even better, put the pictures and the sounds inside a resource file, and put it in the dll, or eveb better directly into the EXE
0
 

Author Comment

by:bradsoblesky
ID: 1431224
How do you put it into an exe or dll exactly?
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1431225
First you must create a resource file (.RES). IF you have Visual C++ or Visual J++, you have the resource editor built in. If not, go to www.shareware.com and search for 'Resource Editor'. After you build the resource file, you simple add it to your project, and it's being compiled into the .EXE
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

740 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