Home > Back-end >  WordApplication1 -> the Connect (); Can't open
WordApplication1 -> the Connect (); Can't open

Time:09-18

WordApplication1 - & gt; The Connect (). After the operation errors,

But is good at using this way below
The Variant vWordApp;

VWordApp=the Variant: : CreateObject (" Word. Application ");
But OLE too difficult, the feeling can't learn how to do;

CodePudding user response:

Online many examples, which can be reference to draw lessons from the

CodePudding user response:

Demon elder brother site OLE many data,

CodePudding user response:

refer to the second floor u010165006 response:
OLE demon elder brother website a lot of information,


ccrun.com

CodePudding user response:

WordApplication1 - & gt; ConnectKind=ckNewInstance;
WordApplication1 - & gt; The Connect ().
WordApplication1 - & gt; The Visible=true;
WordApplication1 - & gt; The Documents - & gt; AddOld ();
WordApplication1 - & gt; Activate ();
  • Related