![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | how to get permission for Shell.Application in JScript in local files (file://...html)? When I try to use Shell.Application, e.g. var objShell = new ActiveXObject("Shell.Application"); objShell.TrayProperties(); in JScript an html file on a local disk (accessed by file: instead of by http , I get a JScript error "permission denied". I tried changing thesecurity setting for "Local intranet" to Low, but that didn't make any difference. I tried putting the file path into "Trusted Sites", but it told me it only accepts https sites. What do I need to do so that Internet Explorer will run Shell.Application functions in a local html file? Thanks, Jeff |
My System Specs![]() |
| | #2 (permalink) |
| | Re: how to get permission for Shell.Application in JScript in local files (file://...html)? "Jeff" <nomo@xxxxxx> wrote in message news:ORkBPlSkJHA.4372@xxxxxx Quote: > When I try to use Shell.Application, e.g. > > var objShell = new ActiveXObject("Shell.Application"); > objShell.TrayProperties(); > > in JScript an html file on a local disk (accessed by file: instead of by > http , I get a JScript error "permission denied". I tried changing the> security setting for "Local intranet" to Low, but that didn't make any > difference. I tried putting the file path into "Trusted Sites", but it > told me it only accepts https sites. > > What do I need to do so that Internet Explorer will run Shell.Application > functions in a local html file? > > Thanks, > Jeff > "Allow Active Content to run in files on My Computer" |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| shell.application throw error on asp file | VB Script | |||
| shell.application | VB Script | |||
| can shell.application do this? | PowerShell | |||
| File Open and Write in JSCRIPT | .NET General | |||
| Get-Drive.ps1 and Get-File.ps1 - Get all local files | PowerShell | |||