Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save As FIle Question
Message
From
18/12/1998 06:08:23
 
 
To
17/12/1998 23:22:53
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00168751
Message ID:
00168778
Views:
27
>Hi all fox folks.....
>I have a Question about Save As Dialog Box control.
>When I 'putfile' command it can only save as in physical system in
>my computer or network but, in office 97 and other application can
>throught internet, save a file to FTP Server.
>Can I this job in Fox?
>is there any Active X control?

I'm not aware of any, but you might want to take a look at what I do with Shell.Application's BrowseForFolders() method in my enhanced getdir entry in the FAQ. BrowseForFolders can be directed to display files as well as folders and to return folder destinations that are not a part of a file system ancestor based filesystem (ie URLs.) You'd have to write code to implement the PUTFULE functionality (specifying a new,non-existant filename, and invoking the Save As logic for non file system ancestor destinations yourself, since it would involve having your Save As function invoke OLE Automation to reach the other system and transfer the file.)

Before you ask, no, I don't have code to do this; I'd refer you to the Topic Shell Object in the MSDN; look at the Methods entries, and specifically at the BrowseForFolders method and the BROWSEINFO structure.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform