.ocx download ??
I have made an ActiveX component that i wish to lay out on my website, but how do i make the user download and register my .ocx file so the he/she can see my project ??
Thanks in advance :)
Printable View
.ocx download ??
I have made an ActiveX component that i wish to lay out on my website, but how do i make the user download and register my .ocx file so the he/she can see my project ??
Thanks in advance :)
Hi, you have to use the object tag
Check this example :
<OBJECT ID="MyControl"
CLASSID="CLSID:E83463E6-2107-4947-AEB8-C47A0C034AEF"
CODEBASE="../cab/MyControl.CAB#version=1,0,0,0">
<PARAM NAME="_ExtentX" VALUE="4200">
<PARAM NAME="_ExtentY" VALUE="1500">
</OBJECT>
The CLASSID is the key in the registry of the web server where the activex is registered, and CODEBASE y where is the CAB file with the activex and the others files needed to install it.
See you
lol, I find it amusing that it took 14 months for a reply. Do you reckon he was still trying to figure it out :bigyello:
GaZ
wow? too late.......:rolleyes: :rolleyes: :rolleyes:
It's even more amusing that someone else has this question now. :)
yeap lol :D
... does this mean "will the ocx download work if activeX controls are disabled in my browser" ?Quote:
is the codes works????
If so, why dont you just try it out? :P
GaZ
Has anyone tried this? I am going to try this tonight, but any advice on pushing an ActiveX control down from the server will be appreciated.
Just have your CAB files in place, and you should be fine. If there's licensing involved, you'll need to generate an LPK file
hehe, how'd you dig this old thing up ? :)
LOL ya 12 months later hehe... I was serarching for info on the OBJECT tag I think and this came up.Quote:
Originally posted by vbNeo
hehe, how'd you dig this old thing up ? :)
Actually the original post was over 2 yrs ago!
Wha?Quote:
Originally posted by mendhak
Just have your CAB files in place, and you should be fine. If there's licensing involved, you'll need to generate an LPK file
Where do the CAB files go - on the server somewhere? And what's a LPK file?
Thanks!
Yes. Like, in the same directory as your HTML file. You'd specify the path to the cab files in the CODEBASE attribute.
The LPK file is used in case you're using a control that requires licensing. You can ignore it if you don't use it. Just forget I ever said that. :p
Said what?Quote:
Originally posted by mendhak
Just forget I ever said that. :p
:D
What is a good utility to put my binaries in a .CAB file?Quote:
Originally posted by mendhak
Yes. Like, in the same directory as your HTML file. You'd specify the path to the cab files in the CODEBASE attribute.
...if your control only requires the .ocx file you could have the codebase specify the ocx file only...
cjqp
Package and deployment wizard. :lol:Quote:
Originally posted by Dave Sell
What is a good utility to put my binaries in a .CAB file?