General information
Category:
Coding, syntax & commands
>>>>I've written a wee bit of code to test some OLE concepts but can't get
my abc = createobject("Word.basic") command to do anything.
>>>>I'm using MS Word 7
>>>> VFP 3
>>>> Win 95
>>>>any ideas?
>
>Hi, the following code is from one of our programs(VFP5) which simply
opens the Word 97 document on a Win95 system:
>
>WAIT "Please wait for Word to load" WINDOW AT 20,30 NOWAIT NOCLEAR
>oWord=createobject("Word.Basic")
>oWord.ChDir(cWORDPATH)
>oWord.FileNewDefault
>oWord.AppMaximize
>oWord.AppShow
>WAIT CLEAR
>ntemp=MESSAGEBOX("Make sure Word has been unloaded")
>
>Hope it helps.
>Petras
>
>PS. Any chance of a reply to my question regarding Outlook?
Hi,
Where can I find all the commands/properties for the Word object?
Eg. .AppMaximize is to maximize the Windows, I guess so?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only