Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

store exe in activex or compile exe in run time

Status
Not open for further replies.

vascobrito

Technical User
Feb 27, 2003
28
PT
Hi there
I'm buildind an activex that need's to be distributed with a small precompiled exe.
Is there any way to store the compiled file in the activex so that, i don't need to distribute two files, and the programmer that may use the activex doesn't have distribute the two files also?
Or in alternative to compile the exe file in run time, assuming that the user may not have vb or any other compiler program?
any help woul be much apreciated.
thanks
 
Ok,

my thought...
If you were to create a setupanddeploy package for your project and then distribute the package, you won't have any problems. It will end up being 3 or 4 files with a setup.exe. The nice feature of this deploy is that it will build a .cab file with all your appfiles (including referernced objects). It also takes care of registering COM objects for you, so you shouldn't need to worry about getting any "com reference/object not found" type errors.

Otherwise, you need to compile and send both files togther.Making sure to instruct your recipient to click the COM.exe first to make sure it gets registered corerctly.

My 1c


Rob
 
Thanks for your reply NoCoolHandle

You're right, i don't think i can do what i wanted.
I'll do it as you said.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top