Solved

activex control not working in exe file

Posted on 1999-01-05
3
211 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IdTelnet1DataAvailable handler freezes the Application 4 93
How to gracefully close the c++ 11 thread? 3 123
max float value 3 59
How do i run a c++ file? 15 52
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

733 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