Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling VFP EXE From Excel Macros
Message
 
À
09/06/2003 22:06:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00798187
Message ID:
00798219
Vues:
26
This message has been marked as the solution to the initial question of the thread.
ActiveSheet.OLEObjects.Add(Filename:="D:\MyApplication\Myexe.exe", Link:=True, _
DisplayAsIcon:=False).Select

Following code will add a short-cut to you excel file for the application
Aashish


>Hi Everyone,
>
>How do a make a macros to call a VFP .exe file... I have a small .exe file which moves files around and I want the user to be able to access the 'shortmove.exe' file from an Excel Spreadsheet Macros...
>
>I know the VFP Runtime engine must be installed on the machine, so that is understood.
>
>TIA
>
>
>Ric
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform