Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winword.exe
Message
De
13/10/2005 06:53:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/10/2005 06:45:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01058585
Message ID:
01058587
Vues:
17
>Dear Experts
>
>How to run WINWORD.EXE?
>What will be the source codes behind a commandbutton?
>
>Please help

How do you want to run it? As automation, as a separate exe?
ie:
-As automation
local oWord
oWord = createobject('Word.Application')
with oWord
  .Documents.Add
  .Visible = .t.
  .Activate
endwith
-As a separate run
declare long ShellExecute in "shell32.dll" ;
	long hwnd, string lpszOp, ;
	string lpszFile, string lpszParams, ;
    string lpszDir, long nShowCmd
ShellExecute(0,'Open','winword.exe',0,0,1)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform