hey,

i am trying to register an ocx through the IE.
1. i created a wshom.inf and it looks like that:

; Sample INF file for WSHOM.OCX
[version]
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0

[Add.Code]
WSHOM.OCX=WSHOM.OCX

; needed OCX
[wshom.ocx]
file-win32-x86=thiscab
clsid={F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}
[wshom.ocx] - FileVersion=1,1,1,1
DestDir=10
RegisterServer=yes
; end of INF file



2. i created a cab file that holds the wshom.ocx and wshom.inf

3. i wrote an html file that looks like that:
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>

<OBJECT language="vbscript" ID="WScriptObject" CLASSID="CLSID:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B" CODEBASE="wshom.cab#Version=-1,-1,-1,-1">
</OBJECT>

</BODY>
</HTML>


the problem is very simple :
IT DONT WORD !!! AND I DONT KNOW WAY .

please help me

tnx
LirLir