Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFile() method in VBA?
Message
From
07/08/2002 03:44:34
 
 
To
07/08/2002 01:10:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00686880
Message ID:
00686910
Views:
34
I do not know what is this Get function of FSO. But you can use CommonDialog ActiveX control. Put this control on the form (it is invisible at run-time) and one command button. In the Click event of button write:
Me.CommonDialog0.ShowOpen
When you click this button, the OpenFile standart Windows dialog will be shown.

The CommonDialog control has possibility to set file masks, as in VFP function GetFile() and also to show dialogs for selecting font, color and SaveAs file dialog. See MSDN for more information about this control.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Reply
Map
View

Click here to load this message in the networking platform