Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETDIR() ???
Message
De
28/06/2001 09:36:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/06/2001 09:28:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00524634
Message ID:
00524642
Vues:
13
>>How can I use GETDIR with a network drive??
>>I did the following:
>>
>>lcPath = Getdir("\\computer1\data", "Select dir", "Select dir")
>>
>>When the dialogbox opens, it doesn't go the correct network
>>drive; instead, it opens "My Network Places\Eintire Network\Microsoft
>>Network\Workgoupname". I am unable to browse to the computer
>>"computer1" in my workgoup; it doesn't have a plus sign...
>>
>>Can anyone help??
>>
>>Thanks,
>>
>>Erik Dokter
>
>
Declare integer GetActiveWindow in WIN32API
>oShell = createobject("Shell.Application")
>oFolder = oShell.BrowseForFolder(GetActiveWindow(), "Please Select folder", 0 )
>? oFolder.Items.Item.Path
Cetin

I agan failed to remember activewindow is not needed :

oShell = createobject("Shell.Application")
oFolder = oShell.BrowseForFolder(0, "Please Select folder", 0, '\\myserver\sharename' )
? 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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform