Solved

activex control not working in exe file

Posted on 1999-01-05
3
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

729 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