Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE to Word (Saving a file)
Message
 
 
À
19/10/1998 15:01:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00148244
Message ID:
00148266
Vues:
30
Mike,

Don't keep setting oWord like you did in your post.

oWord = createobject( "word.application" )
oWord.Visible = .t.
oWord.Documents.Open( "theFile" )
oWord.Documents.SaveAs( "TheNewFile" )

Look in the vbawrd8.hlp file, there's also a couple of links on my website to some additional online help for Word automation.

>oWord = CREATEOBJECT("Word.APPLICATION")
>oWord = VISIBLE = .T.
>oWord = DOCUMENTS.OPEN("C:\TEMP\TEST")
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform