Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Intranet App Question....

Status
Not open for further replies.

Dorff

Programmer
Mar 13, 2002
72
CA
I'm designing a program for one worker in my department. This program recieves a recordset and must and then translates this information into three files types. That much I have figured out, but my problem arises when trying to save. I have to be able to have a function that allows the user to select the directory to save the files too. I have had no luck searching the net and the ASP forum here has been less than helpful. Even if someone just told me I couldn't do it at all I would be greatful and could stop wasting my time.

This program is running from Internet Explorer so scripting(ie. WSCRIPT, CSCRIPT) is not really an option.

Thanks in advance for all the help.
 
Not sure what you have or don't have done already.

It sounds like you want a "folder picker dialog" ActiveX Control.

I assume (perhaps incorrectly) that you are using FSO to write the data out to disk. This works great with the MS Common Dialog Control if you want to let the user pick a location and a file to save - but you want to have them pick a folder.

I built a FldPickDlg ActiveX Control myself in VB6. It works by calling SHBRowseForFolder in Shell32. Most of this is documented in Q179497 "HOWTO: Select a Directory Without the Common Dialog Control."

No link handy, but you might try a search on the KB article number at for details.

I addressed a memory leak in the code provided by MS, and tweaked things a little for my own purposes. Maybe something like this is what you need?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top