Posted by Ralph Vince on December 04, 2000 at 15:31:47:
Virtual Distributor, and the corresponding standalone applications, all make use of ActiveX componentry. The Technadraw module itself is an Activex control, called TASDraw.ocx. Typically, all ActiveX controls have the extension .ocx.
All Technasales ActiveX controls reside in the \Windows\System directory. Like all ActiveX controls, they must be, "Registered."
When someone installs a Technasales stnadalone application, the registration of any ActiveX controls occurs automatically during installation. Likewise with Virtual Ditributor web pages that are visited, registration occurs automatially.
However, there may be times you want to register or unregister an ActiveX control. To do so, follow these steps:
In your \Windows\System directory, there is a program called Regsvr32.exe. Open a DOS window, and type
CD \Windows\System
Next, from the \Windows\System directory, to register the ActiveX control, you would type:
regsvr32 \PathToControl\ControlName.ocx
Where \PathToControl is the full pathname where the ActiveX control resides on the hard drive, and ControlName.ocx is the filename of the ActiveX ocx control.
Thus, to register the TASDraw.ocx control, you would type:
regsvr32 tasdraw.ocx
Note that the pathname is not required here since the tasdraw.ocx file resides in the \Windows\System directory, which is the current active directory in the DOS window we opened up.
To UNregister a control, simply type /u as follows:
regsvr32 /u tasdraw.ocx
Will unregister the control.
One final note - to register or unregister a control, the control itself must be physically present at the location specified on the hard drive. If the control has been deleted, it cannot be registered or unregistered with this means.