Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole & Word newbie problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00100028
Message ID:
00100238
Views:
22
>>>>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
Map
View

Click here to load this message in the networking platform