PDA

View Full Version : Exploring folder



nagad
09-10-2002, 08:26 AM
I placed a button in the page. Now I want that on mouse click a folder will be oppened by windows explorer, and I can't find the right action to do it. Anyone who can help? Thanks.

Adam
09-10-2002, 09:38 AM
Use a File -> Open action and put "Explore" in the "Verb" field. Then put the path to the folder that you want to explore in the "File to Open (Path and File name)" field.

nagad
09-10-2002, 11:02 AM
Hi, Adam
Thanks. Now it's working.

RobertB
09-11-2002, 12:19 PM
OK...so, how do I just open a folder within the CD-ROM full of iamges???? I do not want anyone to have to find it but just open it???

TIA!!

Corey
09-11-2002, 01:44 PM
How about DIALOG > FOLDER BROWSE set to %Srcdrive% and then any images folder you might have?

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Brett
09-11-2002, 02:18 PM
You mean like using File.Open with the file to open set to "%SrcDrv%\WhateverFolder" and the verb as "open"? Is that what you are trying to accomplish?

Corey
09-11-2002, 02:26 PM
Hey Brett, what's the difference between my way and your way? Is one preferred in terms of performance/reliablility?

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Lorne
09-11-2002, 02:29 PM
"File - Open" with "open" verb actually just opens the folder immediately.

"File - Open" with "explore" verb opens it in the Windows Explorer view, instead of the normal folder view.

"Dialog - Folder Browse" presents a standard Windows Open dialog, so the user can select a folder...the path to this folder is then stored in a variable.

Brett
09-11-2002, 02:32 PM
Corey,

Like Lorne outlined, it's really a matter of functionality. The Dialog.FileBrowse method is best if you want the user to browse their system, select a file and then you need to know what file they selected. Using File.Open with an open or explore verb is best when you just want the user to be able to browse their system, but you don't need to know which files they are looking at or opening.

- Brett

Corey
09-11-2002, 02:51 PM
Oh I see, d-uh, not sure how I missed that... Thanks guys...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

RobertB
09-11-2002, 02:56 PM
Yep...I finally understood your other post on 'explore'...

Thanks...

I just panicked....gotta deliver these 8 CD's in about 15 minutes....LOL

Lorne
09-11-2002, 02:57 PM
A few additional notes: /ubbthreads/images/icons/smile.gif

"Dialog - Folder Browse" only lets the user browse until they click the "Select" button on the dialog.

Using "File - Open" just opens the folder normally, like double-clicking on it in Windows...so the user is free to leave that folder open for as long as they want to.

"Dialog - Folder Browse" also has a different look to using "File - Open"...the former presents more of an "Open/Save As" style dialog with extra stuff like the "Select" and "Cancel" buttons, whereas the latter is just your standard Windows folder.

(Incidentally, "File - Open" with the "explore" verb is the same as right-clicking on a folder in Windows and choosing "Explore" from the right-click menu.)

nagad
09-11-2002, 04:50 PM
Hi, guys

Thanks a lot. It was a great lesson.