OLE MS WORD

Subject: OLE MS WORD
From: "Kumar, Sunilkumar" <Sunilkumar -dot- Kumar -at- misyshealthcare -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Thu, 12 Jun 2003 10:54:43 +0530


Hi,
I am trying to upgrade an application developed in PowerBuilder 6.0
on Windows 2000 Platform.
This application currently works fine with MS Office 97 ( all the OLE
related functions ).
But some of the functions do not work with MS Office 2003.
I am trying to load a report into MS Word 2003 based on a Template that
is attached.
Everything works fine, except for the function call:

ole_word.Object.Setparam(...)

Here "ole_word" is an OLE Object and the arguments passed to it
includes:
File that has been created based on a certain template.
An .ini file that has some info abt the settings in Word.
Another .ini file that has the path to the rreport to be loaded.
Caption for the report
Frame Title
A Handle to the window that is calling it.
String that hsa some info abt the fields.

Ex. ole_word.Object.SetParam(ls_filename,"e:\sunil\pb\word
2003\coword.ini","e:\sunil\pb\word 2003\editaccession_coword.ini","Doc
Caption","Frame Title",Handle(this),"textfields")

This function call works well with Office 97. But, not with Office 2003.
Have anyone of you come accross a similar problem ? If so, please help
me out of it.

Also, Can anybody give me a link where I can find the complete list of
API calls that are supported by
MS Word regarding OLE Automation.

Thanks in Advance.
Sunil

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Robohelp X3, from eHelp, lets you quickly and easily create
professional Help systems for all your Windows and Web-based
applications, including Net.

Buy RoboHelp Office X4 by June 13th and receive
$100 mail-in rebate, Plus FREE RoboHelp Plus Pack.

Order RoboHelp today: http://www.ehelp.com/techwr-l

---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Previous by Author: RE: A suspected can of worms - knowing the future
Next by Author: How Do I unsubscribe from this List ?
Previous by Thread: re: executive freakouts
Next by Thread: Business Myths (was Longevity)


What this post helpful? Share it with friends and colleagues:


Sponsored Ads