I have a lot of sample files that get distributed with my software. They are all in a resource file .chm, txt ini and rtf files. In sub main if they do not exist on the users machine they are extracted from the resource file, so as to not overwrite the users data as once a user has entered his data they are bo longer examples.
This works good for program updates, however my latest release needs a custom ocx i have purchased. My plan is this:
store the ocx in a resource file and in sub main see if it exists and if it does not then extract it and register it using REGSVR32.EXE. Has anyone tried this?