Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do that from vfp8: open explorer, ctrl-a, emailto
Message
De
14/09/2005 11:26:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01049385
Message ID:
01049479
Vues:
17
>Sorry if it was not clear.
>Yes I you want it programatically, selecting all files (but I will control the folder (it will only contains 5-6 files).
>
>Here is the business need: My users are working on operation files with my vfp8 application. For each file, they may create 1 to 10 different reports that they will consult, save, email, etc... later on. So in the application, they create pdf files that I save in a folder named with the file number (ex.: F1002). From the application, I would like to be able to show the folder (maybe by using internet explorer within a vfp form?). When they email, I would like to use ShellExecute mailto so it will use their default mail system (outlook or other). In a perfect world, I would have a button mail (I know the email destination from the vfp file) that would select all and do a shellexecute with all the pdfs in attachment.
>
>thks again


Then a simple way may be using GETDIR() instead of hosting Windows Explorer in a form. Then use ADIR() or GETFILE() to get the file names.

From there you use one of the available email options (see other messages in this thread) or see:
http://fox.wikis.com/wc.dll?Wiki~AutomatedEmail


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform