Kbase 16923: ACTIVEX - Possible Deployment Problems
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
INTRODUCTION:
=============
This knowledgebase describes the possible problems you may run in to
when deploying a Progress application which uses ActiveX (OCX)
controls.
WHY YOU NEED TO KNOW THIS:
===========================
You need to know this so that you can systematically walk thru each
possible resolution for a particular problem and (hopefully) resolve
the problem.
POSSIBLE PROBLEMS:
==================
1) You created and compiled your application using the 8.2A Beta
software and are attempting to deploy it to clients who are
running the 8.2A commercial software. You are receiving an error
message from the control indicating that you are not licensed
to use the control in a "development" or "design" mode.
If this is the case, you must walk thru the following steps in
attempting to resolve the problem (you can stop walking thru the
steps once the problem goes away):
A) Read the documentation from the manufacturer of the ActiveX
(OCX) control and verify that you have installed the control
on the client machine(s) properly. In particular, the
control may require you to copy certain manufacturer specified
DLL's to each client in order for the control to work
properly.
B) Make certain that the ActiveX (OCX) control is properly
registered in the System Registry by changing to the
directory where the control is installed and running the
following command:
REGSVR32 <OCX-FileNameGoesHere>
C) Purchase the 8.2A commercial software, recompile your code
and redeploy the newly compiled code to your client.
D) For each source program which uses an ActiveX (OCX) control
which is not working you need to delete the control from the
source program and re-add it. Please note that you will have
to reattach any code that was tied to the old control. Once
this is done, recompile your code and redeploy the newly
compiled code to your client.
2) You created your application using the 8.2A Beta software,
recompiled the application using the 8.2A commercial software and
are attempting to deploy it to clients who are running the 8.2A
commercial software. You are receiving an error message from
the control indicating that you are not licensed to use the
control in a "development" or "design" mode.
If this is the case, you must walk thru the following steps in
attempting to resolve the problem (you can stop walking thru the
steps once the problem goes away):
A) Read the documentation from the manufacturer of the ActiveX
(OCX) control and verify that you have installed the control
on the client machine(s) properly. In particular, the
control may require you to copy certain manufacturer specified
DLL's to each client in order for the control to work
properly.
B) Make certain that the ActiveX (OCX) control is properly
registered in the System Registry by changing to the
directory where the control is installed and running the
following command:
REGSVR32 <OCX-FileNameGoesHere>
C) For each source program which uses an ActiveX (OCX) control
which is not working you need to delete the control from the
source program and re-add it. Please note that you will have
to reattach any code that was tied to the old control. Once
this is done, recompile your code and redeploy the newly
compiled code to your client.