473,614 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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("S hell.Applicatio n")
set objFolder = objShell.Browse ForFolder(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
0 1566

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
16768
by: Rosa | last post by:
Hi, I'm trying to clear the TIF on Windows XP programmatically with the below code. This code works fine on any folder but the TIF. For some reason the atEnd() statements always defaults to true and no files are deleted in the folder. The peculiarity of this issue is that the files/subfolders cannot be seen through the windows explorer either. I can only access/delete them through a command shell. Any ideas?
21
66800
by: strutsng | last post by:
<input type="file"> only allows the user to browse for files. How about "browse for folder" dialog? Can html/javascript do that? I couldn't find any syntax for that. If not, please advise what are the other approaches. please advise. thanks!!
6
1383
by: chris yoker via DotNetMonster.com | last post by:
hiya, i have an xml doc, and I'd like to assign lookup values. Eg, if the "PRODUCT-TYPE" is 6, then I insert "bike" into the innerText. <code> <rows> <row> <PRODUCT-TYPE>6</PRODUCT-TYPE> <PRODUCT-DATE>01/01/2003</PRODUCT-DATE> </row>
2
2310
by: Don Leverton | last post by:
Hi Folks, I'm experiencing a problem that seems to be unique to running Access97 on Windows XP, and seems to be worse on WinXP SP2. It appears when I'm trying to import a text file. I'm encountering a "You do not have access to the folder 'C:\Program Files\ProComm Plus\Download\*.*' See your administrator for access to this folder." message.
0
1301
by: R2d2Rabeau | last post by:
Hi all, I have an application that manipulates excel files without any problem. The problem is for a certain folder where files are giving me an error: When I check those files Excel ask me to choose the file that best describes my data as the Text Wizard has determined that my data is delimited.... How can I modify my C# Net 2.0 M (COM Excel 11.0) program to bypass this error? I am surprised because in my program, "t" has already been...
4
4929
by: Firoz72000 | last post by:
Hi All, I am using WindowsXP operating system. I was able to hide the files and to see them : I was going to the "Tool" menu then "Folder Option" and then "View" tab and "show the hidden files and folders" check box ... But from some days I am not able to get that "Folder Option" in the menu from the "Tool" menu. So I am not able to understand that why this is not showing. I sthere any .dll file is corrupted or what????? So please help...
5
2888
by: Noozer | last post by:
I'm looking for a "smart folder" program to run on my Windows XP machine. I'm not having any luck finding it and think the logic behind the program is pretty simple, but I'm not sure how I'd implement this. I've done some VB6 programming and dabbled in VS.Net. Can someone share some pointers in how I could implement the following? Basically, you drag a file to the "smart" folder and, depending on the type of file and settings for that...
2
7660
by: Dave | last post by:
I'm working with the Windows installer and need to programmatically get a hold of the Application Folder value (in a custom step). I.e. Application Folder value gets set in the Folder field of the Installation Folder User Interface Dialog Box, and I have a custom step that needs to retrieve this value. MSDN mentions TARGETDIR property value and so on but really lacks specifics on how to get a hold of this dynamically changing value. ...
9
2908
by: Keith G Hicks | last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher" project. Starting and stopping the watcher and reading my XML file work fine. Once the watcher is started, I'm reading the text files from the watched folder line by line into variables and then posting them to a SQL table. All of the code for the form is shown below. And it works fine except for 2 issues. First issue: In the Finally of the Try for teh SQL...
0
8182
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8433
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7093
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5540
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4052
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4127
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1747
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1425
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.