FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse and ToExcel problem
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
xBrowse and ToExcel problem
Posted: Mon May 11, 2015 09:56 AM
Dear Nages,
Sometimes when I use oBrw:ToExcel my client gets the following error
Code (fw): Select all Collapse
Application
===========
   Path and name: C:\CaricoScarico\zucal.EXE (32 bits)
   Size: 4,801,536 bytes
   Compiler version: Harbour 3.2.0dev (r1412151448)
   FiveWin  Version: FWH 15.01
   Windows version: 6.2, Build 9200 

   Time from start: 0 hours 0 mins 7 secs 
   Error occurred at: 08-05-2015, 14:34:25
   Error description: (DOS Error -2147352567) WINOLE/1007  
   Impossibile trovare la proprietà Paste per la classe Worksheet. 
   (0x800A03EC): Microsoft Excel

Stack Calls
===========
   Called from:  => TOLEAUTO:PASTE( 0 )
   Called from: C:\fwh_15\source\classes\XBROWSE.PRG => TXBROWSE( 7457 )
   Called from: zucal.prg => (b)PRODUZIONE_RIGHE( 923 )


and the program completely blocks Excel and client has to switch off his pc.

client uses Excel 64 bit.

Regards Maurizio
www.nipeservice.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse and ToExcel problem
Posted: Mon May 11, 2015 10:50 AM

I never tested with Excel 64 bits, but I assume that may not be the problem.

The problem is more likely to be with the text data prepared by xbrowse for pasting into Excel range. The entire text or part of it may be invalid for pasting.

If the xbrowse has image data (or binary data) in the earlier versions the image was properly pasted into excel but in all recent versions (2007 onwards) it is failing with similar error.

With the limited information available here, I am unable to come up with any more ideas.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion