topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
help to compile easyreport | [quote="Antonio Linares":3km901u7]Silvio,
Just download the files from the repository and the run go.bat
[url:3km901u7]https://bitbucket.org/fivetech/easyreport[/url:3km901u7]
that easy <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:3km901u7]
Antonio,
I dowmload it
and run go.bat
I modify go.bat and mak because I have all into c:\work folder
and I not use harbour but Harbour ( I have also a folder called harbour -the last version )
I use go.bat and here not run
I saw there is a xhp fuile to compile it with xmate but in this file xhp there are many files I not found in the repositorio folder, how I can make ?
this a snapshot
[img:3km901u7]http://www.eoeo.it/wp-content/uploads/2014/09/vrd_x.jpg[/img:3km901u7] |
help to compile easyreport | Silvio yo uso Xmate ....
Mi archivo de configuración : ereport.xhp
Usa notepad.exe copy - paste and save as report.xhp .... change config for yo .
[code=fw:18ypwqop]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><br /><span style="color: #000000;">[</span>Version<span style="color: #000000;">]</span><br />Type=xMate<br />Number=<span style="color: #000000;">1.15</span><br /><br /><span style="color: #000000;">[</span>Info<span style="color: #000000;">]</span><br />Type=Executable<br />Architecture=harbour+fwh104<br />Include=c:\fwh\include;c:\bcc582\include;c:\harbour\include<br /><span style="color: #0000ff;">Define</span>=<br /><br /><span style="color: #000000;">[</span>xMate<span style="color: #000000;">]</span><br />Create Map/List File=Yes<br /><br /><span style="color: #000000;">[</span>Project<span style="color: #000000;">]</span><br />Run=%HOME%\ereport.EXE<br />Params=<br /><span style="color: #00C800;">Final</span> Path=%HOME%\<br />Maintain LNK=Yes<br /><span style="color: #00C800;">Default</span> Type=<span style="color: #000000;">1</span><br />Error log=<br /><br /><span style="color: #000000;">[</span><span style="color: #00C800;">Data</span> Path<span style="color: #000000;">]</span><br />Dbf=<br /><br /><span style="color: #000000;">[</span>Editor<span style="color: #000000;">]</span><br />C:\easyreport\source\ereport.prg=<span style="color: #000000;">1</span>,N,Y<br />C:\easyreport\source\ertools.prg=<span style="color: #000000;">2</span>,N,N<br />C:\easyreport\source\erfile.prg=<span style="color: #000000;">3</span>,N,N<br /><br /><span style="color: #000000;">[</span>Files<span style="color: #000000;">]</span><br />%HOME%\source\ereport.prg=<span style="color: #000000;">1</span>,.F.,<span style="color: #000000;">2688</span>,<span style="color: #000000;">79</span>,<br />%HOME%\source\erfile.prg=<span style="color: #000000;">2</span>,.F.,<span style="color: #000000;">444</span>,<span style="color: #000000;">86</span>,<br />%HOME%\source\eritems.prg=<span style="color: #000000;">3</span>,.F.,<span style="color: #000000;">80</span>,<span style="color: #000000;">101</span>,<br />%HOME%\source\eritems2.prg=<span style="color: #000000;">4</span>,.F.,<span style="color: #000000;">23</span>,<span style="color: #000000;">14</span>,<br />%HOME%\source\ertools.prg=<span style="color: #000000;">5</span>,.F.,<span style="color: #000000;">1182</span>,<span style="color: #000000;">1</span>,<br />%HOME%\source\vrdbcode.prg=<span style="color: #000000;">6</span>,.F.,<span style="color: #000000;">21</span>,<span style="color: #000000;">93</span>,<br />%HOME%\source\vrditem.prg=<span style="color: #000000;">7</span>,.F.,<span style="color: #000000;">62</span>,<span style="color: #000000;">35</span>,<br />%HOME%\source\cfunc.c=<span style="color: #000000;">8</span>,.F.,<span style="color: #000000;">212</span>,<span style="color: #000000;">42</span>,<br />%HOME%\vrdPelles.rc=<span style="color: #000000;">9</span>,.F.,<span style="color: #000000;">377</span>,<span style="color: #000000;">104</span>,<br />%HOME%\source\setmask.c=<span style="color: #000000;">10</span>,.F.,<span style="color: #000000;">22</span>,<span style="color: #000000;">99</span>,<br />%HOME%\source\vrd.prg=<span style="color: #000000;">11</span>,.F.,<span style="color: #000000;">20</span>,<span style="color: #000000;">15</span>,<br />%C_LIB_INSTALL%\c0w32.obj=<span style="color: #000000;">12</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />c:\FWH\LIB\Fivehc.lib=<span style="color: #000000;">13</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />c:\FWH\LIB\Fiveh.lib=<span style="color: #000000;">14</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\rddfpt.lib=<span style="color: #000000;">15</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbsix.lib=<span style="color: #000000;">16</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbrtl.lib=<span style="color: #000000;">17</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbvm.lib=<span style="color: #000000;">18</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\rddcdx.lib=<span style="color: #000000;">19</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbrdd.lib=<span style="color: #000000;">20</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\rddntx.lib=<span style="color: #000000;">21</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hblang.lib=<span style="color: #000000;">22</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbmacro.lib=<span style="color: #000000;">23</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbdebug.lib=<span style="color: #000000;">24</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbcommon.lib=<span style="color: #000000;">25</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbpp.lib=<span style="color: #000000;">26</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\gtgui.lib=<span style="color: #000000;">27</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbpcre.lib=<span style="color: #000000;">28</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbcpage.lib=<span style="color: #000000;">29</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbwin.lib=<span style="color: #000000;">30</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbcplr.lib=<span style="color: #000000;">31</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\CW32.LIB=<span style="color: #000000;">32</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\IMPORT32.LIB=<span style="color: #000000;">33</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\uuid.lib=<span style="color: #000000;">34</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\psdk\odbc32.LIB=<span style="color: #000000;">35</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\psdk\rasapi32.LIB=<span style="color: #000000;">36</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\psdk\nddeapi.lib=<span style="color: #000000;">37</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\psdk\msimg32.lib=<span style="color: #000000;">38</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\PSDK\psapi.lib=<span style="color: #000000;">39</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\psdk\iphlpapi.lib=<span style="color: #000000;">40</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\rddads.lib=<span style="color: #000000;">41</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbct.lib=<span style="color: #000000;">42</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\xhb.lib=<span style="color: #000000;">43</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%C_LIB_INSTALL%\ws2_32.lib=<span style="color: #000000;">44</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbziparc.lib=<span style="color: #000000;">45</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbmzip.lib=<span style="color: #000000;">46</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\hbzlib.lib=<span style="color: #000000;">47</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\minizip.lib=<span style="color: #000000;">48</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />%HB_LIB_INSTALL%\png.lib=<span style="color: #000000;">49</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br />C:\fwh\lib\ace32.lib=<span style="color: #000000;">50</span>,.T.,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<br /><br /><br /> </div>[/code:18ypwqop] |
help to compile easyreport | Thanks Mastintin,
If I use [b:2el2ilkx] harbour[/b:2el2ilkx] I have this error
[1]:iLink32.Exe -Gn -aa -Tpe -s @ereport.bcl
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_HSETCASEMATCH' referenced from C:\WORK\FWH\LIB\FIVEH.LIB|DATABASE
if I use [b:2el2ilkx]xharbour[/b:2el2ilkx] I have this error
[1]:iLink32.Exe -Gn -aa -Tpe -s @ereport.bcl
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_CURDRIVE' referenced from C:\WORK\EASYREPORT\OBJ\EREPORT.OBJ |
help to compile easyreport | [quote="Silvio.Falconi":2h05efxe]Thanks Mastintin,
If I use harbour I have this error
[1]:iLink32.Exe -Gn -aa -Tpe -s @ereport.bcl
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_HSETCASEMATCH' referenced from C:\WORK\FWH\LIB\FIVEH.LIB|DATABASE
if I use xharbour I have this error
[1]:iLink32.Exe -Gn -aa -Tpe -s @ereport.bcl
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_CURDRIVE' referenced from C:\WORK\EASYREPORT\OBJ\EREPORT.OBJ[/quote:2h05efxe]
Tu mismo te respondiste aqui : <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=29108&p=164179&hilit=_HB_FUN_HB_HSETCASEMATCH%27#p164198">viewtopic.php?f=3&t=29108&p=164179&hilit=_HB_FUN_HB_HSETCASEMATCH%27#p164198</a><!-- l -->
no uso xHarbour pero seguro que es algo asi :
[code=fw:2h05efxe]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">function</span> hb_curdrive<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">Return</span> curdrive<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><br /> </div>[/code:2h05efxe] |
help to compile easyreport | yesssssssssssssssssssssssssssssssssssssss
I compile it now and I open a sampe test ... good I'm seeing...
thanks Mastintin you're fantastic my friend |
help to compile easyreport | Mastintin,
Er have the same problem of Myrpt
the line graphic dots are not show good instead I have a release of c5reprt of Paco where the vertical and horizoltal lines are showed good
Can you say this to Antonio ? |
help to compile easyreport | Puedes poner una imagen?
You can put an image? |
help to compile easyreport | Buenos días,
al tratar de construir Easyreport, al llegar a la compilación de recursos da el siguiente error:
[code=fw:3jr8hgx0]<div class="fw" id="{CB}" style="font-family: monospace;"> c:\develop\borland\bcc582\bin\brc32.exe -r -Ic:\develop\borland\bcc582\i<br />nclude ereport.rc<br />Borland <span style="color: #0000ff;">Resource</span> Compiler Version <span style="color: #000000;">5.40</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1990</span>, <span style="color: #000000;">1999</span> Inprise Corporation. All rights reserved.<br /><br />Error vrd.rc <span style="color: #000000;">115</span> <span style="color: #000000;">35</span>: <span style="color: #000000;">Invalid</span> bitmap format<br /><br />** error <span style="color: #000000;">20018</span> ** deleting ereport.res</div>[/code:3jr8hgx0]
Muchas gracias.
Saludos |
help to compile easyreport | Buenos dias
Descárgate de nuevo el repositorio
Borra el fichero .res
Y vuelve a generarlo |
help to compile easyreport | Cristobal,
lo acabo de descargar y le he dado a go.bat después de cambiar los paths en go.bat y ereport.mak, obteniendo el mismo resultado.
Muchas gracias.
Saludos |
help to compile easyreport | Cristobal,
he generado el fichero ereport.res con Resedit a partir de ereport.rc. Problema solucionado.
Muchas gracias.
Saludos |
help to compile easyreport | Es raro porque yo genero el .res con borland
Ese mensaje se obtiene habitualmente cuando uno de los bmps tiene canal alpha, y yo modifiqué los que he añadido para que no diera problemas
Saludos |
help to compile easyreport | [quote="cnavarro":hm4zn3xn]Puedes poner una imagen?
You can put an image?[/quote:hm4zn3xn]
Dear CNavarro,
If you can download the file from the list of c5ide.zop fivetech can' see the file informes.prg.
In this file there is a class Trptitem which controls the graphical objects of Paco designer Report.
The controls paco especially the vertical and horizontal lines are shown sharper and do not cover other objects that are near.
For example, I find it difficult to create vertical and horizontal lines with myrpt and Er.
Practically graphic objects Paco are used in the same way the graphic objects of FastReport
[img:hm4zn3xn]http://www.eoeo.it/wp-content/uploads/2014/10/newdots.jpg[/img:hm4zn3xn]
as you can see the dots are designed differently and the boxes and lines can be drawn more easily EChange and without cover objects that are close.
Sometimes on Er as in MyRpt that I do not see the exact point where to draw the line vertical or horizontal
I believe that it should not be difficult to implement the same class of paco in ER only for the most indispensable as the object Boxes and lines |
help to compile easyreport | Thanks for the info
I'll watch what he says
Le echaré un vistazo |
help to compile easyreport | He subido codigo que genera los Dots que propone Silvio ...
DotsSelect( hDC , nTop, nleft, nbottom, nRight )
Ahora falta mirar como quitamos todo el tema de ldrag y ponemos nuestro propio sistema ... me da que va a ser largo de implementar pero a la larga seguro que no funciona mejor . ¿ Quizas si derivamos la clase tcontrol ? |
help to compile easyreport | [quote="Silvio.Falconi":1uauh6xc][quote="cnavarro":1uauh6xc]Puedes poner una imagen?
You can put an image?[/quote:1uauh6xc]
Dear CNavarro,
If you can download the file from the list of c5ide.zop fivetech can' see the file informes.prg.
In this file there is a class Trptitem which controls the graphical objects of Paco designer Report.
The controls paco especially the vertical and horizontal lines are shown sharper and do not cover other objects that are near.
For example, I find it difficult to create vertical and horizontal lines with myrpt and Er.
Practically graphic objects Paco are used in the same way the graphic objects of FastReport
[img:1uauh6xc]http://www.eoeo.it/wp-content/uploads/2014/10/newdots.jpg[/img:1uauh6xc]
as you can see the dots are designed differently and the boxes and lines can be drawn more easily EChange and without cover objects that are close.
Sometimes on Er as in MyRpt that I do not see the exact point where to draw the line vertical or horizontal
I believe that it should not be difficult to implement the same class of paco in ER only for the most indispensable as the object Boxes and lines[/quote:1uauh6xc]
He realizado un cambio para que coloque dots similares . He mirado e implementar el sistema que usa c5ide supondría reconstruir todo <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> .
Uno de los problemas es que no quiero incluir el codigo de control.prg en el proyecto por 2 motivos ... 1.- tiene copyring . 2.- puede sufir mejoras y cambios que perderíamos , asi que he hecho un apaño que podemos mejorar. ( faltan las lineas punteadas ) . |
help to compile easyreport | Manuel, si seleccionas un item en un area, pulsas en otro area, y vuelves a la anterior, el item se desplaza (aún sin estar marcado ya) |
help to compile easyreport | I think no need Tcontrol new
But a Mother class TItem as Tcontrol
and the box and line can be the son classes
If you see the Paco source code you'll see a TrptItem ( mother) and many other subclasses
I think there is not copyrights because Paco donated the source to linares |
help to compile easyreport | Silvio.
El problema no es tItem sino las clases tsay,timage,etc, que derivan del tcontrol original ... tendríamos que derivar cada una de esas clases ( como hace Paco ) y añadir su propio metodo checkdots() y showdots() . Se puede hacer y el codigo de Paco es libre , pero sería bueno realizarlo en un fork independiente , para mi que es un "divertimento en tiempos libres " es demasiado <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> , asi que si te animas todos estaremos atentos a tus progresos . |
help to compile easyreport | [quote="cnavarro":3vo50vhm]Manuel, si seleccionas un item en un area, pulsas en otro area, y vuelves a la anterior, el item se desplaza (aún sin estar marcado ya)[/quote:3vo50vhm]
Creo que he conseguido fijar el bug. He subido código nuevo. |
help to disable taskmanagerof windows | How I can make to block the pssibility to enable/disable taskmanager of windows if I press ctrl+alt+del ?
How I can disable also the Ctrl+c press keys ? |
help to disable taskmanagerof windows | I resolve it |
help to disable taskmanagerof windows | [code:1gpdy4ub]
/*
// Antonio Carlos Pantaglione
// Toninho@fwi.com.br
// Ago/2001
#include "fivewin.ch"
procedure main()
CtrlAltDel( .f. )
MsgAlert( "CTRL-ALT-DEL DESLIGADO" + CRLF + "Please, press CTRL + ALT + DEL", "Desligado" )
CtrlAltDel( .t. )
MsgAlert( "CTRL-ALT-DEL LIGADO" + CRLF + "Please, press CTRL + ALT + DEL", "Ligado" )
return
*/
// Antonio Carlos Pantaglione
// Toninho@fwi.com.br
// Ago/2001
/*
#include "fivewin.ch"
#include "dll.ch"
//----------------------------------------------------------------------------//
Procedure CtrlAltDel( lState )
if !lState
SysParInfo( 97, 1, 0, 0 )
else
SysParInfo( 97, 0, 0, 0 )
endif
return
//----------------------------------------------------------------------------//
dll32 static function SysParInfo( uAction AS LONG, uParam AS LONG, vParam AS LONG, uWinIni AS LONG ) ;
AS LONG PASCAL FROM "SystemParametersInfoA" LIB "User32.dll"
//----------------------------------------------------------------------------//
*/
[/code:1gpdy4ub] |
help to disable taskmanagerof windows | Silvio.
How you solve it? because the source from Karinha don't work in a WINXP
Thanks |
help to migrate do vc++ harbour uestudio (Tim Otto) | Hi,
I have some older projects that I would like to upgrade, wanted to do step by step because I do not have much time available
1) pass to harbour (are in xharbour)
2) pass for ms vc ++ express desktop (are in bcc582)
3) switch to using the uestudio, it has the resource editor included, can I use for our systems? have to change someting in rc? What is the resource that are using? can anyone put an updated script here of uestudio?
does anyone have a basic schedule, how to do it? It seems that Tim and Otto did this migration, could put something here?
should I do in that order up or have another better? i want make it step by step in idle time.
thanks |
help to migrate do vc++ harbour uestudio (Tim Otto) | I was studying these older RC made with the BRW in dialogs they have an order of the controls, which you can change, then went to see the new, made with pelles, no longer has that option, I missed something?
thanks |
help to migrate do vc++ harbour uestudio (Tim Otto) | Norberto,
I am sorry. I use xharbour and bcc582 exclusively.
I plan to switch to harbour (as Antonio suggests harbour).
But till I have out the WINHOTEL metro inspired version I don’t touch anything. All is setup so well at the moment.
No problems at all.
Best regards,
Otto |
help to migrate do vc++ harbour uestudio (Tim Otto) | Otto, thank, i guess Tim make this change. |
help to migrate do vc++ harbour uestudio (Tim Otto) | Norberto,
I don't use uestudio but I migrated from xHarbour to harbour a couple of years ago without problem. I've been successfully using msvc10 for more than a year now. Actually I use any compiler because I use a bat file with hbmk2.exe from Harbour that helps a lot. All my projects are built under the same structure:
d:\fwh (FIVEWIN)
d:\MSVS10 (MS VC 10)
D:\hbmsvc10 (harbour for msvc)
d:\Projetos\MyProject
d:\Projetos\MyProject\Sources (prg files)
d:\Projetos\MyProject\Res (res + bmp ico etc)
d:\Projetos\MyProject\Inc (ch files)
m.bat in d:\Projetos\MyProject
[code=fw:1vcxbwlc]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET LIB=D:\MSVS10\SDK\v7.0A\Lib;D:\MSVS10\Lib<br />SET PATH=D:\MSVS10\bin;D:\hbmsvc10\bin\;D:\MSVS10\Common7\IDE;D:\MSVS10\SDK\v7.0A\bin;C:\WINDOWS;C:\WINDOWS\SYSTEM32<br />hbmk2 -run -inc -ldflag=/FORCE:<span style="color: #000000;">MULTIPLE</span> -<span style="color: #0000ff;">iD</span>:\fwh\include -<span style="color: #0000ff;">iD</span>:\MSVS10\SDK\v7.0A\Include -<span style="color: #0000ff;">iD</span>:\MSVS10\include -i.\INC MyProject.hbm D:\FWH\fwhc32.hbc<br /> </div>[/code:1vcxbwlc]
MyProject.hbm in d:\Projetos\MyProject
[code=fw:1vcxbwlc]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SOURCES\FILE_01<br />SOURCES\FILE_02<br />---<br />SOURCES\FILE_NN<br />RES\MyProject.rc<br /> </div>[/code:1vcxbwlc]
fwhc32.hbc in d:\FWH
[code=fw:1vcxbwlc]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #000000;">{</span>win<span style="color: #000000;">}</span>gt=gtgui<br /><span style="color: #000000;">{</span>win<span style="color: #000000;">}</span>libs=KERNEL32 USER32 GDI32 WINSPOOL COMCTL32 COMDLG32 ADVAPI32 SHELL32 OLE32 OLEAUT32 UUID ODBC32 ODBCCP32 IPHLPAPI MPR VERSION WSOCK32 MSIMG32 OLEDLG PSAPI GDIPLUS WINMM<br /><span style="color: #000000;">{</span>win<span style="color: #000000;">}</span>libs=HBWIN HBCT HBMEMIO PNG HBTIP XHB HBMISC<br />#HBTIPSSL<br /><span style="color: #000000;">{</span>win<span style="color: #000000;">}</span>libs=D:\FWH\LIB\FIVEHC32 D:\FWH\LIB\FIVEH32 D:\FWH\LIB\DOLPHINVC D:\FWH\LIB\libmysqlM<br /> </div>[/code:1vcxbwlc]
You can add any needed lib to fwhc32.hbc
I don't remember any work to be done on rc files. I use the same files with the 3 compilers. Linking XHB.lib should cover the specific functions from xHarbour. |
help to migrate do vc++ harbour uestudio (Tim Otto) | Norberto,
FWH provides a samples/buildh32.bat to use MSVC 2010. We also have it for 2012. Inside it you can see what files to link and the link flags, etc.
We also have settings files for UEStudio so you can automatize building from it. Have a look at FWH/UEStudio/FWH.zip |
help to migrate do vc++ harbour uestudio (Tim Otto) | Norberto,
First, FWH and Harbour 3.0 work fine with MSVC 2010 ! I have not tried it with 2012.
I do not use a resource designer any longer. I simply edit the values in my RC file manually. That way I am absolutely positive that every control is lined up exactly. Once you understand the format of a control, you can go through and quickly edit so everything is uniform ( height, width, location ). Initially you will just clean up what your created with Borland. When you go to add a new control, it will become very easy to just type it in. However, UE Studio does have a resource tool that you can use.
I do have UE Studio and use its makefile/build system. Most people use external make files and that works fine for them. You can link a button in your project to call an external makefile. In mine, I maintain an older xHarbour and the current Harbour versions. I have a link to run the xBuild program, and use UE Studio's Build option to create a Harbour .exe. Two clicks and I get both builds. That's pretty nice.
Antonio gave you the resources. Because I don't monitor this forum throughout the day, you might want to contact me via email, or chat via Lync.
Tim |
help upgrade FWH32 | i compiled my app but get this error:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external 'AlphaBlend' referenced from C:\FWH\LIB\FIVEHC.LIB|BRUSHES
Error: Unresolved external 'TransparentBlt' referenced from C:\FWH\LIB\FIVEHC.LIB|C5CNEW
Error: Unresolved external 'GetModuleFileNameExA' referenced from C:\FWH\LIB\FIVEHX.LIB|GETTASKS
Error: Unresolved external '_HB_FUN_LOG10' referenced from C:\FWH\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_FLOOR' referenced from C:\FWH\LIB\FIVEHX.LIB|VALTOSTR
...help |
help upgrade FWH32 | Try to link msimg32.lib.
EMG |
help upgrade FWH32 | stessi errori |
help upgrade FWH32 | Damiano,
Please check FWH\samples\buildh.bat (Harbour) or buildx.bat (xHarbour) to see the libs to link.
You have to link Borland PSDK\psapi.lib too
Also hbct.lib from Harbour |
help upgrade FWH32 | ok... <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
help urgent : XBROWSE EDIT | is possible EDIT on XBrwose Directly a DATE FIELD ?
is possible open a dtpicker control when I click on this field ?
can I use a edit_listbox with dtpicker control ?
is possible put different color on each lines of xbrowse ?
I made :
[code:31g0816i]oApp():oGrid:nClrPane :={|| IF(( oApp():oGrid:cAlias)->(OrdKeyNo())%2==0,CLR_LGREEN,CLR_LGRAY)}[/code:31g0816i]
[b:31g0816i]but it not run ok [/b:31g0816i]
Can you write an sample ? |
help urgent : XBROWSE EDIT | Silvio,
This is what I use with TWBrowse to get alternating row colors. This works with filters, indexes, and deleted records. It should work with TXBrowse also.
James
[code:2ch1r1kg]lClrFlag:=.f.
oLbx:bSkip:={| nRecs | (nRecs:= ::oInvmast:skipper( nRecs ), lClrFlag:=if(nRecs/2 = int(nRecs/2), lClrFlag,!lClrFlag), nRecs) }
oLbx:nClrPane := { || if(lClrFlag, rgb(255,255,235), rgb(192,208,179)) }
[/code:2ch1r1kg] |
help urgent : XBROWSE EDIT | Mr. James
Can you give me full example ?
How to put this code on tx or tw class
Thank's
Regards
Areang |
help urgent : XBROWSE EDIT | [code:wnmhhps1] define window oWnd
use customer
database oCust
@ 0,0 listbox oLbx fields oCust:company, oCust:address alias oCust:cAlias of oWnd
lClrFlag:=.f.
oLbx:bSkip:={| nRecs | (nRecs:= ::oCust:skipper( nRecs ), lClrFlag:=if(nRecs/2 = int(nRecs/2), lClrFlag,!lClrFlag), nRecs) }
oLbx:nClrPane := { || if(lClrFlag, rgb(255,255,235), rgb(192,208,179)) }
oWnd:oClient:= oCust
activate window oWnd[/code:wnmhhps1] |
help urgent : XBROWSE EDIT | Silvio,
I use :
oBrw:bClrStd := {|| {CLR_BLACK, iif( oBrw:nArrayAt % 2 = 0, CLR_1, CLR_2 ) } }
Frank |
help urgent : XBROWSE EDIT | thanks franks
I resolve for the colors ....
but i have the last problem
I want edit the field into xbrowse , the field is a date() type , How I can create a codeblock use with onpostedit clausole ? |
help urgent : XBROWSE EDIT | Mr. James
Thank's for help
Regards
Areang |
help with PNG print | hi to all,
I have my PRG that prints a lot of PNG files (about 500).
Function reads a TXT file whit PNG list and then print PNG inside FOR NEXT, thisi is code:
[code=fw:2cngrtvd]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">PRINT</span> oPrn <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"PNG files"</span> PREVIEW<br />...<br /><span style="color: #00C800;">for</span> x = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> n<br />...<br /> codice = oText:<span style="color: #000000;">ReadLine</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// this function get in cNomeFilePng .PNG file to print</span><br /> mrp006Bmp<span style="color: #000000;">(</span>codice, @cNomeFilePNG<span style="color: #000000;">)</span><br /><br /> aBmp := WndReadPalBmpEx<span style="color: #000000;">(</span><span style="color: #00C800;">nil</span>, cNomeFilepng<span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// from here</span><br /> <span style="color: #00C800;">if</span> BmpHeight<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span> <> <span style="color: #000000;">0</span><br /> nZoomH = <span style="color: #000000;">1250</span> / BmpHeight<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /><br /> <span style="color: #00C800;">if</span> nBmpWidth<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span> <> <span style="color: #000000;">0</span><br /> nZoomW = <span style="color: #000000;">2770</span> / nBmpWidth<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span> <br /><br /> <span style="color: #00C800;">if</span> nZoomW >= nZoomH<br /> nFattore = nZoomH<br /> <span style="color: #00C800;">else</span><br /> nFattore = nZoomW<br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #B900B9;">// to here I get in nFattore the zoom factor</span><br /><br /> <span style="color: #B900B9;">// here resize originale .PNG</span><br /> u := ResizeBitmap<span style="color: #000000;">(</span> aBmp<span style="color: #000000;">[</span> <span style="color: #000000;">1</span> <span style="color: #000000;">]</span>, nBmpWidth<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span>*nFattore, BmpHeight<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span>*nFattore, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> <br /><br /> DeleteObject<span style="color: #000000;">(</span> aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span><br /> aBmp<span style="color: #000000;">[</span> <span style="color: #000000;">1</span> <span style="color: #000000;">]</span> := u <br /><br /> <span style="color: #B900B9;">// in nRigaBmp and nColonnaBmp there is row and column to prin PNG</span><br /> nRigaBmp = <span style="color: #000000;">314</span> + <span style="color: #000000;">(</span><span style="color: #000000;">(</span><span style="color: #000000;">1259</span>-<span style="color: #000000;">(</span>BmpHeight<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span>/<span style="color: #000000;">2</span><span style="color: #000000;">)</span><br /> nColonnaBmp = <span style="color: #000000;">3377</span> + <span style="color: #000000;">(</span><span style="color: #000000;">(</span><span style="color: #000000;">2780</span>-<span style="color: #000000;">(</span> nBmpWidth<span style="color: #000000;">(</span>aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span>/<span style="color: #000000;">2</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// print PNG resized</span><br /> DrawBitmap<span style="color: #000000;">(</span>oPrn:<span style="color: #000000;">hDCOut</span>, aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>, nRigaBmp ,nColonnaBmp,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,SCRINVERT<span style="color: #000000;">)</span> <span style="color: #B900B9;">// SCRINVERT</span><br /><br /> <span style="color: #B900B9;">// and delete objects</span><br /> DeleteObject<span style="color: #000000;">(</span> aBmp<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span><br /> DeleteObject<span style="color: #000000;">(</span> aBmp<span style="color: #000000;">[</span><span style="color: #000000;">2</span><span style="color: #000000;">]</span><span style="color: #000000;">)</span><br /> DeleteObject<span style="color: #000000;">(</span> u <span style="color: #000000;">)</span><br /><br /> * then I <span style="color: #00C800;">print</span> others informations...<br />...<br /><br /><span style="color: #00C800;">next</span></div>[/code:2cngrtvd]
Print Preview works with about 200 files but with 500 files I get print preview with empty pages.
I think that is a memory issue due to bmp object, maybe deleteobject does not work.
Can you help me? |
help with PNG print | SCRINVERT ?
Should it not be SRCINVERT? |
help with PNG print | I defiened SCRINVERT on top of prg:
[code=fw:ontnd1ng]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">define</span> SCRCOPY 0x00CC0020<br /><span style="color: #00D7D7;">#define</span> SCRINVERT 0x00660046</div>[/code:ontnd1ng] |
help with XBROWSE and ADO | hi guys,
with function trovafortp() I get my recordset and then it' ok in REDEFINE BROWE oBrw. then I would like to change my search with m_g110 and press ok(ID 01) but
oBrw not change and get error.
this is my code:
[code=fw:2kpu104q]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oCn := FW_OpenAdoConnection<span style="color: #000000;">(</span> Connessione, .t.<span style="color: #000000;">)</span><br />trovafortp<span style="color: #000000;">(</span>@oRs,@oCn,@Tuple,@lUno,@m_g110<span style="color: #000000;">)</span><br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Courier new"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">-12</span><br /><br /><span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> sw1<br /> <br /> <span style="color: #00C800;">if</span> oRs <> <span style="color: #00C800;">Nil</span><br /> <br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg2 <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"ANAGRA"</span> <span style="color: #0000ff;">FONT</span> oFont<br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> o_g110 <span style="color: #0000ff;">VAR</span> m_g110 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">OF</span> oDlg2 ;<br /> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"</span><br /> <br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw CELL LINES RECORDSET oRs <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oDlg2<br /><br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> BtnEsc <span style="color: #0000ff;">ID</span> <span style="color: #000000;">01</span> <span style="color: #0000ff;">OF</span> oDlg2 ;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>trovafortp<span style="color: #000000;">(</span>@oRs,@oCn,@Tuple,@lUno,@m_g110<span style="color: #000000;">)</span>,oBrw:<span style="color: #0000ff;">Update</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>, oDlg2:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span> <br /> <br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> BtnEsc <span style="color: #0000ff;">ID</span> <span style="color: #000000;">11</span> <span style="color: #0000ff;">OF</span> oDlg2 ;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>oRs:<span style="color: #000000;">Close</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>, sw1 := .f., oDlg2:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span> <br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">dialog</span> oDlg2<br /> <br /> <span style="color: #00C800;">else</span><br /> <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"tuple errata"</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /> <br /><span style="color: #00C800;">Enddo</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br /><br /><span style="color: #00C800;">function</span> trovafortp<span style="color: #000000;">(</span>oRs,oCn,tuple,lUno,m_g110,oBrw<span style="color: #000000;">)</span><br /><br />tuple := <span style="color: #ff0000;">"Select FIEDL1 as CUST, DESFIELD as DESC "</span>+;<br /> <span style="color: #ff0000;">"FROM FILE "</span>+;<br /> <span style="color: #ff0000;">"WHERE FIELD2 >= '"</span>+m_g110+<span style="color: #ff0000;">"' "</span>+;<br /> <span style="color: #ff0000;">"ORDER BY DESC "</span><br /><br />oRs := FW_OpenRecordSet<span style="color: #000000;">(</span> oCn, tuple, <span style="color: #000000;">1</span> <span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">if</span> oRs = <span style="color: #00C800;">Nil</span><br /><span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"ERROR"</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br /> </div>[/code:2kpu104q]
and this is error:
Application
===========
Path and name: C:\MyEXE.exe (32 bits)
Size: 2,093,056 bytes
Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 9421)
FiveWin Version: FWHX 11.12
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 13 secs
Error occurred at: 06-03-2017, 15:35:55
Error description: Error ADODB.RecordSet/6 DISP_E_UNKNOWNNAME: RECORDCOUNT
Args:
Stack Calls
===========
Called from: => TOLEAUTO:RECORDCOUNT( 0 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETADO( 4277 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 1381 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 1250 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1666 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11627 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3159 )
Called from: => DIALOGBOX( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 270 )
Called from: trovafor.prg => TROVAFOR( 40 )
....
thank for your reply.
Damiano |
help with XBROWSE and ADO | [code=fw:1gagas5h]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> BtnEsc <span style="color: #0000ff;">ID</span> <span style="color: #000000;">01</span> <span style="color: #0000ff;">OF</span> oDlg2 ;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>trovafortp<span style="color: #000000;">(</span>@oRs,@oCn,@Tuple,@lUno,@m_g110<span style="color: #000000;">)</span>, ;<br /> oBrw:<span style="color: #000000;">oRs</span> := oRs, oBrw:<span style="color: #000000;">GoTop</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>, oDlg2:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <br /> </div>[/code:1gagas5h] |
help with XBROWSE and ADO | it work!
thank you nageswaragunupudi!!! |
help with XBROWSE and ADO | Another question:
in function trovafortp(oRs,oCn,tuple,lUno,m_g110,oBrw) should I close the oRs connection and then oRs := FW_OpenRecordSet( oCn, tuple, 1 )?
thank...
Damiano |
help with fwh1101 | Hi, need help with the following items:
1) in the preview, when I click save as pdf or word, the program closes.
2) buttons on the buttonbar, after moving to 1101, the bottom of the buttons is not the color of the bar.
none of this happened with FWH10.12.
fwh1101, xharbour cvs, bcc 582
windows 7 pro , sp1 , 64 bits.
thanks |
help with fwh1101 | Hi,
perhaps the same prob as described here: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=20953">viewtopic.php?f=3&t=20953</a><!-- l -->?
And because of an subsequent (same?) errror in the error code, your (my) app close without a message. |
help with fwh1101 | Frose, thanks, no one can help us to solve this? the only solution is back to old version? and about buttons in buttonbar, downgrade too? can i only disable this new buttons in preview? if yes how?
thanks |
help with fwh1101 | Noberto,
for me it works with: [code=fw:1rcjfq3q]<div class="fw" id="{CB}" style="font-family: monospace;">AEval<span style="color: #000000;">(</span> oBar:<span style="color: #000000;">aControls</span>, <span style="color: #000000;">{</span> | oBtn | oBtn:<span style="color: #000000;">lBarBtn</span> := .F. <span style="color: #000000;">}</span> <span style="color: #000000;">)</span></div>[/code:1rcjfq3q], but of course, I want the button bar without borders again in the nearest future <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> |
help with fwh1101 | Bumped up for Daniel |
help with fwh1101 | [quote="norberto":2a5jungu]Hi, need help with the following items:
1) in the preview, when I click save as pdf or word, the program closes.
[/quote:2a5jungu]
Norberto...
can you supply a self container samples to see the error... thanks
are you using fwh64??
2) buttons on the buttonbar, after moving to 1101, the bottom of the buttons is not the color of the bar.
this work fine... the button is same color the buttonbar |
help with harbour again... | hello, I'm trying to convert my systems for harbour, but despite already tried everything suggested here on the forum, and reviewed several examples (including examples compile and run well), my program compiles without error, but also not running, it runs, he did not do anything, not even a message. will be something I use on the ads? 3rd class?? appreciate some help.
obs: works fine with xharbour cvs.
i am using fwh911, bcc 551, harbour 2.0
thanks
norberto |
help with harbour again... | Norberto,
if you are using a real large PRG file, then try to split it into several PRGs.
It is an error that we have recently seen with Harbour only when compiling very large PRGs. |
help with harbour again... | Antonio, i have several modules, but the main module is small, have only main procedure, definitions, menus...
i put an msginfo after any thing, and nothing...
thanks
norberto |
help with harbour again... | Norberto,
If you email us your PRGs and make file, we can try it here <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Please use a ZIP file renamed as ZOP |
help with harbour again... | Norberto,
Can you compile anything?
Try this:
[code=fw:1tennn5y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> oWnd<br /> <span style="color: #0000ff;">define</span> <span style="color: #0000ff;">window</span> oWnd<br /> <span style="color: #0000ff;">activate</span> <span style="color: #0000ff;">window</span> oWnd<br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:1tennn5y]
Regards,
James |
help with pictures | hi, some time ago i see an demo to show picture like gallery, someone remember the name of sample? thanks
norberto |
help with pictures | Noberto,
it was no Demo, it was a Tool to show a Imagelist with xBrowse.
Zoom- , copyfunctions and more ...
Is that what You mean ?
[img:2n66jpnc]http://www.pflegeplus.com/pictures/Imgbrw1.jpg[/img:2n66jpnc]
Best Regards
Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
help with pictures | ukoenig, thanks, but no, i search an class of fivewin to make a gallery, like iphone photos. i dont remember name of class. |
help with pictures | Hello Norberto,
I think it is: TCoverFlow.
Best regards,
Otto |
help with pictures | Otto, very thanks, i search all day in samples without found. thanks |
help with ribbon please (edited) | someone could give me a help with the ribbon?
as the figure :
[url=http://imageshack.us/photo/my-images/43/ribbonz.jpg/:bwcl45in][img:bwcl45in]http://img43.imageshack.us/img43/5504/ribbonz.jpg[/img:bwcl45in][/url:bwcl45in]
1) I wanted to stretch the tabs (vertical), would make this adjustment?
2) put these buttons to the right of the ribbon, adjusting as I change the size of the window.
3) put these buttons up in the window
and by last, use the color scheme of word 2010. ==> i see clause 2010, but dont match with colors of office 2010
Thank very much |
help with tfsdi 2006 | I download tfsdi 2006 from <!-- m --><a class="postlink" href="http://www.avemundi.com/archivos/fsdi2006.zip">http://www.avemundi.com/archivos/fsdi2006.zip</a><!-- m -->
it use Vtaskbar lib
When I compiled it make error conditional
Can you help me pls..?
-------------------- |
help with xbrowse | Hi, how I can make this background transparent?
REDEFINE TABS oPags ID 1001 OF oDlg ;
PROMPTS "Nome", "Cnpj/Cpf";
ACTION TrocaIndice(oPags:nOption,oDlg);
COLOR Frente,Fundo
[img:37wlob8i]http://imageshack.com/scaled/800x600/199/0mm7.jpg[/img:37wlob8i]
Thanks. |
help with xbrowse | Wanderson
Don't know if you can make the Tab bar transparent, but you can go into your resource editor and shorten the length of the bar to the approximate length of your of your tabs.
Curious myself if anyone has an answer....
Rick Lipkin |
help with xbrowse | [quote="Rick Lipkin":1zdgvgpt]Wanderson
Don't know if you can make the Tab bar transparent, but you can go into your resource editor and shorten the length of the bar to the approximate length of your of your tabs.
Curious myself if anyone has an answer....
Rick Lipkin[/quote:1zdgvgpt]
Thanks Rick, like your tip but I use the same dialog/xbrowse to display others dbfs files that have diferent indexes. Do you know how I can resize the tab in execution? |
help with xbrowse | Hi,
I have this function below that is executed when I press f2 in get. As soon as I type something the search is done correctly and brings me only the results that are part of the searched string. The problem is that when I close the window and open it again, it already brings me the previous search, how can I reset the search?
Thanks in advance!
Static Function ListaCon2()
oPlano:SetOrder("DESCRICAO")
oPlano:OrdScope(0,Nil)
oPlano:OrdScope(1,Nil)
oPlano:GoTop()
DEFINE DIALOG oDlgConta RESOURCE "LISTACONTA2"
Lista10 := TXBrowse():New( oDlgConta )
Lista10:nMarqueeStyle := MARQSTYLE_HIGHLROW
Lista10:nColDividerStyle := LINESTYLE_BLACK
Lista10:nRowDividerStyle := LINESTYLE_BLACK
Lista10:CreateFromResource( 109 )
oCol:= Lista10:AddCol()
oCol:bStrData := { || PLANO->CODIGO}
oCol:cHeader := "CÓDIGO"
oCol:= Lista10:AddCol()
oCol:bStrData := { || PLANO->DESCRICAO}
oCol:cHeader := "DESCRIÇÃO"
oCol:= Lista10:AddCol()
oCol:bStrData := { || PLANO->DC}
oCol:cHeader := "D/C"
Lista10:l2007:=.t.
Lista10:cAlias := "PLANO"
Lista10:nStretchCol := STRETCHCOL_LAST
Lista10:lSeekBar := .T.
Lista10:lIncrFilter := .T.
Lista10:lSeekWild := .T.
Lista10:lAutoSort := .T.
Lista10:lFastEdit := .T.
lista10:aCols[1]:cOrdBag := "PLANO"
Lista10:aCols[1]:cSortOrder := "CODIGO"
lista10:aCols[2]:cOrdBag := "PLANO"
Lista10:aCols[2]:cSortOrder := "DESCRICAO"
Lista10:bKeyDown:={|nKey| IIF(nKey=VK_RETURN,SelConta(Lista10),)}
REDEFINE BUTTONBMP botao12 ID 121 of oDlgConta BITMAP "CANCELAR" Cancel Action oDlgConta:End() TEXTRIGHT
ACTIVATE DIALOG oDlgConta CENTERED ON INIT Zera()
Return .t. |
help with xmate | Hi everyone;
Thanks to other fw users I'm finally using xmate to create my projects. I still prefer uestudio as an editor, but love the way xmate creates my apps. Too bad the project has been abandoned.
But there is still one thing I haven't been able to do. I need to execute an external app (call it x.exe) as part of my compilation script. Have no idea how to achieve this with xmate.
Can anyone help?
Reinaldo. |
help with xmate | XMate provides for execution of user commands, after successful linking. This command can be set for each environment, but not for each project separately.
In the Architechture Environment Dialog, select User Commands tab and enter the command to be executed.
This command is executed only after successful linking but not before.
Another probable way is the alter the linking command to execute our batch file which executes our command also in addtion to the linker command. I have not tested this, but this should be possible. Even this can be set for an environment as a whole for not for different projects separately. |
help with xmate | you must go to enviroment setup
and on six folder you can insert to a first field the x.exe
sample :
I use a compress exe to compress my exe
c:\work\bin\compress.bat %EXE% |
help with xmate | Mr. R.
Thank you. That almost works. Actually, is good enough for now. Let me explain:
I intend to use it for versioning control. Just before compiling, I'd like to execute a small app that reads the svn version being used to build the application. The app reads the svn version from the repository-sandbox and creates a short include file that is included from the main app being compiled and used on the about() function that displays the version number among other information.
The xmate option to execute an external app, gets executed just after successful linking, thus it is a bit too late. However, I could execute the compile twice for versions that are intended to be distributed. Not perfect, but it would work.
Now that you see my intentions, if you have any other ideas, please do share them. Thank you.
Reinaldo. |
help with xmate | I understand your requirement. XMate does not provide this directly. Your solution to execute xmate twice is a good solution for the present.
Hope you are taking care of this issue, that xmate does not force recompilation if only include files are modified.
Another solution that comes to my mind now is that we may change the compiler settings for Harbour. Instead of invoking harbour.exe, we can invoke our own program or batch file, which first does your job and then invokes harbour.exe. Also this should create the include file once the first time it is invoked.
Any other ideas are welcome. |
help with xmate | perhaps you can insert a command before the linker command
I try to insert a exe with parameter and it seems to run
Now I not Know how you want really
but before to link it run the command i insert it |
hex color | Can I use a hex color sample 0xFFFF00
How I can converte it into rgb color ? |
hex color | [url:29lro0de]http://wiki.fivetechsoft.com/doku.php?id=fivewin_functions_by_category[/url:29lro0de] |
hex color | [code=fw:1gf83jto]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">function</span> cHex2aRgb<span style="color: #000000;">(</span> cHexColor <span style="color: #000000;">)</span><br /><span style="color: #00C800;">local</span> nR,nG,nB<br /><span style="color: #00C800;">local</span> aRgb<br /><br /> <span style="color: #00C800;">if</span> <span style="color: #0000ff;">left</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">1</span><span style="color: #000000;">)</span> == <span style="color: #ff0000;">"#"</span><br /> cHexColor := <span style="color: #0000ff;">substr</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">2</span>,len<span style="color: #000000;">(</span>cHexColor<span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span> <br /><br /> <span style="color: #00C800;">if</span> len<span style="color: #000000;">(</span>cHexColor<span style="color: #000000;">)</span> == <span style="color: #000000;">3</span><br /> nR = ft_Hex2Dec<span style="color: #000000;">(</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> nG = ft_Hex2Dec<span style="color: #000000;">(</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">2</span>,<span style="color: #000000;">1</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> nB = ft_Hex2Dec<span style="color: #000000;">(</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">3</span>,<span style="color: #000000;">1</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">else</span><br /> nR = ft_Hex2Dec<span style="color: #000000;">(</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> nG = ft_Hex2Dec<span style="color: #000000;">(</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">3</span>,<span style="color: #000000;">2</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> nB = ft_Hex2Dec<span style="color: #000000;">(</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">(</span>cHexColor,<span style="color: #000000;">5</span>,<span style="color: #000000;">2</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /> aRgb := <span style="color: #000000;">{</span>nR, nG, nB <span style="color: #000000;">}</span><br /><br /> <span style="color: #00C800;">return</span> aRgb; <span style="color: #B900B9;">// returns an array with the rgb values</span><br /><br /> </div>[/code:1gf83jto] |
hex color | Ciao Silvio,
[quote="Silvio.Falconi":1abfz03v]Can I use a hex color sample 0xFFFF00
How I can converte it into rgb color ?[/quote:1abfz03v]
Colors are longs with 3 components. Written in Hexadecimal the look like 0x<BB><GG><RR>, because longs are stores with less significan bytes first.
Have you tried to use it 'as is', changing the order? I mean
[code=fw:1abfz03v]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"My color test"</span> COLORS <span style="color: #000000;">0</span>, 0x00FFFF<br /><br /> </div>[/code:1abfz03v] |
hex color | [url:1pnwy4n1]http://www.nthelp.com/colorcodes.htm[/url:1pnwy4n1]
[url:1pnwy4n1]http://www.cs.utah.edu/~germain/PPS/Topics/color.html[/url:1pnwy4n1]
[url:1pnwy4n1]https://gist.github.com/tommyettinger/6877456[/url:1pnwy4n1] |
hi buildhm comfile error... | Hi all.
buildhm comfile error help me....
[code:26suww8r]
#include "FiveWin.ch"
#include "RichEdit.ch"
FUNC main()
publ oGet, aGet
DEFINE WINDOW oWndC OF oWnd PIXEL TITLE ""
oGet := TRichEdit():New( 10, 550, { || "" }, oWndC, 464, 674, , .t., , , .t. )
oGet:lHighLight = .f.
ACTIVATE WINDOW oWndC MAXIMIZED
RETU NIL
[/code:26suww8r]
/*
Compiling...
Harbour devel build 1.1-0 Intl.
Copyright 1999-2007, <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Compiling 'main.prg' and generating preprocessed output to 'main.ppo'...
Generating C source output to 'main.c'... Done.
main.c
Creating library main.lib and object main.exp
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_RESETZOOM
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_REGETOLEINTERFACE
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_RESETOLECALLBACK
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_RESETOLEUNINIT
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_RESETOLEINIT
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_REPASTESPECIAL
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_REPAGEBREAK
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_REINSERTPICTURE
FiveHm.lib(TRICHEDI.obj) : error LNK2001: unresolved external symbol _HB_FUN_REGETZOOM
main.exe : fatal error LNK1120: 9 unresolved externals
* Application successfully built
*/[code:26suww8r][/code:26suww8r] |
hi buildhm comfile error... | We email you a modified FiveHCM.lib, thanks |
hi buildhm comfile error... | [quote="Antonio Linares":21c1ke7v]We email you a modified FiveHCM.lib, thanks[/quote:21c1ke7v]
thank you. Antonio...
Mail Download file is Compiling... Error. (fivehcm.lib)
Compiling...
Harbour devel build 1.1-0 Intl.
Copyright 1999-2007, <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Compiling 'main.prg' and generating preprocessed output to 'main.ppo'...
Lines 5870, Functions/Procedures 32
Generating C source output to 'main.c'... Done.
main.c
Creating library main.lib and object main.exp
FiveHcm.lib(RICHEDIT.obj) : error LNK2001: unresolved external symbol _OleUIPasteSpecialA@4
main.exe : fatal error LNK1120: 1 unresolved externals
* Application successfully built
Best regards, |
hi buildhm comfile error... | You have to link Microsoft oledlg.lib too |
hi buildhm comfile error... | Thank you
Antonio Linares
Best Regard's |
hidden system files | Does directory see hidden system files?
Thanis in advance and
best regards,
Otto |
hidden system files | Thank you - I found the solution.
Best regard,
Otto
local aFiles := directory( cPath + '\*.*', 'D,H,S' )
DIRECTORY() Attributes
------------------------------------------------------------------------
Attribute Meaning
------------------------------------------------------------------------
H Include hidden files
S Include system files
D Include directories
V Search for the DOS volume label and exclude all other files
------------------------------------------------------------------------ |
hide scrollbar | To all,
can someone please show me how to hide a scrollbar on a window.
I tried oWnd:oVScroll:hide() with no success.
Thanks in advance
Otto
[code=fw:263iwhwl]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> oWnd<br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd ;<br /> <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">5</span>, <span style="color: #000000;">5</span> ;<br /> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">24</span>, <span style="color: #000000;">64</span> ;<br /> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"oWnd"</span> ;<br /> <span style="color: #0000ff;">VSCROLL</span> ;<br /> <span style="color: #0000ff;">HSCROLL</span><br /> <br /> @ <span style="color: #000000;">10</span>,<span style="color: #000000;">10</span> ;<br /> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"hide scrollbar"</span> ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">20</span> ;<br /> <span style="color: #0000ff;">ACTION</span> oWnd:<span style="color: #000000;">oVScroll</span>:<span style="color: #000000;">hide</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">OF</span> oWnd<br /><br /> <br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:263iwhwl] |
hide scrollbar | This won't hide the scrollbar but disables it:
[code=fw:2re5foip]<div class="fw" id="{CB}" style="font-family: monospace;">oWnd:<span style="color: #000000;">oVScroll</span>:<span style="color: #000000;">SetRange</span><span style="color: #000000;">(</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">)</span></div>[/code:2re5foip]
I don't know how to hide it, sorry.
EMG |
hide scrollbar | Hello Enrico,
thank you very much.
I get the effect to protect from scrolling.
But maybe there is a way to hide the scrollbars.
Best regards,
Otto
PS: Enrico I am listening right now this: <!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=1Yu9FA0rbyE">http://www.youtube.com/watch?v=1Yu9FA0rbyE</a><!-- m --> |
hide scrollbar | [quote="Otto":1gl5k3v9]PS: Enrico I am listening right now this: <!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=1Yu9FA0rbyE">http://www.youtube.com/watch?v=1Yu9FA0rbyE</a><!-- m -->[/quote:1gl5k3v9]
<!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
hide scrollbar | Hello Antonio,
For my Metro inspired style I try to emulate a kind of charm bar but as you can see the scrollbar does not look professional.
Enrico’s solution works to protect using the scrollbar but optically this don’t help.
What do you suggest?
Best regards,
Otto
[img:26mpgi4n]http://www.atzwanger-software.com/fw/scroll1.jpg[/img:26mpgi4n] |
hide scrollbar | Otto,
We can not modify the complete paint of the Windows standard scrollbar, so we have to implement ours.
In Class TMetroPanel Method Paint() a Metro styled scrollbar is painted so basically you could use it to implement yours <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
hide scrollbar | Hello Antonio,
I would like to hide the scrollbar of the main window.
Best regards,
Otto |
hide scrollbar | Otto,
Simply don't use the VSCROLL clause when you DEFINE the WINDOW. |
hide scrollbar | Hello Antonio,
I need the scrollbar. But when the menu opens the scrollbar should hide.
Maybe you know a solution.
Best regards,
Otto |
hide xbrowse columns on init | Look the picture please :
[img:39hzp4hi]http://www.eoeo.it/wp-content/uploads/2015/02/colonne.jpg[/img:39hzp4hi]
for this timetable I use generally 10 Hours each day but the hour are set on a field of an archive sample :
m_maxore := iif(Left(DA->parame, 1) == "0", 10, Val(Left(DA->parame, 1))
for a sample on my school have only 6 hour for day
How I can make to hide the columns 7 ,8,9,10 for each days ?
I 'm using an array
aDataDay[ndocente][nOra]
aDataDay:=Array(ntotaleDocenti,61)
the ntotaleDocenti is the number of teacher
61 are the numbers of columns 1 for teacher and then 10 for each day
I need it because when I print the timetablw I need a big paper.. if I hive the empty columns I can have a good printed timetable
any solution please? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.