Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Power Builder 9 interaction with excel slow

105 views
Skip to first unread message

Patricia Ramírez

unread,
Nov 16, 2004, 2:40:19 PM11/16/04
to
Im sending information to Excel from Power Builder 9 using the next
instructions:

OLEObject lole_excel
lole_excel = Create OLEObject
ll_ole_handle = lole_excel.ConnectToNewObject("excel.application")
lole_excel.application.Workbooks.Open( ls_report_path)

It's working fine but when I write 6600 lines into excel it takes 1 minute,
while writing the same number of lines in a datawindow takes approximately
30 seconds, is there any way to increase the speed when the information goes
to excel?

Thanks in Advance

Patricia Ramírez


Andy Turiansky [TeamSybase]

unread,
Nov 17, 2004, 1:02:20 PM11/17/04
to
Well....nothing beats the DataWindow! :)

I really don't know what would speed up the OLE connection. I had a similar
issue with MS Word and after upgrading to the latest service pack for Office, my
speed increased. Don't know if this would be the same in your case with Excel.

On 16 Nov 2004 11:40:19 -0800,
in sybase.public.powerbuilder.ole-ocx-activex

-----------------------------
Andy Turiansky [TeamSybase]

Terry Dykstra

unread,
Nov 17, 2004, 2:22:48 PM11/17/04
to
I've run into this issue too. In my case I saved my info to the clipboard
and then used OLE to paste it to Excel.
--
Terry Dykstra (TeamSybase)
http://powerbuilder.codeXchange.sybase.com/
http://www.pb9books.com
product enhancement requests:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement


"Andy Turiansky [TeamSybase]" <aturi...@comcast.net> wrote in message
news:419b922c$1@forums-1-dub...

0 new messages