![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | start word, excel from script Hi, I'm using a script to start excel and load requested file. We are know moving to Vista and it don't works any longer. Excel starts but the file don't load. This is the script I am using ****************************' strPoA="\\sesowebdev05\magazinet\wwwroot\aktivitetsuppf\test\PoA.xls" Sub launchApplication(value) Dim objWshShell 'On Error Resume Next ' Create the Shell object and run the application Set objWshShell = CreateObject("WScript.Shell") objWshShell.Run value, 3 ' Release the memory used by the Shell object If IsObject(objWshShell) Then Set objWshShell = Nothing End If End Sub </SCRIPT> <A onclick=launchApplication(strPoA) href="#">excelfile</A> *************************************************** Does anyone have any clue about this issue? When I tried with textfile and notepad, everything works fine on Vista. Regards Lennart |
My System Specs![]() |
| | #2 (permalink) |
| | Re: start word, excel from script Lennart wrote: Quote: > I'm using a script to start excel and load requested file. We are know > moving to Vista and it don't works any longer. Excel starts but the file > don't load. > Could that script possibly be hosted by IE? If so, then you might be running into some sort of a security problem. That is, if you allow an IE script to launch an app, then there is all sorts of mischief that the scripter could do to your system -- even more so with excel, because an excel file can contain a toxic bunch of vba code wrapped up inside. cheers, jw ____________________________________________________________ You got questions? WE GOT ANSWERS!!! ..(but, no guarantee the answers will be applicable to the questions) |
My System Specs![]() |
| | #3 (permalink) |
| | Re: start word, excel from script Ok, tanks. yes it is hosted by IE. Any suggestion on what security to change to make it run again? "mr_unreliable" wrote: Quote: > Lennart wrote: Quote: > > I'm using a script to start excel and load requested file. We are know > > moving to Vista and it don't works any longer. Excel starts but the file > > don't load. > > > hi Lennart, > > Could that script possibly be hosted by IE? > > If so, then you might be running into some sort of > a security problem. That is, if you allow an IE > script to launch an app, then there is all sorts of > mischief that the scripter could do to your system > -- even more so with excel, because an excel file > can contain a toxic bunch of vba code wrapped up > inside. > > cheers, jw > ____________________________________________________________ > > You got questions? WE GOT ANSWERS!!! ..(but, no guarantee > the answers will be applicable to the questions) > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: start word, excel from script "Lennart" <Lennart@xxxxxx> wrote in message news:6CF454C5-6806-47D5-8FA4-12396A93A573@xxxxxx Quote: > Ok, tanks. yes it is hosted by IE. Any suggestion on what security to > change > to make it run again? purpose. Try renaming the file from whatever.htm to whatever.hta. /Al Quote: > "mr_unreliable" wrote: > Quote: >> Lennart wrote: Quote: >> > I'm using a script to start excel and load requested file. We are know >> > moving to Vista and it don't works any longer. Excel starts but the >> > file >> > don't load. >> > >> hi Lennart, >> >> Could that script possibly be hosted by IE? >> >> If so, then you might be running into some sort of >> a security problem. That is, if you allow an IE >> script to launch an app, then there is all sorts of >> mischief that the scripter could do to your system >> -- even more so with excel, because an excel file >> can contain a toxic bunch of vba code wrapped up >> inside. >> >> cheers, jw >> ____________________________________________________________ >> >> You got questions? WE GOT ANSWERS!!! ..(but, no guarantee >> the answers will be applicable to the questions) >> >> |
My System Specs![]() |
| | #5 (permalink) |
| | Re: start word, excel from script Lennart wrote: Quote: > Ok, tanks. yes it is hosted by IE. Any suggestion on what security to change > to make it run again? > the benefit of all the security enhancements you have with the newer systems. Perhaps somebody who is more up-to-date will come along and answer your question. cheers, jw |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Vista and MS Word and Excel | Vista General | |||
| need Word & Excel back! | .NET General | |||
| Word&Excel:Add-Edit Toolbar&Buttons:Autocorrect to Excel Toolbar!! | Vista General | |||
| Where is Word and Excel in my other accounts | Vista General | |||
| Word and Excel | Vista General | |||