Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS-Word automation example : From VB to VFP
Message
De
04/02/2004 07:17:01
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
04/02/2004 07:03:10
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00873797
Message ID:
00873801
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
Hi
Just tried this and works
oWord = CreateObject("Word.Application")
oWord.Visible = .t.
oWord.WordBasic.FilePrintSetup("Canon i550 on USB002",1)
>Hi,
>
>I've got instructions to select in what printer MS-Word will execute its next printout in KB #216026 (ActivePrinter Property in Word Sets System Default Printer) as:
>
>Set oWord = CreateObject("Word.Application")
>
>oWord.WordBasic.FilePrintSetup Printer:="HP LaserJet 4 on LPT2", _
>      DoNotSetAsSysDefault:=1
>
>
>How should I code in VFP the oWord.WordBasic.FilePrintSetup... statement?
>
>Thanks,
>
>Fernando
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform