[Openroad-users] Embedding MS Word in an OR application
Joseph C. Kronk
Joseph.Kronk at ingres.com
Sat Apr 5 01:05:10 EST 2008
Danny,
OpenROAD 2006 with a recent patch is the version that has the most
stability with regards to ActiveX. If you are considering doing a major
upgrade to you entire organization I suggest that as you plan for this
upgrade you consider going to OpenROAD 2006 as opposed to OpenROAD 4.1
SP3. The amount of work to upgrade is virtually the same and OpenROAD
2006 is much more recent release. OpenROAD 2006 SP1 will be going into
QA this quarter and will contain more than a years worth of maintenance.
-Joe
Joseph Kronk | Director | Joseph.Kronk at ingres.com
<mailto:Durwin.Wright at ingres.com> | Ingres | 500 Arguello Street |
Suite 200 | Redwood City | CA | 94063 | USA
<http://maps.google.com/maps?q=500+arguello+street,+94063&ll=37.487297,-
122.233200&spn=0.004602,0.012771&t=k&hl=en> +1 650-587-5527 | fax: +1
650-587-5550
________________________________
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Laverty,
Danny
Sent: Friday, April 04, 2008 6:57 AM
To: 'openroad-users at sealion.peerlessit.com'
Subject: [Openroad-users] Embedding MS Word in an OR application
Despite the help I have received, I still can't cleanly do what I was
trying to achieve (my current situation is listed at the end of this
e-mail in case it is relevant). Indications are that the problems are
related to my PC environment and probably my version of OpenROAD. If
this is the case then I am probably wasting my time trying to achieve
the impossible and need to change my environment before proceeding.
Can anyone tell me when ActiveX became stable/usable with OpenROAD (I
suspect it is OR4.1 SP3 and above)?
N.B. I am developing in OR4.1 SP2 and can't move up to SP3 until our
entire 300+ user PCs have been upgraded to SP3 (due to a known bug that
results in application crashes on OR4.1 SP2 runtime PCs if the image has
been created in OR4.1 SP3).
Thanks
Danny
1. Open an MS Word document in an MS Word window
* I can successfully achieve this by entering "CMD.exe /c
c:/WordDoc.doc" in Start --> Run on my PC. The use of the /c ensures
the Command window automatically closes once it has opened the MS Word
window.
* When I try to do the equivalent from within OR, I can't get
into the MS Word window until I manually shut down the Command window
(despite using the /c).
2. Open an MS Word mail merge document, run the merge and then
print the merged document.
* I can open the MS Word document (in the background). I can
even print this document (again, in the background) if I want.
* When I try to run the merge - using external Visual Basic
Method "Mailmerge.Execute()" - it fails with the message
E_WT006D The invocation of an external object method failed. The method
'execute' for source 'Microsoft Word' returned an error code of 80020009
and the error message: 'This method or property is not available
because the document is not a mail merge main document.'
* Not unexpectedly, the resulting print is blank.
________________________________
************************************************************************
*********************
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient,
you must not copy, distribute or take any action or reliance on it. If
you have received this e-mail in error, please notify the sender. Any
unauthorised disclosure of the information contained in this e-mail is
strictly prohibited.
The views and opinions expressed in this e-mail are the senders own and
do not necessarily represent the views and opinions of Falkirk Council.
************************************************************************
*********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20080404/77e43581/attachment-0002.html
More information about the Openroad-users
mailing list