Information générale
Catégorie:
COM/DCOM et OLE Automation
I've downloaded the mailmerge class and tried to use this example. The only problem I have that MS Word can't open the datasource. The word doucment is loaded but the document can't connect to the datasource. An error is generated on the line where the mailmerge.opendatasource method is executed. The error I get is the error message "OLE IDispatch exception code 0 from Microsoft Word: The datasource couldn't be opened...". What can be the problem?
Sander
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