Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement