Click to See Complete Forum and Search --> : Registering OCX controls


Patrick v O
February 15th, 2000, 03:41 PM
When creating a VB app using any control, such as Sheridan combobox, how do create an exe and have it run on another computer. I know you can package and create an install, but how to just compile and create an exe, then copy and place the controls .OCX in the destination PC's windows\system folder. When running the app, it tells me that some of the controls .OCX are not properly registered. How to do that 'registering', I thought it happened automaticaly.
Any help is welcome,
Thanks,

Patrick

Kyle Burns
February 15th, 2000, 03:49 PM
You can either register the controls by creating an install program (preferred) or by running regsvr32 on the control.

Patrick v O
February 16th, 2000, 08:47 AM
Just to get a better grip on what I'm doing, I would like to understand and be able to do it without the VB setup method.

I have tried to register the control's OCX file using the following method :
REGSRV32 SSDW3BO.OCX
I keep receiving the following error msg :
Load library("C:\Windows\System\SSDW3BO.OCX") failed.
GetLastError returns : 0x0000001f.

I think that according the Sheridan documents, I have copied all needed files, but I can be wrong.

Thanks for help,

Patrick

Kyle Burns
February 16th, 2000, 09:20 AM
It might have something to do with licensing of the control.

March 4th, 2000, 02:21 AM
I have the same problem with another OCX, infact I receive the same message.
The SETUP create an unistall file in the same directory of the application. See it!
I think that the problem is in S.O. W95. Infact, I have installed my applicatiI on on a PC with a Winndows95 FAT16, while the control used for my application is for a FAT32. I don't know if is this the real problem, but i reinstall Windows for FAT32. Tell me about at fterribi@hotmail.com
Felice

March 4th, 2000, 02:23 AM
I have the same problem with another OCX, infact I receive the same message.
The SETUP create an unistall file in the same directory of the application. See it!
I think that the problem is in S.O. W95. Infact, I have installed my applicatiI on a PC with a Winndows95 FAT16, while the control used for my application is for a FAT32. I don't know if is this the real problem, but I reinstall Windows for FAT32. Tell me about at fterribi@hotmail.com
Felice

babarq
May 30th, 2000, 05:13 AM
u ppl are not specifying the right path where the dll or ocx file lies