If this doc is on a share that all the users PCs have access to, what
is wrong with just using HTML for this?
eg
<a href="file://c:/test.doc>
Then when clicked on, Word will open within the browser.
-----
Douglas Knudsen
Leveraged Technologies Group
Alltel AIS
678-351-6063
Got Linux? http://linuxmall.com
From: [EMAIL PROTECTED] AT INTERNET on 03/30/2001 11:15 AM
To: [EMAIL PROTECTED] AT INTERNET@CCMAIL
cc: (bcc: Douglas Knudsen/ATL/ALLTELCORP)
Subject: OT: VBScript, Do you want to allow it to run?
VB Script / ActiveX question:
We are utilizing a VB Script we got from the MSDN Library to launch
Word on the
Client computer (this is an intranet project only � all computers
equipped), wit
h a document, in a directory we�ve mapped to all workstations.
The problem is that unless the security setting form the browser is
set to the l
owest (not a legitimate solution, internal browsers have access to the
Internet)
, the script just throws an error. If the browser is set to the lowest
(no) secu
rity, the following message is sent:
�Some software (ActiveX controls) on this page might be unsafe. It is
recommende
d that you do not run it. Do you want to allow it to run?�
My question is � is there a way to launch word other that the process
we are usi
ng (that also doesn�t have this problem), or failing that, is there a
way to use
this script without having to go through the process of having to
digitally sig
n the code ($400 / year for just this � it looks like they�ll have no
other use
of the certificate)?
Arrgh. This is a showstopper if I cannot find a work around. The
certificate sho
uld be the last-measure-response.
Thank you for your time,
Stephen R. Cassady
[EMAIL PROTECTED]
TallyList: http://www.tallylist.com
Ububik: http://www.ububik.com
<script language="VBScript" type="text/vbscript">
Dim objWord
Sub Btn1_onclick()
call OpenDoc("c:/test.doc")
End Sub
Sub OpenDoc(strLocation)
Set objWord = CreateObject("Word.Application")
objWord.Visible = true
objWord.Documents.Open strLocation
End Sub
</SCRIPT>
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar�sts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists