Results 1 to 2 of 2

Thread: ActiveX DLL

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Posts
    30

    Post

    I've heard that It's possilbe to use an ActiveX DLL on webpages. If it's true; how do you do that?

  2. #2
    New Member
    Join Date
    May 1999
    Location
    New York
    Posts
    3

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width