Page 1 of 1
How to show a Folder
Posted: Mon Mar 13, 2006 12:26 pm
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
Posted: Mon Mar 13, 2006 2:14 pm
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
Posted: Mon Mar 13, 2006 2:18 pm
by Piscicelli Zingoni
No, i need only to show the files as IEXPLORER DOES
Tks
Posted: Mon Mar 13, 2006 2:48 pm
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
Posted: Mon Mar 13, 2006 7:56 pm
by Piscicelli Zingoni
i solved the problem simple using
waitrun("explorer.exe c:\mydata")
it works fine for my scope.
tks