Results 1 to 2 of 2

Thread: Run ActiveX from the web

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    110

    Run ActiveX from the web

    Hello,
    I've made a small (test) activex file called Projekt1.ocx.
    It's running fine from z:\test.html
    But i see a very small rectangle when i'm running it from my server ( http://10.0.0.157/test.html )
    What's the problem?

    this is the html:

    Code:
    <html>
    <head>
    <title>Downloader</title>
    </head>
    <BODY><Object classid="clsid:702D7A65-B297-4E0F-ACE7-4AB1D02F6D03" CODEBASE="http://10.0.0.157/Projekt1.ocx" ></Object></BODY>
    </html>
    this is the visual basic 6 ActiveX:

    VB Code:
    1. Private Sub VScroll1_Change()
    2. Text1.Text = VScroll1.Value
    3. End Sub
    (it has a simple textfield and scrollbar)

    *edit*:
    I figured out with a msgbox, that the z:\ is VISIBLE and the http:// isnt, but BOTH are running the (same) code: msgbox "TEST"
    Why isnt the http:// visible???
    Last edited by Wytse Talsma; Sep 26th, 2006 at 03:16 PM.

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Run ActiveX from the web

    Your first bad move is that you didn't package your control properly in a CAB file.

    I suspect the reason it isn't working though is that you have a licensing failure.

    Read Using ActiveX Controls to Automate Your Web Pages. Look at the section on licensing and LPKTool.

    You may also have problems due to the browser security level set for the zone your page is being loaded from.

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