FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error oBrw:ToExcel
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
error oBrw:ToExcel
Posted: Tue Jan 09, 2024 04:38 PM

Hi,

My app run on 15 pcs but I get error only on 2 pcs

when I call function oBrw:ToExcel() I get this error:

Application

===========

Path and name: myexe.exe (32 bits)

Size: 7,345,664 bytes

Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20161218)

FiveWin version: FWHX 17.09

C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)

Windows version: 6.2, Build 9200

Time from start: 0 hours 2 mins 31 secs

Error occurred at: 09-01-2024, 17:20:24

Error description: Error Excel.Application:ACTIVEWINDOW/3 DISP_E_MEMBERNOTFOUND: _FREEZEPANES

Args:

 [   1] = L   .T.

Stack Calls

===========

Called from: => TOLEAUTO:_FREEZEPANES( 0 )

Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:TOEXCEL( 9095 )

the app run on 10 pcs but I get this error only on 2 pcs

why?

Thanks

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: error oBrw:ToExcel
Posted: Tue Jan 09, 2024 05:07 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: error oBrw:ToExcel
Posted: Wed Jan 10, 2024 02:37 AM
We get this error with some versions of Excel.

We need to modify xbrowse.prg
Please locate this line of code in the method ToExcel()
Code (fw): Select all Collapse
oWin:FreezePanes := .t.
Replace with:
Code (fw): Select all Collapse
   TRY
      oWin:FreezePanes := .t.
   CATCH
   END
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion