FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Excel difference 32bit vs 64bit?
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Excel difference 32bit vs 64bit?
Posted: Mon Aug 01, 2016 10:19 AM
Hi,

In an 32bit version of my program, I use
Code (fw): Select all Collapse
 oSheet:Columns( 3 ):Set( "NumberFormat",  '0'     )


In the 64bit-version I get en error
Code (fw): Select all Collapse
   Compiler version: Harbour 3.2.0dev (r1603181642)
   FiveWin  Version: FWH 16.04
   Windows version: 6.2, Build 9200 

   Time from start: 0 hours 0 mins 4 secs 
   Error occurred at: 01/08/16, 12:17:39
   Error description: (DOS Error -2147352562) WINOLE/1007  Argument error: SET
   Args:
     [   1] = C   NumberFormat
     [   2] = C   0


Also with
Code (fw): Select all Collapse
oSheet:Cells( 1, 1 ):NumberFormat("@")


Is the another syntax I should use?
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Excel difference 32bit vs 64bit?
Posted: Mon Aug 01, 2016 11:12 AM

oSheet:Cells( 1, 1 ):NumberFormat :=
Please do not use it as a function.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion