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), with 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 lowest 
(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) security, the following 
message is sent:

�Some software (ActiveX controls) on this page might be unsafe. It is recommended 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 using 
(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 sign 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 should 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?sidebarRsts

Reply via email to