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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

registering ocx

Status
Not open for further replies.

lovekang

Programmer
Feb 16, 2006
86
0
0
KR
I'm a IIS administrator.

I have the someviewer.cab component that should be registered in the client browser.
The component is composed of 4 files, someview.ocx, a.dll, b.dll and d.dll.

When the client installs the activeX component through the IE, IE says;
do you install this software?
someviewer.cab
publisher : some publisher

Yes the client does, so click OK, and things are going fine.

the component is located in the "\windows\downloaded program files" folder.

but some clients complain that they cannot install the component the way above for some reasons. that I don't know.

So I think the client can install the cab file at OS level.

To do that, "regsvr32.exe" is the key, isn't it?

I extract the someview.cab to the one folder say "c:/test/".
and do "c:/test/regsvr32 someview.ocx".

Windows says, "DllRegisterServer of someview.ocx is Successful".
but in my view, nothing changed.
No components in "\windows\downloaded program files".
and can't see the object in IE, just red cross mark there.

How can I register the component through OS(Windows xp).

Thanks.
 
Have you tried placing the extracted OCX file in the \windows\downloaded program files" folder and THEN registering it?

Alternately you could place the extracted file in
..\windows\system32 and register it.

-- Jason
"It's Just Ones and Zeros
 
the first option won't work.
you cannot OS copy directly to the "\windows\downloaded program files" folder.

the second one works ok.
when I "regsvr32 OOo_Ocx" what happens from the Windows point of view?

Thanks.
 
it gets registered in the folder that the ocx is located, which can be a problem if there is another one in the system32 folder.

-David
2006 Microsoft Valueable Professional (MVP)
2006 Dell Certified System Professional (CSP)
 
dglienna.

what do you mean by "getting registered"?

is that mean the information is in the windows registry?

how can I check some ocx I registered(!) is registered other than the success dialog box the Widnows give.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top