PDA

Click to See Complete Forum and Search --> : ActiveX DLL


DrBrain
Jul 20th, 1999, 07:53 PM
I've heard that It's possilbe to use an ActiveX DLL on webpages. If it's true; how do you do that?

Lance
Jul 21st, 1999, 04:05 AM
Well, im not totally sure, but i think you use it as an "active-x" control object on a web page. Example:

<.Script Language="VBScript">
<.!--

Sub mnuView_Select(item)
Select Case item
Case 1
top.Location = "http://www.coffeecup.com"
Case 2
top.Location = "http://www.download.com"
Case 3
top.Location = "http://www.microsoft.com"
Case 4
top.Location = "http://www.netscape.com"
End Select
End Sub

.--><./script>

<.p align="center">
<.object id="mnuView" classid="CLSID:52DFAE60-CEBF-11CF-A3A9-00A0C9034920" codebase="http://activex.microsoft.com/controls/iexplorer/btnmenu.ocx#Version=4,70,0,1161" align="baseline" border="0" width="100" height="27">
<.paramname="_ExtentX" value="3334">
<.param name="_ExtentY" value="714">
<.param name="Caption" value="Pick a site ! ">
<.param name="Menuitem[0]" value="CoffeeCup Software">
<.param name="Menuitem[1]" value="Download.com">
<.param name="Menuitem[2]" value="Microsoft">
<.param name="Menuitem[3]" value="Netscape"><./object><./p>

This will add a cool drop-down menu to your site. It uses an Active-X control from Microsoft's site. In the same way, u should be able to use your a-x control. Just remove the periods from the code above...i wasn't sure if the web board would block the HTML.

Hope that helped.

-Lance