|
-
May 10th, 2001, 12:15 PM
#1
Thread Starter
Member
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-
-
May 11th, 2001, 07:20 AM
#2
Hyperactive Member
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.
-
May 17th, 2001, 06:05 AM
#3
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|