Create Visual Basic Code On The Fly From a Selected Resource
Category:Forms and Controls
Version Compatibility: Visual Basic 6, Visual Basic 5
Embed files, such as WAV, DBF, etc, into your app with this resource builder. It writes a BASIC procedure you can copy and paste right into your application for distributing resources within your EXE. This makes it easy to create external resource files on-the-fly without having to add them as a distributable external file. Example use: my eBay Advisor for sellers rings a cash register sound from a WAV file that gets created by the application when the program is first executed. I did not have to include the WAV file with my application; it just created it on-the-fly.
Instructions: Copy the declarations and code below and paste directly into your VB project.