Article ID: 141505 - Last Review: July 13, 2004 - Revision: 3.1 How To Use LoadResData with Binary DataThis article was previously published under Q141505 On This PageSUMMARY
Visual Basic 4.0 introduces a new function called LoadResData, which can be
used to retrieve binary data from a resource (.res) file. The sample in
this document demonstrates how to create a resource file and use binary
data from it in all versions of Visual Basic 4.0.
MORE INFORMATION
The following code is a resource script that can be compiled by using the 16-bit and 32-bit
versions of Rc.exe. Steps to Create a Resource File
Steps to Run the Sample Application
REFERENCES
For information on how to store any file type in a resource file and retrieve the file for
use at run-time in Visual Basic versions 5.0 and 6.0, please see the following article in
the Microsoft Knowledge Base: 194409
(http://support.microsoft.com/kb/194409/EN-US/
)
SAMPLE: RESFILE.EXE Stores Any File Type
in a Resource File
| Article Translations
|
Back to the top
