|
-
Jul 26th, 2005, 08:44 PM
#1
Lively Member
Re: OCX inside EXE
 Originally Posted by randem
I_Love_My_Vans,
Your best option is to create a setup program with everything you need in that. Look in the Application Deployment Forum or check my signature for Inno Setup and ********** to help you do this.
Hello every one..
If he don't want to use a setup program but to put OCX files inside an EXE do this:
First go to this link: http://www.bitarts.com/download.htm
and download the Fusion program..
then open visual basic and make a Invisibe form and then compile the project into an EXE file..
and then Open Fusion and select the EXE that you just compiled and put with it the OCX files that you want and then compile it into a new EXE (but of corse you have to know how to use Fusion)..
Now you have a program with this name : Bitarts_Evoluation.exe or something like that...When you execute this program the OCX files will be extract to the system directory and registered..
But if you change the Name: Bitart_Evoluation.exe to something else it will not work (Cause the Fusion that you downloaded is a Trial)..
(Sorry for my bad english )
OK..So far you have a EXE called: Bitrats_Evoluation.exe that when you executed it extract the ocx that you are using in your main program to the system direcory..
Ok now open the project that you are using the OCX files in it..and make a Splash Screen without any ocx controls!!!!!!!!!!!!!!!!
and then make a resource file and put in it the Bitarts_Evoluation.exe and put in the form Load this code:
'Extract the Bitarts_Evoluaton.exe to some dir that the user can't see
'Unload me
'MainForm.show
and when the main for showed do this in the form load:
'Killprocess "Bitarts_Evoluation.exe'
'Kill "The File path"
Note: Will somebody please translate what i said into a Real english
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|