Ask the Expert

Browse for a folder on hard drive

I have a LotusScript agent that removes all attachments from a given email. I would like the user to be able to browse for a folder on their hard drive or network drive instead of me hard-coding the location. Is there a LotusScript command or method for this? I sure can't find one...

I have, in the past, created a layout region with a multi-value field and some clever list formatting (using spaces to prefix and simulate indented folders) to look like the Select Location dialogue. I used LS to grab directory listings and every time the user would select a directory, I could go and get it's directory information and repopulate the field. This takes some work but you can get directory information and make it look almost like the windows one. I never tried to figure out how to do folder icons (don't think that would be an easy one). Give it a shot and if you get stuck or want some more advice, drop another line and I'll see if I can help.

This was first published in November 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: