Setting permissions to use the Shell.Application object in an intranet zone

From: Neal Andrews (neal@***NoSpam***nandrews.freeserve.co.uk)
Date: 05/30/02


From: "Neal Andrews" <neal@***NoSpam***nandrews.freeserve.co.uk>
Date: Thu, 30 May 2002 14:44:02 +0100


Hi All

I am trying to use some vbscript in my local intranet to show the
BrowseForFolders dialog in Win XP, but I always get the run time error,
Permission Denied.

The code is as follows

Dim oFolder
Dim oShell

    Set oShell = CreateObject("Shell.Application")
    If Not oShell Is Nothing Then
        Set oFolder = oShell.BrowseForFolder(0,"Select Album To Add",0)
    End If

Does anyone know where the permissions are that I need to change to be able
get this code to work. I have set the IE Security zone settings for the
intranet zone to low.

TIA
Neal