Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save word file as html file
Message
De
13/08/2002 19:26:52
 
 
À
13/08/2002 18:01:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00689360
Message ID:
00689373
Vues:
13
Here is how you can save as an html file
oWord=CreateObject("word.Application")
oWord.documents.open('name') 
oWord.Visible =.T.
oWord.activeDocument.SaveAs("name",10)
>I got the following error "Ole error code 0x80010105: The server threw an exception" during the save as html session.
>
>The main coding I'm using
>#define wdFileSaveAs 100
>
>oWord=CreateObject("word.Application")
>oWord.FileOpen(NAMES) &&open the file
>
>oWord.FileSaveAs(NAMES,wdFileSaveAs,.f.)
>
>Can anybody help me with the right coding to save as html file?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform