Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getdir() across Network
Message
De
25/05/2001 10:13:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/05/2001 10:00:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00511371
Message ID:
00511498
Vues:
19
>Cetin
>
>Thanks - perfect (and simple! and therefore really perfect!!)
>
>Mike
>
>PS - I'm not quite sure what George Tasker is referring to in his comment.
>
>PPS - Being greedy: Is there any way of setting the initial directory (again, as in GETDIR())
>
>Mike

Mike,
Yes there is but with simple BrowseForFolder if you specify it, it's accepted as 'Root' and user cannot browse to folders above it in hierarchy. ie:
if you say 'c:\my documents' all user could browse is 'my documnents' and its subfolders.
What George meant was I needn't to GetActiveWindow(), taht could be 0.
oShell = createobject("Shell.Application")
oFolder = oShell.BrowseForFolder(0, "Please Select folder", 0, ;
 '\\poseidon\public' )
? oFolder.Items.Item.Path
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform