Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETDIR() ???
Message
 
To
28/06/2001 09:46:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00524634
Message ID:
00524656
Views:
15
>>>>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,
>>
>>You don't really need a valid window handle here. While the parameter is required, zero is perfectly valid and doesn't cause any problems.
>
>Hi George,
>My finger being far from brain clicks 'send' early :) I remembered this and posted a followup :)

Cetin,

I saw and must admit I had a feeling you knew this.:-)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform