Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save As FIle Question
Message
De
18/12/1998 06:08:23
 
 
À
17/12/1998 23:22:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00168751
Message ID:
00168778
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform