Solved

vb with word 2000

Posted on 2002-07-03
3
128 Views
Last Modified: 2010-05-02
Hey.

I'm exporting data from vb to word 2000 and the transfering time is very slow ,
I need to raise the transfering time.
(for example i try to export data from a matrix 50/15 that i defined in vb to a table in word ).
I'm using A word 9 object reference.

I have 256 Ram and cpu p3 500mhz so it cant be a performence problem.

Thank you for your help.
0
Comment
Question by:uzico
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 25 total points
ID: 7126511
I guess that you are using Word Automation, so you should try this:

dim objWord as Word.Application 'i assume this...
<... your initialiation code here ...>
'stop word updating the screen all the time
objWord.Screenupdating= false
<... perform your data transfer ...>
objWord.Screenupdateing = true
<... your cleanup code...>

note that you should ensure that the Screenupdating=true is executed even if errors occur in the code, otherwise the user that wants to use word will run into small troubles :-)

Obviously, you won't be able to follow the process, thus you might implement a switch in the application that starts the process saying "Fast Processing" set by default, which runs the above. unset you only skip that property (probably for debugging purposes)

Cheers
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7971394
Hi uzico,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept angelIII's comment(s) as an answer.

uzico, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8019035
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question