BKURUVALLI
Programmer
HI,
I have created an ActiveX control using MFC in Visual Studio .NET. I have also created a cab file with the required dlls (mfc70.dll,msvcrt.dll and olepro32.dll) and the inf file. The contents of the inf file are below. I have placed the cab file on iplanet server on unix and amm trying to access the page. The page loads without any errors if I do it from the workstation I used to build this activex control. Butwhen I try to access the webpage from any of the other clients machines, I get an error "object doesn't support this property or method" . Am I missing something here. How do I register the activex on the client machine through the web page?
Thx,
Bharath.
; Sample INF file for activeXTest.ocx
[version]
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
activeXTest.ocx=activeXTest.ocx
mfc42.dll=mfc42.dll
msvcrt.dll=msvcrt.dll
olepro32.dll=olepro32.dll
[activeXTest.ocx]
file-win32-x86=thiscab
clsid={3692F6FF-3E04-4B7C-9412-8382DFCAF0DC}
FileVersion=1,0,0,001
RegisterServer=yes
; needed DLL
[mfc42.dll]
file-win32-x86=thiscab
FileVersion=6,00,0,9586
DestDir=11
RegisterServer=yes
; needed DLL
[msvcrt.dll]
file-win32-x86=thiscab
FileVersion=6,01,0,9844
DestDir=11
RegisterServer=yes
; needed DLL
[olepro32.dll]
file-win32-x86=thiscab
FileVersion=5,00,0,4522
DestDir=11
RegisterServer=yes
; end of INF file
I have created an ActiveX control using MFC in Visual Studio .NET. I have also created a cab file with the required dlls (mfc70.dll,msvcrt.dll and olepro32.dll) and the inf file. The contents of the inf file are below. I have placed the cab file on iplanet server on unix and amm trying to access the page. The page loads without any errors if I do it from the workstation I used to build this activex control. Butwhen I try to access the webpage from any of the other clients machines, I get an error "object doesn't support this property or method" . Am I missing something here. How do I register the activex on the client machine through the web page?
Thx,
Bharath.
; Sample INF file for activeXTest.ocx
[version]
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
activeXTest.ocx=activeXTest.ocx
mfc42.dll=mfc42.dll
msvcrt.dll=msvcrt.dll
olepro32.dll=olepro32.dll
[activeXTest.ocx]
file-win32-x86=thiscab
clsid={3692F6FF-3E04-4B7C-9412-8382DFCAF0DC}
FileVersion=1,0,0,001
RegisterServer=yes
; needed DLL
[mfc42.dll]
file-win32-x86=thiscab
FileVersion=6,00,0,9586
DestDir=11
RegisterServer=yes
; needed DLL
[msvcrt.dll]
file-win32-x86=thiscab
FileVersion=6,01,0,9844
DestDir=11
RegisterServer=yes
; needed DLL
[olepro32.dll]
file-win32-x86=thiscab
FileVersion=5,00,0,4522
DestDir=11
RegisterServer=yes
; end of INF file