467,146 Members | 1,314 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,146 developers. It's quick & easy.

Displaying a "choose folder" dialog

Hi,
I'm asking for help because I read dozens of threads on this subject,
but I still cannot make it work.

I'm developing an ASP script (running on a SBS 2k. I'm a beginner with
ASP) to use on our intranet which does searching on our file server
using Indexing Services.
To let the users specify the scope (from which file-server folder start
to search) I need to display on client pc's (Win 2k or Win XP Pro) a
"choose folder" dialog.

I tried BrowseForFolder method, in lots of different ways, for example
(this is a copy and paste from msdn site):
------------------------------------
ssfWINDOWS = 36
set objShell = CreateObject("Shell.Application")
set objFolder = objShell.BrowseForFolder(0, "Example", 0,
ssfWINDOWS)
if (not objFolder is nothing) then
Response.write(objfolder)
end if
set objFolder = nothing
set objShell = nothing
------------------------------------

But the result is always the same: the client gets stuck (progress bar
running and nothing happens) and after a while the server stops
responding to all asp requests.

How can I do that (let the user choose a folder on fileserver) using
this or another tecnique?

Any help is greatly appreciated
Thanks in advance

Guido
Italy

Jan 31 '06 #1
  • viewed: 1361
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by chris yoker via DotNetMonster.com | last post: by
9 posts views Thread by Keith G Hicks | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.