Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winword.exe
Message
From
13/10/2005 06:53:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/10/2005 06:45:51
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01058585
Message ID:
01058587
Views:
9
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform