Solved

activex control not working in exe file

Posted on 1999-01-05
3
205 Views
Last Modified: 2010-05-18
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 .
0
Comment
Question by:at75
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
martinortiz earned 30 total points
ID: 1181619
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
 

Author Comment

by:at75
ID: 1181620
martinortiz:thanks for answering my question.but how do u create the script file?how to do the setup program?
thanks

0
 
LVL 1

Expert Comment

by:martinortiz
ID: 1181621
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now