Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Speeding up automation in javascript?

Status
Not open for further replies.

ajliles

Programmer
Mar 8, 2002
10
GB
Hi,

I'm currently generating reports on-the-fly by automating Microsoft Word on the client from a web page using javascript. This works fine apart from being very slow - I understand that this is due to the way that javascript binds to ActiveX objects at run-time (ie, late binding).

Does anybody know of a way to speed up OLE automation from javascript?

Thanks in advance for any help.

Adrian.
 
sheesh - are you required to use Word? how about just creating an HTML page on the fly?

======================================

if (!succeed) try();
-jeff
 
Yes, I have to use word because I'm starting with a document template and just filling in the gaps using script - the template contains a number of tables and some graphics; and also because the generated report is just a starting point - once generated the user can then edit, print, email, or save the document. This type of activity would be difficult to achieve using HTML reports.

Adrian.
 
hmm...sorry, I have no experience in linking ActiveX with javascript.

perhaps trollacious or xutopia here could help?
======================================

if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top