I am using WinME, with 512MB RAM, P4 1.7G CPU, 10G HardDisk (5G left).
I am using a VB 6.0 Program to control Word2000 to insert many pictures (Around 16 pictures x 250 pages = 4000 pictures), and then, need to refresh before printing: So that I use the following code to "Select All content in the document", and then press "F9" to refresh:
- - - - - - - - - - - - - - - - - - - - - - - - - - -
wordApp.ActiveDocument.Application.Selection.WholeStory
wordApp.Selection.Fields.Update
- - - - - - - - - - - - - - - - - - - - - - - - - - -
For the first line, it is OK, but for the second line, sometimes Automation error occurs as :Automation error -2147417851.
Can anyone help me, please? I am not sure whether 4000 pictures are too much for Word 2000.
I am using a VB 6.0 Program to control Word2000 to insert many pictures (Around 16 pictures x 250 pages = 4000 pictures), and then, need to refresh before printing: So that I use the following code to "Select All content in the document", and then press "F9" to refresh:
- - - - - - - - - - - - - - - - - - - - - - - - - - -
wordApp.ActiveDocument.Application.Selection.WholeStory
wordApp.Selection.Fields.Update
- - - - - - - - - - - - - - - - - - - - - - - - - - -
For the first line, it is OK, but for the second line, sometimes Automation error occurs as :Automation error -2147417851.
Can anyone help me, please? I am not sure whether 4000 pictures are too much for Word 2000.