Results 1 to 3 of 3

Thread: publishing an ActiveX-Document on the web

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2000
    Posts
    51

    Unhappy publishing an ActiveX-Document on the web

    Help!

    I've created an ActiveX-Document I want to publish
    on the Web. On running the ActiveX-Doc directly from vb,
    the Doc appears in the InternetExplorer and everything
    is all right.

    Then I've tried to publish my ActiveX-Document with
    the PDW on a Web-page. The PDW creates three files:
    *.cab, *.htm and *.vbd. I've published these files
    via ftp to the web.

    The *.htm-file contains a link to the *.vbd-file.
    On klicking this link, the download-dialog appears.
    Now there are two possibilities:
    Donloading the file (1)
    Running the file directly (2)

    (1) will download the *.vbd-file on my Computer,
    but on running the *.vbd-file the download-dialog
    appears again.

    (2) Running the *.vbd-file directly opens the
    'run-with'-dialog, where I can select the
    Internet-Explorer. This starts the download-dialog again.

    What am I doing wrong??

    Regards, Quix
    -puzzled-

  2. #2
    Hyperactive Member Dorothy's Avatar
    Join Date
    Feb 2001
    Posts
    310

    Question

    I do Have the same problem. If I get the solution I'll post it in this forum with the subject titled "Quix".

    Hope the same from you too.

  3. #3
    Lively Member
    Join Date
    May 2001
    Location
    Falkenberg, Sweden
    Posts
    76
    Hi, I hade the same problems as you, but i solved it by using a frameset, like this:
    Code:
    <HTML>
    <OBJECT ID="frmLoan"
    CLASSID="CLSID:00000000-0000-0000-0000-000000000000"
    CODEBASE="file.cab">
    </OBJECT>
    
    <SCRIPT LANGUAGE="VBScript">
    Sub Window_OnLoad
    	Document.Open
    	Document.Write "<FRAMESET>"
    	Document.Write "<FRAME SRC=""file.vbd"">"
    	Document.Write "</FRAMESET>"
    	Document.Close
    End Sub
    </SCRIPT>
    </HTML>
    You also must change your security so the browser is allowed to run, download, initialize etc. activeX-controls.

    Dont forget to change the CLSID and the "codebase"-cabfile, which is the actual file that installs the application on the client.
    ________________________
    Fredrik Klarqvist

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