[Openroad-users] Embedding MS Word in an OR application

Pete Wilkinson Pete.Wilkinson at sungardps.com
Tue Apr 1 20:37:02 EST 2008


I've had Word ActiveX working on OR2006 with Word 2000, 2002(XP), 2003 & 2007 (Vista) without too much troubles, merging and printing.  

I create the External Class dynamically depending on what version of Word is installed on the users PC, and the only issues I've had is trying to use a global instance of that library as previously reported!

If anyone wants code examples, drop me a line.


-----Original Message-----
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com]On Behalf Of Andrew
Sent: 31 March 2008 23:13
To: International OpenROAD Users
Subject: Re: [Openroad-users] Embedding MS Word in an OR application


Hi Danny,

Do your users have only one version of Word?

If they have different versions, then, this is hard work using activex...

I use an external vb6 app (on WinXP) to perform late binding to get the 
users version and start it and run merges, spell checking, etc...

Have not looked at any Word 2007 issues yet and I know that there are 
gigantic issues with vb6 apps on Vista.

Let me know if you would like some of the coding.

Other programmers out there may have similar solutions using something 
other than vb6 and I would be interested to know what people are using, 
like maybe VB 2008 Express (which I think is free)?

Andrew.


Laverty, Danny wrote:
>
> My users have a need to kick off MS Word from OpenROAD 4.1 (probably 
> opening a new document from a template or opening a known document 
> that has a merge incorporated in it then going on to print the merged 
> document).
>
> I know others have done this or something similar (E.G. Pete’s 
> “ActiveX Word – hanging” submission earlier this month). The OpenROAD 
> documentation shows me how to create and register External Class 
> Libraries but I could not tell from the list available to me what I 
> should be using or how to use it. I tried a “suck it and see” approach 
> but didn’t get anywhere.
>
> I thought it would be easy to search the web and find documentation on 
> the ActiveX component I should be using and how to use it. So far I 
> have had a fruitless, frustrating search that has yielded almost 
> nothing. I can’t even tell if I need to purchase ActiveX components 
> (for my developer PC or for runtime PCs as well) or if there are free 
> ActiveX components I can use.
>
> To get me kick-started, can anyone give me any pointers and/or sample 
> code?
>
> Danny
>
________________________________________________________________
OpenROAD-Users mailing list

You can maintain your subscription here:
http://www.peerlessit.com/mailman/listinfo/openroad-users

To unsubscribe click on this link
mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe

To subscribe click on this link
mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe 

This message has been checked for all known viruses on behalf of SunGard Public Sector by MessageLabs. 

http://www.messagelabs.com or Email: mailsweeper.info at vivista.sungard.com

For further information http://www.sungardps.co.uk

**********************************************************************
SunGard Public Sector Limited, Marshfield, Chippenham, Wiltshire  SN14 8SR
Telephone: 08456 041999,  Fax: 08456 052999

Registered Office:  33 St Mary Axe, London EC3A 8AA.  Registered in England No.
1593831 VAT Reg No. GB 810 9546 34
**********************************************************************
CONFIDENTIALITY:  This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and is intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized disclosure or use is prohibited.  If you received this e-mail in error, please notify the sender and delete this e-mail from your system.
**********************************************************************

This message has been checked for all known viruses on behalf of SunGard Public Sector by MessageLabs. 

http://www.messagelabs.com or Email: mailsweeper.info at vivista.sungard.com

For further information http://www.sungardps.co.uk



More information about the Openroad-users mailing list