RE: VBScript, Do you want to allow it to run?
For Intranet applications I usually set the security to a custom level for local intranet or if users are accessing the site from outside, the putting the site in the trusted sites and setting the appropriate security level. Hope that helps. Chris Christopher P. Maher Maher Associates, Inc. Actuarial and Computer Consulting [EMAIL PROTECTED] http://www.maherassociates.com > -Original Message- > From: cassady [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 30, 2001 11:15 AM > To: CF-Talk > 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), with a document, in a directory > weve 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 doesnt 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 theyll 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. > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: VBScript, Do you want to allow it to run?
This answer may be so simple that I assume I'm missing something, but why not just allow them to open the word document via their browser directly - using a URL that points to the word document? Bob -Original Message- From: cassady [mailto:[EMAIL PROTECTED]] Sent: March 30, 2001 11:15 AM To: CF-Talk 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), with a document, in a directory weve 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 doesnt 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 theyll 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 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: VBScript, Do you want to allow it to run?
> 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. You should be able to add the intranet site to the list of "Trusted Sites" in IE on the target computers, then configure the security settings for trusted sites to allow what you need. That won't affect the security settings used when connecting to public Internet sites. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: VBScript, Do you want to allow it to run?
If everyone is using IE5.x you can deliver the script via the hta extension. Heres the docs. http://msdn.microsoft.com/workshop/author/hta/overview/htaoverview.asp - Original Message - From: "cassady " <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, March 30, 2001 10:15 AM 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), 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 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: VBScript, Do you want to allow it to run
That's what we were doing, but the users need the full functionality of Word, and they need to be able to save the document back. Sure, they could upload it - but the steps are huge. Instead we've created a drive that every workstation maps to under the same drive letter. Then, as Word launches, they can just "save" and the document is stored right back. They choose the document from a list generated through the browser, but the manpulation and saving of the file is easier directly through word than through a browser. Stephen. PS - thanks to EVERYONE for the quick response on this, and the approach to "use the IE Security Panel to add your site to the Intranet list. You'll need to choose Security -> Select Local Intranet -> Click the Sites Button and then advanced button. Add the address of your local Intranet Site, then change the security settings to allow unsigned activeX controls in the Intranet only. >This answer may be so simple that I assume >I'm missing something, but why not just allow >them to open the word document via their browser >directly - using a URL that points to the word >document? >Bob Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists