Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word 97 instead Report Designer?
Message
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00430901
Message ID:
00430908
Views:
14
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I was tired to fight with VB6 Report Designer, then I decide to use Word 97, but now, when app works on production environment, it works good but slow. What if I put all the code for to create the report on a DLL?. Well, I use Word.Application object that is likely a DLL. Then, is faster write functions on my Exe program for the reports than call a DLL that execute all that code?

Opinions?, Ideas?. They will be appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Word automation does indeed seem slow. WOrd 97, in particular, is slower -- slower than 95 (not sure about 2000). There are some important speed tricks though -- for instance, even a careful use of WITH....EndWith can speed up the execution considerably (more so than you would think!) because VB does not have to recheck every single "dot".

Also, use of an external DLL will be, by definition, a little slower than code right inside your VB Exe. You need to weigh the flexibility against any speed gain.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform