Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automate process of converting Word Files into HTML
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00483840
Message ID:
00483870
Vues:
13
In a test the following works for me with Word2000. You could use adir() to get the documents and loop through each:
oWord = newobject('word.application')
lcFile = GetFile("DOC")
oDocument = oWord.Documents.Open(lcFile)
lcPath = justpath(lcFile)
lcNew = juststem(justfname(lcFile))
oDocument.SaveAs(addbs(lcPath) + lcNew + ".htm", wdFormatHTML)
oWord.Quit()
release oWord
return
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform