Click to See Complete Forum and Search --> : registering .net activex control???


mamo
March 5th, 2003, 02:22 PM
I can register my .net activex control on my development machine with Visual Studio .Net installed using:

regsvr32 c:\file path\actxobj.ocx

However, if try to register the actx control on a system without Visual Studio .Net regsvr32 c:\file path\actxobj.ocx, I get a LoadLibrary error. What is required to register a .net activex control?

I have the MS .NET Framework installed.

Thx.

chaimnus
March 11th, 2003, 09:44 PM
What library is LoadLibrary complaining about?

mamo
March 12th, 2003, 12:17 PM
I have resolved the issue.

Using Dependency Walker, I found that mfcxx.dll, atlxx.dll were not on the target machine... I just copied the dlls from my dev machine to the test machine(note that MS does not recommend this). After doing this, I was able to register my activex control.

Robo_Bender
March 25th, 2003, 03:10 PM
I have been getting this same LoadLibrary() error. It cannot find a specific file.
I am using VC++ 6.0 running on 2k.

The weird thing is that my boss can register the AX control on his station, but he is using XP. I have tried to register the control on other station using both 2k and XP and it does not register. Any help will be appreciated :)

Robo_Bender
March 25th, 2003, 03:44 PM
In addition to my last post, I have read all the other posts that I can on this subject and I have attempted them and failed miserably!

I have isolated the problem to this:
I can register the control With all the methods and Events I have created (However there are no guts to them), And as soon as I make a call to access a certain .LIB file suddenly I cannot register the Control; The LoadLibrary Error "Cannot find module" appears.
Thanks