How to show a Folder

Post Reply
Piscicelli Zingoni
Posts: 76
Joined: Wed Oct 12, 2005 5:52 pm
Location: Milan,Italy

How to show a Folder

Post by Piscicelli Zingoni »

Hi to all,
I need to show (like explorer does ) a folder to the customer where i placed same files.

Example: Folder to show is C:\MYDATA

tks

Piscicelli/Zingoni
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

If you just want the user to select a file I would use cGetFile().

cGetFile( <cFileMask>, <cTitle>, [<nDefaultMask>], [<cInitialDirectory>], [lSave], [lLongNames], [nFlags] )

James
Piscicelli Zingoni
Posts: 76
Joined: Wed Oct 12, 2005 5:52 pm
Location: Milan,Italy

Post by Piscicelli Zingoni »

No, i need only to show the files as IEXPLORER DOES

Tks
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Piscicelli,

I'm not sure exactly what you want since Explorer can show files a number of different ways.

You can use the directory() function to get a list of files, then use a browse to browse the array.

If you want to show files as icons, take a look at TListView.

James
Piscicelli Zingoni
Posts: 76
Joined: Wed Oct 12, 2005 5:52 pm
Location: Milan,Italy

Post by Piscicelli Zingoni »

i solved the problem simple using

waitrun("explorer.exe c:\mydata")

it works fine for my scope.
tks
Post Reply