Visible generating docs vs hided doc generating

O

O.B.1.

Hi all,

I'm running VB6 with Office XP;
This seems very strange to me:
i've created a VB6-DLL (SP5 installed) that generates
word documents, with contents from a database;
I let the wordapplication start, with visible = true.
then for the documents, I set visible also to true;
the DLL succesfully generates 4 documents for me.
However, when I change visible to false for the documents,
I get only 1 document to be generated.
How can this happen ? the database content did not
change, the templates don't change etc.. I only change
the value for the "visible" property. Thanks for your
help!
regards, O.B.1.
 
J

Jezebel

Some Word commands fail if Word itself is not visible (eg functions relating
to views and panes, and some selection activities).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top