Information générale
Catégorie:
COM/DCOM et OLE Automation
Cetin,
you certainly illuminated the problem!!
Trying the add actually did create a connection object that returned the name (Document1).
That means the oDocument.GetObject("C;\My Documents\I247a.doc") is not really working as it should although it does return an object.
Tried oWord.Documents.open("C:\My Documents\I247a.doc") also and that doesn't work. So I'm stuck with a loading issue. Changed directories to avoid blank spaces (put it in a directory called "Downloads" and still no go. Can work on the document in word and save and everything but not load via automation. Wish you had a solution for that!!
Thanks,
Steve
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