Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening MailMerge documents
Message
De
07/09/2001 11:47:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/09/2001 11:19:41
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00553824
Message ID:
00553846
Vues:
9
>Hi All,
>
>I'm trying to write a program that will perform a Microsoft Word mail merge. I can get the program to work except in the case where someone has the data source open in another program. When I use oWord.Documents.Open("abc.doc") I get the file open dialogue box asking for the data source. Since the data source is in use I get stuck in a loop until the other user exits from the data source. I noticed that if you try to open the document using Word, it knows that the data source is in use and gives you options about what to do. I would just like to exit and inform the user at this point. Any help would be appreciated.
>
>TIA
>Bob

Bob,
Check Thread #457267 Message #457273
There are plenty others. IMHO ODBC way has problems.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform