Alan Gillott
2007-02-27 02:03:50 UTC
This code:
Set oShell = CreateObject("Shell.Application")
set oFolder = oShell.BrowseForFolder(0,"Select poem",BIF_BROWSEINCLUDEFILES
+ 1,5)
Gives This Error
the system cannot find the file specified
Any thoughts???
Works great if I select a folder, dies if I select a file. works OK in VB6,
fails in VBScript
A
Set oShell = CreateObject("Shell.Application")
set oFolder = oShell.BrowseForFolder(0,"Select poem",BIF_BROWSEINCLUDEFILES
+ 1,5)
Gives This Error
the system cannot find the file specified
Any thoughts???
Works great if I select a folder, dies if I select a file. works OK in VB6,
fails in VBScript
A