Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation
Message
De
21/11/1999 11:02:14
 
 
À
19/11/1999 12:20:52
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00293117
Message ID:
00293636
Vues:
20
Hi Jim,

Which version of Word are you using? And are you creating a Word application object with CREATEOBJECT()? If so, try using:

cPathName=SYS(5)+SYS(2003) && Why not CURDIR()?
oWord.Documents.Open(cPathName)

>I have a screen with a grid that lists several reports. One of the other options on the screen is to export a report to MS WORD. If I click on one of the export buttons the report is created and it works great. If I click on a second export button I get an error that says OLE error code 0x800706ba: The RPC server is unavailable. The error occurrs on the following line of code
>oWord.FileOpen(sys(5) + sys(2003) + "\docs\lbehind.doc").
>
>HELP!!! What is wrong????
>
>Jim
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform