VB program Performance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amitp
    New Member
    • Dec 2006
    • 49

    VB program Performance

    I've a VB application which generates some RTF reports based on the templates provided. The RTF report gets the data from the Access Database. To do this i took the help of Word Object which creates a word object and opens the template file in that. Then the field value in the report which are the column names in the Access Database tables are replaced by their value with the help of query. Then saves the template file with some other name which is a final report. So the whole operation takes a long time. Is this bcoz i'm calling a word object each time for each report or something else. Is there's any way to improve the performance and speed. looking for reply. Thanking You
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    One thing to check might be how much time is spent on each step of the operation. Try writing out the system time to the immediate window at each stage, then you can at least find out which part is taking so long.

    Comment

    Working...