Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX component can't create object (msinet.ocx)

Status
Not open for further replies.

bao10

Programmer
Jul 23, 2002
3
CA
Hi,
I am rebuilding a new WINNT 4.0 machine, and just can't get get the app to work.

Th app used the msinet.ocx control
The bit of the code
Dim Inet1 As Object
Set Inet1 = CreateObject("InetCtls.Inet")

It failed when tried to create the object with the error message "ActiveX component can't create object"

I had a suspision that it's to do with the licensing.
I came across the utility called VB6Cli.exe, but this
require VB intalled, unfortunately I can only install VB runtime on my server machine, is there a work around ??

I have tried UnRegister and register, still no luck

Any suggestions ????

Many Thanks






 
Sounds like you are either missing the msinet.ocx file or it is somewhere that your app can't find it. Make sure it is on your machine and that it is in the folder that the app expects it to be. Thanks and Good Luck!

zemp
 
I had exactly this problem before on an NT server and zemp is correct it happened because msinet.ocx was not in the WinNT\system32 directory or in the search path.

Patrician
 
I did have msinet.ocx in winnt\system32
also tried to unregister/register the ocx with regsvr32 ..

Still getting the same error message


Cheers guys

 
check your registry it should look something like this:

[HKEY_CLASSES_ROOT\InetCtls.Inet]
@="Microsoft Internet Transfer Control, version 5.0 (SP3)"

[HKEY_CLASSES_ROOT\InetCtls.Inet\CLSID]
@="{48E59293-9880-11CF-9754-00AA00C00908}"

[HKEY_CLASSES_ROOT\InetCtls.Inet\CurVer]
@="InetCtls.Inet.1"

depending on the version you have installed.
 
Had all these entries in registry, using version 6.0 though.

I guess I'll have to rebuild the machine, hopefully this
will do the trick

Cheers

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top