::tocalc [Openoffice] not run!! Solved !!

::tocalc [Openoffice] not run!! Solved !!

Postby Eoeo » Tue Jun 12, 2012 9:57 am

ACTION :oGrid:ToCalc() not run ok it made this error !!!




Code: Select all  Expand view  RUN

Application
===========
   Path and name: C:\work\PRG\Family\main.Exe (32 bits)
   Size: 3,676,672 bytes
   Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6715)
   FiveWin  Version: FWHX 12.03
   Windows version: 5.1, Build 2600 Service Pack 2

   Time from start: 0 hours 0 mins 9 secs
   Error occurred at: 12-06-2012, 11:57:36
   Error description: Error BASE/1004  Class: 'NIL' has no exported method: HUMANPRESENTABLENAME
   Args:
     [   1] = U  

Stack Calls
===========
   Called from:  => HUMANPRESENTABLENAME( 0 )
   Called from: .\source\classes\XBROWSE.PRG => PASTEUNFORMATTEDTEXT( 7591 )
   Called from: .\source\classes\XBROWSE.PRG => TXBRWIN7:TOCALC( 7236 )
   Called from: source\PComuni.prg => (b)COMUNI( 257 )
   Called from: Lib\vtaskbar\VMenu.prg => TVMENU:EVALACTION( 1700 )
   Called from: Lib\vtaskbar\VMenu.prg => TVMENU:LBUTTONUP( 1398 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1690 )
   Called from: Lib\vtaskbar\VMenu.prg => TVMENU:HANDLEEVENT( 905 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3153 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 980 )
   Called from: source\main.prg => TAPPLICATION:ACTIVATE( 347 )
   Called from: source\main.prg => MAIN( 58 )
Last edited by Eoeo on Wed Jun 13, 2012 7:32 am, edited 1 time in total.
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: ::tocalc [Openoffice] not run!!

Postby anserkk » Wed Jun 13, 2012 6:06 am

Please make the following changes in xBrowse.Prg

Method ToCalc(), Line No:7076

Code: Select all  Expand view  RUN
DEFAULT nPasteMode:=1

Change to
Code: Select all  Expand view  RUN
DEFAULT nPasteMode:=2


Method ToCalc(), Line No : 7222

Code: Select all  Expand view  RUN
           if ! Empty( cText )
               cText += CRLF
            endif

Change to
Code: Select all  Expand view  RUN
           if ! Empty( cText )
               cText += Chr(13)
            endif


Method ToCalc(), Line No: 7255
Code: Select all  Expand view  RUN
oDispatcher:ExecuteDispatch(oBook:GetCurrentController():GetFrame(), ".uno:Paste", "", 0, aProp)

Change to
Code: Select all  Expand view  RUN
oDispatcher:ExecuteDispatch(oBook:GetCurrentController():GetFrame(), ".uno:Paste", "", 0, {})

Regards
Anser
User avatar
anserkk
 
Posts: 1333
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: ::tocalc [Openoffice] not run!! Solved !!!

Postby Eoeo » Wed Jun 13, 2012 7:32 am

ok NOW RUN !!!!
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: ::tocalc [Openoffice] not run!! Solved !!

Postby Eoeo » Thu Jun 14, 2012 8:06 am

Antonio,
pls save this modifies for the next fwh version
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: ::tocalc [Openoffice] not run!! Solved !!

Postby Antonio Linares » Thu Jun 14, 2012 3:38 pm

Added for next build, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42120
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Enrico Maria Giordano, Google [Bot] and 29 guests