activex control not working in exe file

i have include msflexgrid inside my program.
when i run in terminal with vc++ ,it is working.
but i run in terminal without VC++,it doesn't display.
what should i do to make it working in exe file?
what should i include in my program to make it workable in any terminal without VC++?

thank u .
at75Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
martinortizConnect With a Mentor Commented:
MSFlexgrid is an ActiveX control, it runs on your machine (with VC) because it is installed and registered on it. To use it on another machine without VC you have to have your setup program install this ocx (and I suspect others as well) and they need to registered in the system registry for that machine. You CAN NOT just copy the ocx..dll...etc...they have to registered, this is usually done with a script file, that runs regsvr32.exe (or something similiar) so the appropiate stuff is entered in the system registry.
0
 
at75Author Commented:
martinortiz:thanks for answering my question.but how do u create the script file?how to do the setup program?
thanks

0
 
martinortizCommented:
Visual Studio comes with an install program in it's package, forgot offhand what the name of it is. It will help you do what you need to do/setup in so far as the install program is concerned. (MS uses it for it's products)
0
All Courses

From novice to tech pro — start learning today.