topic
stringlengths
1
63
text
stringlengths
1
577k
xMate ENV file ( Solved )
Albeiro, yo utilizo ResEdit de Julen Ado [url:22y1c9dc]http://www.resedit.net/[/url:22y1c9dc].Lo puedes configurar en Setup/Tools Utilities [img:22y1c9dc]http://img42.imageshack.us/img42/642/resedit.jpg[/img:22y1c9dc]. Seguro que se puede ajustar más. Yo también sigo intentando aprender más sobre hbIDE. Raymundo, en que punto te quedas ? Saludos, Félix
xMate ENV file ( Solved )
Felix, Gracias por tu amable paciencia. Segun yo, <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> ya tengo todo listo, pero al querer crear el .exe me sale el error que indica un error en un directorio. Estos son los screenshots de mi config. [url=http&#58;//img576&#46;imageshack&#46;us/i/hbide1&#46;jpg/:13611z7l][img:13611z7l]http&#58;//img576&#46;imageshack&#46;us/img576/553/hbide1&#46;th&#46;jpg[/img:13611z7l][/url:13611z7l] [url=http&#58;//img256&#46;imageshack&#46;us/i/hbide2&#46;jpg/:13611z7l][img:13611z7l]http&#58;//img256&#46;imageshack&#46;us/img256/4669/hbide2&#46;th&#46;jpg[/img:13611z7l][/url:13611z7l] [url=http&#58;//img200&#46;imageshack&#46;us/i/hbide3&#46;jpg/:13611z7l][img:13611z7l]http&#58;//img200&#46;imageshack&#46;us/img200/3628/hbide3&#46;th&#46;jpg[/img:13611z7l][/url:13611z7l] [url=http&#58;//img824&#46;imageshack&#46;us/i/hbide4&#46;jpg/:13611z7l][img:13611z7l]http&#58;//img824&#46;imageshack&#46;us/img824/9092/hbide4&#46;th&#46;jpg[/img:13611z7l][/url:13611z7l] [url=http&#58;//img228&#46;imageshack&#46;us/i/hbide5&#46;jpg/:13611z7l][img:13611z7l]http&#58;//img228&#46;imageshack&#46;us/img228/2702/hbide5&#46;th&#46;jpg[/img:13611z7l][/url:13611z7l] Saludos
xMate ENV file ( Solved )
Raymundo, puedes poner aquí en modo texto la salida de la compilación, Revisa los PATHs, ya que dice algo como "nombre de directorio no válido". Saludos, Felix
xMate ENV file ( Solved )
Felix, Estaba mal un path, corregido. Ya me compila, ya solo tengo varios avisos, seguro me falta incluir alguna(s) libs mas al proyecto. [url=http&#58;//img195&#46;imageshack&#46;us/i/errorcomp&#46;jpg/:1nczxfzq][img:1nczxfzq]http&#58;//img195&#46;imageshack&#46;us/img195/4154/errorcomp&#46;jpg[/img:1nczxfzq][/url:1nczxfzq] Muchas gracias y Saludos
xMate ENV file ( Solved )
Raymundo, perfecto. Para lo que que necesites y pueda ser de ayuda. Saludos, Felix
xMate ENV file ( Solved )
Felix, Muchisimas gracias por tu paciencia y apoyo. William, Te agradezco mucho el archivo enviado. De igual manera, quedo a dispocision en lo que sea necesario. Saludos
xMate console environment for xHB + BCC + FWH
Hi all, I haven't try console project with xMate. Can anyone post xHB + BCC + FWH console environment here? I would like to copy <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
xMate console environment for xHB + BCC + FWH
Frances Here is an updated BorlandConsole.Env for 5.82. Hope this Helps. Rick Lipkin [code=fw:17ihu13s]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #000000;">&#91;</span>Environment<span style="color: #000000;">&#93;</span><br />Description <span style="color: #000000;">1</span>=use the /n <span style="color: #00C800;">switch</span> <span style="color: #00C800;">for</span> <span style="color: #00C800;">new</span> console apps .. <span style="color: #00C800;">for</span> old<br />Description <span style="color: #000000;">2</span>=dos apps <span style="color: #00C800;">do</span> not use the /n <span style="color: #00C800;">switch</span><br />Description <span style="color: #000000;">3</span>=<br />PRG Compiler ver=<br />C compiler ver=<br />Subsystem=<br />Author=<br />Last <span style="color: #0000ff;">update</span>=<span style="color: #000000;">02</span>/<span style="color: #000000;">04</span>/<span style="color: #000000;">2015</span><br /><br /><span style="color: #000000;">&#91;</span>Advanced<span style="color: #000000;">&#93;</span><br />Command types=<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><br /><br /><span style="color: #000000;">&#91;</span>Harbour<span style="color: #000000;">&#93;</span><br />HB_INSTALL=C:\XHARBOUR<br />HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /gc0 /es2 /i%HB_INC_INSTALL%<br />Option prefix=/<br /><br /><span style="color: #000000;">&#91;</span>C<span style="color: #000000;">&#93;</span><br />C_INSTALL=C:\Borland\bcc582<br />C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -c -O2 -OS -d <span style="color: #000000;">-5</span> <span style="color: #000000;">-6</span> -a8 -DFM_STATISTICS_OFF %CRLF%-I%HB_INC_INSTALL%;%C_INC_INSTALL%  -n%OBJDIR% %C%%CRLF%<br />C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%<br />C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -ap -Tpe /I%DBGDIR% /L%HB_LIB_INSTALL% %CRLF%@%LNK%<br />C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r  -fo%RES%  %RC%<br />C_DLL_COMMAND=<br />Option prefix=-<br /><br /><span style="color: #000000;">&#91;</span>User<span style="color: #000000;">&#93;</span><br />POSTEXE_COMMAND=<br />POSTLIB_COMMAND=<br />POSTDLL_COMMAND=<br /><br /><span style="color: #000000;">&#91;</span>Files<span style="color: #000000;">&#93;</span><br />%HB_LIB_INSTALL%\lang.lib=<span style="color: #000000;">1</span><br />%HB_LIB_INSTALL%\vm.lib=<span style="color: #000000;">2</span><br />%HB_LIB_INSTALL%\rtl.lib=<span style="color: #000000;">3</span><br />%HB_LIB_INSTALL%\rdd.lib=<span style="color: #000000;">4</span><br />%HB_LIB_INSTALL%\macro.lib=<span style="color: #000000;">5</span><br />%HB_LIB_INSTALL%\pp.lib=<span style="color: #000000;">6</span><br />%HB_LIB_INSTALL%\dbfntx.lib=<span style="color: #000000;">7</span><br />%HB_LIB_INSTALL%\dbfcdx.lib=<span style="color: #000000;">8</span><br />%HB_LIB_INSTALL%\dbffpt.lib=<span style="color: #000000;">9</span><br />%HB_LIB_INSTALL%\common.lib=<span style="color: #000000;">10</span><br />%HB_LIB_INSTALL%\gtwin.lib=<span style="color: #000000;">11</span><br />%HB_LIB_INSTALL%\codepage.lib=<span style="color: #000000;">12</span><br />%HB_LIB_INSTALL%\ct.lib=<span style="color: #000000;">13</span><br />%HB_LIB_INSTALL%\tip.lib=<span style="color: #000000;">14</span><br />%HB_LIB_INSTALL%\pcrepos.lib=<span style="color: #000000;">15</span><br />%HB_LIB_INSTALL%\hsx.lib=<span style="color: #000000;">16</span><br />%HB_LIB_INSTALL%\hbsix.lib=<span style="color: #000000;">17</span><br />%HB_LIB_INSTALL%\zlib.lib=<span style="color: #000000;">18</span><br />%C_LIB_INSTALL%\c0x32.obj=<span style="color: #000000;">19</span><br />%C_LIB_INSTALL%\IMPORT32.LIB=<span style="color: #000000;">20</span><br />%C_LIB_INSTALL%\CW32.LIB=<span style="color: #000000;">21</span><br /> </div>[/code:17ihu13s]
xMate v/s xEdit
Actualmente estoy trabajando con xMate y me genera mi proyecto sin problemas. Empece a ver el xEdit porque muestra la sintaxis del código pero al generar mi proyecto no me da el mismo resultado que con xMate. Por ejemplo: El socket en xMate funciona en el proyecto con xEdit no funciona. Un EditBox se ve bien en xMate en xEdit muestra muestra los caracteres con la cola de los mismo fuera del rectangulo del EditBox, ademas se sale repentinamente. Si alguien puede ayudarme con este y otros temas que no he tenido respuesta los agradeceria. <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->
xMate v/s xEdit
Hola, te cuento que siempre que quise probar xEdit, paso lo que describes en medio de la prueba se cierra. Sobre la muestra de la sintaxis del codigo a que te refieres? Segun yo, xMate es el mejor IDE para el desarrollo de aplicaciones clipper compatibles, si lo escudriñas bien encontraras muchas cosas como generador de formularios tanto recurso .RC como fuente .PRG en base a un origen de datos tabla DBF, ayuda con campos de dbf en base a los alias, etc. Es una pena que no se haya continuado con el proyecto. No se como esta el clone basado en qt, creo que es algo pesado Saludos Marcelo
xMate v/s xEdit
Ok Marcelo, se agredece, creo que me preocupare mas de mi aplicativo que del IDE, con xMate esta bien. Saludos desde la distancia. Jorge E. Gayoso G. [quote="Marcelo Via Giglio":enwxgm5y]Hola, te cuento que siempre que quise probar xEdit, paso lo que describes en medio de la prueba se cierra. Sobre la muestra de la sintaxis del codigo a que te refieres? Segun yo, xMate es el mejor IDE para el desarrollo de aplicaciones clipper compatibles, si lo escudriñas bien encontraras muchas cosas como generador de formularios tanto recurso .RC como fuente .PRG en base a un origen de datos tabla DBF, ayuda con campos de dbf en base a los alias, etc. Es una pena que no se haya continuado con el proyecto. No se como esta el clone basado en qt, creo que es algo pesado Saludos Marcelo[/quote:enwxgm5y]
xMate y Harbour
Holas a todos... Alguien tiene el .ENV de XMATE para usarlo con HARBOUR 2.0 que me lo envie por mail o por aqui ? Gracias de antemano. Desde Chile Adolfo
xMate y Harbour
Adolfo, ¿ Con que compilador de C borland o msvc o ambos <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> ? Atte., Lautaro Moreira Osorno Chile
xMate y Harbour
Adolfo: VA mi .Env de xMate Saludos Ruben Fernandez [Environment] Description 1= Harbour, Fivewin Harbour, CodeGear , Librerías externas (TSButton) Description 2= Description 3= PRG Compiler ver= C compiler ver= Subsystem= Author=Ruben Fernandez Last update=11/16/2009 [Advanced] Command types=1,1,1,1,1,1,1,1,1 [Harbour] HB_INSTALL=C:\Harbour HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /es2 /a /v /i% Option prefix=/ [C] C_INSTALL=C:\Borland\RadStudio C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c -O2 -tW -v- -X %CRLF%-DHB_FM_STATISTICS_OFF %CRLF%-DHB_NO_DEFAULT_API_MACROS %CRLF%-DHB_NO_DEFAULT_STACK_MACROS %CRLF%-DHB_OS_WIN_32 %CRLF%-I%C_INC_INSTALL%;%HB_INC_INSTALL% -n%HOME%\Obj %C% C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST% C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s @%LNK% C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r -fo%RES% %RC% C_DLL_COMMAND= Option prefix=- [User] POSTEXE_COMMAND= POSTLIB_COMMAND= POSTDLL_COMMAND= [Files] %C_LIB_INSTALL%\C0W32.OBJ=1 C:\FWH\lib\Fiveh.lib=2 C:\FWH\lib\Fivehc.lib=3 %C_LIB_INSTALL%\IMPORT32.LIB=4 %HB_LIB_INSTALL%\hbrtl.lib=5 %HB_LIB_INSTALL%\hbvm.lib=6 %HB_LIB_INSTALL%\hblang.lib=7 %HB_LIB_INSTALL%\hbmacro.lib=8 %HB_LIB_INSTALL%\hbcommon.lib=9 %HB_LIB_INSTALL%\hbpp.lib=10 %C_LIB_INSTALL%\CW32.LIB=11 %HB_LIB_INSTALL%\gtgui.lib=12 %HB_LIB_INSTALL%\hbrdd.lib=13 %HB_LIB_INSTALL%\rddcdx.lib=14 %HB_LIB_INSTALL%\rddfpt.lib=15 %HB_LIB_INSTALL%\hbsix.lib=16 %HB_LIB_INSTALL%\hbcpage.lib=17 %HB_LIB_INSTALL%\hbwin.lib=18 %C_LIB_INSTALL%\psdk\msimg32.lib=19 %C_LIB_INSTALL%\psdk\odbc32.lib=20 %C_LIB_INSTALL%\psdk\nddeapi.lib=21 %C_LIB_INSTALL%\psdk\iphlpapi.lib=22 %C_LIB_INSTALL%\psdk\rasapi32.lib=23 C:\harbour89\lib\hbnf.lib=24
xMate y Harbour
[quote="Lautaro":2peeaead] ¿ Con que compilador de C borland o msvc o ambos <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> ? [/quote:2peeaead] Lautaro Borland C 5.x.x y Pelles C como compilador de recursos Gracias... Ruben.. reviso tu Env. Gracias Desde Chile Adolfo
xMate y Microsoft Visual Studio 2008 ??
Hola.. estimado foro.. Estoy tratando de pasarme a Harbour + MsVS 2008. he visto entornos con HbIde. pero sinceramente lo encuentro muy complicado. para mi es mas practico y sencillo xMate. alguien que me pueda apoyar con un archivo ENV para xmate. Saludos GABO
xMate y Microsoft Visual Studio 2008 ??
Gabo Don't know if this will help you but this is the MVSC xMate environment for the 2003 toolkit. I have no idea if there needs to be any adjustments made to add or delete any lib's .. but this should be a good start .. Copy and paste this into a .env file, make any appropriate changes to the paths and put in your xMate folder .. Rick Lipkin [code=fw:4md1lesz]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #000000;">&#91;</span>Environment<span style="color: #000000;">&#93;</span><br />Description <span style="color: #000000;">1</span>=With many thanks <span style="color: #0000ff;">to</span> Andy .. we finally got a good<br />Description <span style="color: #000000;">2</span>=working MSVC environment !!  Includes the <span style="color: #00C800;">new</span><br />Description <span style="color: #000000;">3</span>=xHarbour libs hbsix and pcrepos<br />PRG Compiler ver=xHarbour <span style="color: #000000;">99.51</span><br />C compiler ver=MSVC <span style="color: #000000;">2003</span> Toolkit<br />Subsystem=FWH28<br />Author=Richard Lipkin<br />Last <span style="color: #0000ff;">update</span>=<span style="color: #000000;">11</span>/<span style="color: #000000;">06</span>/<span style="color: #000000;">2006</span><br /><br /><span style="color: #000000;">&#91;</span>Advanced<span style="color: #000000;">&#93;</span><br />Command types=<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><br /><br /><span style="color: #000000;">&#91;</span>Harbour<span style="color: #000000;">&#93;</span><br />HB_INSTALL=C:\XHARBOUR<br />HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INC_INSTALL% /d__EXPORT__<br />Option prefix=/<br /><br /><span style="color: #000000;">&#91;</span>C<span style="color: #000000;">&#93;</span><br />C_INSTALL=C:\MSVC<br />C_COMP_COMMAND=<span style="color: #ff0000;">"%C_BIN_INSTALL%<span style="color: #000000;">\c</span>l.exe"</span> -c -TP -W3 -nologo  -I<span style="color: #ff0000;">"%C_INC_INSTALL%"</span> /I%HB_INC_INSTALL%   -Fo%OBJ% %C%<br />C_LIB_COMMAND=%C_BIN_INSTALL%\LIB.Exe /OUT:%LIB%  @%RSP% /LIST >%LST%<br />C_LINK_COMMAND=%C_BIN_INSTALL%\LINK.Exe /subsystem:<span style="color: #000000;">WINDOWS</span> /FORCE:<span style="color: #000000;">MULTIPLE</span>%CRLF% /LIBPATH:%C_LIB_INSTALL% @%LNK%<br />C_RC_COMMAND=%C_BIN_INSTALL%\RC.Exe -r  -fo%RES%  %RC%<br />C_DLL_COMMAND=<br />Option prefix=-<br /><br /><span style="color: #000000;">&#91;</span>User<span style="color: #000000;">&#93;</span><br />POSTEXE_COMMAND=<br />POSTLIB_COMMAND=<br />POSTDLL_COMMAND=<br /><br /><span style="color: #000000;">&#91;</span>Files<span style="color: #000000;">&#93;</span><br />%HB_LIB_INSTALL%\dbfcdx.lib=<span style="color: #000000;">1</span><br />%HB_LIB_INSTALL%\dbffpt.lib=<span style="color: #000000;">2</span><br />%HB_LIB_INSTALL%\lang.lib=<span style="color: #000000;">3</span><br />%HB_LIB_INSTALL%\vm.lib=<span style="color: #000000;">4</span><br />%HB_LIB_INSTALL%\rtl.lib=<span style="color: #000000;">5</span><br />%HB_LIB_INSTALL%\rdd.lib=<span style="color: #000000;">6</span><br />%HB_LIB_INSTALL%\macro.lib=<span style="color: #000000;">7</span><br />%HB_LIB_INSTALL%\pp.lib=<span style="color: #000000;">8</span><br />%HB_LIB_INSTALL%\dbfntx.lib=<span style="color: #000000;">9</span><br />%HB_LIB_INSTALL%\common.lib=<span style="color: #000000;">10</span><br />%HB_LIB_INSTALL%\gtwin.lib=<span style="color: #000000;">11</span><br />%HB_LIB_INSTALL%\codepage.lib=<span style="color: #000000;">12</span><br />%HB_LIB_INSTALL%\pcrepos.lib=<span style="color: #000000;">13</span><br />%HB_LIB_INSTALL%\hbsix.lib=<span style="color: #000000;">14</span><br />C:\FWH28\LIB\Fivehmx.lib=<span style="color: #000000;">15</span><br />C:\FWH28\LIB\Fivehcm.lib=<span style="color: #000000;">16</span><br />%C_LIB_INSTALL%\kernel32.lib=<span style="color: #000000;">17</span><br />%C_LIB_INSTALL%\Mpr.Lib=<span style="color: #000000;">18</span><br />%C_LIB_INSTALL%\Ole32.Lib=<span style="color: #000000;">19</span><br />%C_LIB_INSTALL%\Shell32.Lib=<span style="color: #000000;">20</span><br />%C_LIB_INSTALL%\User32.Lib=<span style="color: #000000;">21</span><br />%C_LIB_INSTALL%\WinMM.Lib=<span style="color: #000000;">22</span><br />%C_LIB_INSTALL%\WinSpool.Lib=<span style="color: #000000;">23</span><br />%C_LIB_INSTALL%\AdvAPI32.Lib=<span style="color: #000000;">24</span><br />%C_LIB_INSTALL%\ComCtl32.Lib=<span style="color: #000000;">25</span><br />%C_LIB_INSTALL%\ComDlg32.Lib=<span style="color: #000000;">26</span><br />%C_LIB_INSTALL%\Gdi32.Lib=<span style="color: #000000;">27</span><br /><br /> </div>[/code:4md1lesz]
xMate y Microsoft Visual Studio 2008 ??
Hi Rick Thank, Here this file ENV and work fine [code=fw:aawelep2]<div class="fw" id="{CB}" style="font-family: monospace;"><br />HB_INSTALL=E:\harbour<br />HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /w1 /es2 /a /v /i%HB_INC_INSTALL%<br />Option prefix=/<br /><br /><span style="color: #000000;">&#91;</span>C<span style="color: #000000;">&#93;</span><br />C_INSTALL=E:\MVS2008<br />C_COMP_COMMAND=%C_BIN_INSTALL%\cl.Exe -c -TP -W3 -GA -I%HB_INC_INSTALL%;%C_INC_INSTALL% %CRLF%%HOME%\Obj %C%%CRLF%<br />C_LIB_COMMAND=<br />C_LINK_COMMAND=%C_BIN_INSTALL%\link.Exe @%LNK% /NODEFAULTLIB:<span style="color: #000000;">LIBC</span>.LIB /nologo /subsystem:<span style="color: #000000;">windows</span> /force:<span style="color: #000000;">multiple</span><br />C_RC_COMMAND=%C_BIN_INSTALL%\RC.EXE -r -d__FLAT__ %RC%<br />C_DLL_COMMAND=<br />Option prefix=-<br /><br /><span style="color: #000000;">&#91;</span>User<span style="color: #000000;">&#93;</span><br />POSTEXE_COMMAND=<br />POSTLIB_COMMAND=<br />POSTDLL_COMMAND=<br /><br /><span style="color: #000000;">&#91;</span>Files<span style="color: #000000;">&#93;</span><br />%HB_INSTALL%\examples\gtwvw\lib\win\msvc\gtwvw.lib=<span style="color: #000000;">1</span><br />%HB_LIB_INSTALL%\win\msvc\hbrtl.lib=<span style="color: #000000;">2</span><br />%HB_LIB_INSTALL%\win\msvc\hbvm.lib=<span style="color: #000000;">3</span><br />%HB_LIB_INSTALL%\win\msvc\gtgui.lib=<span style="color: #000000;">4</span><br />%HB_LIB_INSTALL%\win\msvc\hblang.lib=<span style="color: #000000;">5</span><br />%HB_LIB_INSTALL%\win\msvc\hbmacro.lib=<span style="color: #000000;">6</span><br />%HB_LIB_INSTALL%\win\msvc\rddcdx.lib=<span style="color: #000000;">7</span><br />%HB_LIB_INSTALL%\win\msvc\rddfpt.lib=<span style="color: #000000;">8</span><br />%HB_LIB_INSTALL%\win\msvc\hbcommon.lib=<span style="color: #000000;">9</span><br />%HB_LIB_INSTALL%\win\msvc\hbpp.lib=<span style="color: #000000;">10</span><br />%HB_LIB_INSTALL%\win\msvc\hbcpage.lib=<span style="color: #000000;">11</span><br />E:\hwgui\lib\procmisc.lib=<span style="color: #000000;">12</span><br />E:\hwgui\lib\hwgui.lib=<span style="color: #000000;">13</span><br />%C_LIB_INSTALL%\Kernel32.Lib=<span style="color: #000000;">14</span><br />%C_LIB_INSTALL%\User32.Lib=<span style="color: #000000;">15</span><br />%C_LIB_INSTALL%\Gdi32.Lib=<span style="color: #000000;">16</span><br />%C_LIB_INSTALL%\WinSpool.Lib=<span style="color: #000000;">17</span><br />%C_LIB_INSTALL%\ComCtl32.Lib=<span style="color: #000000;">18</span><br />%C_LIB_INSTALL%\ComDlg32.Lib=<span style="color: #000000;">19</span><br />%C_LIB_INSTALL%\AdvAPI32.Lib=<span style="color: #000000;">20</span><br />%C_LIB_INSTALL%\shell32.lib=<span style="color: #000000;">21</span><br />%C_LIB_INSTALL%\Ole32.Lib=<span style="color: #000000;">22</span><br />%C_LIB_INSTALL%\OleAut32.Lib=<span style="color: #000000;">23</span><br />%C_LIB_INSTALL%\Uuid.Lib=<span style="color: #000000;">24</span><br />%C_LIB_INSTALL%\odbc32.lib=<span style="color: #000000;">25</span><br />%C_LIB_INSTALL%\odbccp32.lib=<span style="color: #000000;">26</span><br />%C_LIB_INSTALL%\IPHlpApi.Lib=<span style="color: #000000;">27</span><br />%C_LIB_INSTALL%\Mpr.Lib=<span style="color: #000000;">28</span><br />%C_LIB_INSTALL%\Version.Lib=<span style="color: #000000;">29</span><br />%C_LIB_INSTALL%\WSock32.Lib=<span style="color: #000000;">30</span><br />&nbsp;</div>[/code:aawelep2]
xMate y gcc
Amigos:Alguien tiene ya un archivo.env de xMate para compilar conFWH y gccMuchas gracias.Ruben Fernandez.
xPlanner
Hello, for my new project [i:11ogil9g]xPlanner[/i:11ogil9g] I remembered a class we developed commonly at the forum 10 years ago . <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=12150&hilit=pickdate">viewtopic.php?f=3&t=12150&hilit=pickdate</a><!-- l --> This is the first time that I use TdatePicker in one of our applications. In this program you see a map of a hotel. You can click on the map or inside xBrowse to make a booking. Best regards, Otto [img:11ogil9g]https&#58;//mybergland&#46;com/FWForum/xplanner&#46;gif[/img:11ogil9g]
xPlanner
Nice work
xPlanner
Very good Otto
xPlanner
Impressive Otto! A picture is worth a thousand words. James
xProgrammer - help please
xProgrammer - help-me please! @ 10,10 @ var get ooget nVal picture "@ E 999,999.99" RIGHT <--- RIGHT is possible?? <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
xProgrammer - help please
SGS, It is not implemented yet in FiveLinux. If you review FiveLinux.ch you will see that such clause is not implemented yet.
xProgrammer - help please
thanks
xProgrammer - help please
Hi SGS Just at the moment I am stranded away from any FiveWin documentation so I am not certain what the RIGHT clause is for. My guess is that it is for aligning the contents of the FiveWin GET within the entry on a dialog? And you want the same behaviour for a GTKEntry in a FiveLinux dialog? The way FiveLinux works (from memory) is that it basically intercepts keystrokes from the GTKEntry, uses that keystroke to update its own buffer, and then writes the contents of its buffer (in it entirety) to the GTKEntry. One less than perfect way would be to modify that code so that the buffer is always the same length (presumably using PadL) but that will not give you the level of control you really want as it won't be directly aligning the text in the GTKEntry and so the results will be affected by the width of the string (variable due to variable character widths) and the width of the GTKEntry. I haven't tried to control text alignment within a GTKEntry but I have done so successfully for a SAY (GTKLabel). When I get somewhere I can look out the code I did that with I will post it. I am not promising that you can do the same with a GTKEntry as I would have to look at what GTK object this alignment code related to and whether the GTKEntry class inherits from that class or, if it is through an interface, implements that interface. I do recall that alignment was controlled by two floats, one for the x-alignment, the other for the y-alignment. I know I discussed this issue in part on a bit I wrote for the FiveLinux section of the FiveTechSoft wiki. Good luck. Let me know if I have understood what you want correctly or not. Either way I will try to help more if I can be of help. Regards xProgrammer
xProgrammer - help please
The function I wrote will only work for labels because it calls a function in GTKMisc which is a parent of GTKLabel but not of GTKEntry. However there is a similar function for a GTKEntry but it controls horizontal positioning only (which is what I think you want) avaible from GTK+ 2.4 on. [code=fw:oxdpoads]<div class="fw" id="{CB}" style="font-family: monospace;">gtk_entry_set_alignment <span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />void                gtk_entry_set_alignment             <span style="color: #000000;">&#40;</span>GtkEntry *entry,<br />                                                         gfloat xalign<span style="color: #000000;">&#41;</span>;<br /><br />Sets the alignment <span style="color: #00C800;">for</span> the contents <span style="color: #0000ff;">of</span> the entry. This controls the <span style="color: #0000ff;">horizontal</span> positioning <span style="color: #0000ff;">of</span> the contents <span style="color: #0000ff;">when</span> the displayed <span style="color: #0000ff;">text</span> is shorter than the width <span style="color: #0000ff;">of</span> the entry.<br /><br />entry :<br />    a GtkEntry<br /><br />xalign :<br />    The <span style="color: #0000ff;">horizontal</span> alignment, <span style="color: #0000ff;">from</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#40;</span><span style="color: #0000ff;">left</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#40;</span><span style="color: #0000ff;">right</span><span style="color: #000000;">&#41;</span>. Reversed <span style="color: #00C800;">for</span> RTL layouts<br /><br />Since <span style="color: #000000;">2.4</span></div>[/code:oxdpoads] I don't know if you are still pursuing this issue, or for that matter that I have understood exactly what you want, but if you do need some help implementing the above let me know Regards xProgrammer
xSlot
[url=http&#58;//www&#46;4shared&#46;com/photo/sJhNF5bOce/xSlot1&#46;html:3t51tnaj][img:3t51tnaj]http&#58;//www&#46;4shared&#46;com/img/sJhNF5bOce/s25/1578b1118c0/xSlot1[/img:3t51tnaj][/url:3t51tnaj] [url=http&#58;//www&#46;4shared&#46;com/photo/Aljd05yTba/xSlot2&#46;html:3t51tnaj][img:3t51tnaj]http&#58;//www&#46;4shared&#46;com/img/Aljd05yTba/s25/1578b1147a0/xSlot2[/img:3t51tnaj][/url:3t51tnaj] [url=http&#58;//www&#46;4shared&#46;com/photo/rSdCyiFwce/xSlot3&#46;html:3t51tnaj][img:3t51tnaj]http&#58;//www&#46;4shared&#46;com/img/rSdCyiFwce/s25/1578b117a68/xSlot3[/img:3t51tnaj][/url:3t51tnaj] To download: <!-- m --><a class="postlink" href="http://www.4shared.com/file/lU3KMvXPce/xSlot.html">http://www.4shared.com/file/lU3KMvXPce/xSlot.html</a><!-- m --> please rename xSlot.zop to xSlot.zip to unpack. Regards Hebert Vargas
xSlot
[url=http&#58;//www&#46;4shared&#46;com/photo/sJhNF5bOce/xSlot1&#46;html:1kbda3g1][img:1kbda3g1]http&#58;//www&#46;4shared&#46;com/img/sJhNF5bOce/s25/1578b1118c0/xSlot1[/img:1kbda3g1][/url:1kbda3g1] [url=http&#58;//www&#46;4shared&#46;com/photo/Aljd05yTba/xSlot2&#46;html:1kbda3g1][img:1kbda3g1]http&#58;//www&#46;4shared&#46;com/img/Aljd05yTba/s25/1578b1147a0/xSlot2[/img:1kbda3g1][/url:1kbda3g1] [url=http&#58;//www&#46;4shared&#46;com/photo/rSdCyiFwce/xSlot3&#46;html:1kbda3g1][img:1kbda3g1]http&#58;//www&#46;4shared&#46;com/img/rSdCyiFwce/s25/1578b117a68/xSlot3[/img:1kbda3g1][/url:1kbda3g1] Para descargar: <!-- m --><a class="postlink" href="http://www.4shared.com/file/lU3KMvXPce/xSlot.html">http://www.4shared.com/file/lU3KMvXPce/xSlot.html</a><!-- m --> renombrar la extension xSlot.zop to xSlot.zip to unpack. Saludos Hebert Vargas
xSlot
Hola Hebert: Se ve muy bueno. Serías tan amable de colocarlo en otro servisor, éste de da virus. O mandarselo a Antonio para que lo ponga a disposición. Muchas gracias y disculpa. Saludos Ruben Dario Fernandez
xSlot
Very good. hicestes este game con fivewin? Gracias, saludos.
xSlot
[quote="D.Fernandez"]Hola Hebert: Se ve muy bueno. Serías tan amable de colocarlo en otro servisor, éste de da virus. O mandarselo a Antonio para que lo ponga a disposición. Muchas gracias y disculpa. Saludos Ruben Dario Fernandez"[quote/] No hay problema, ya se lo envio
xSlot
[quote="karinha":3qm479sv]Very good. hicestes este game con fivewin? Gracias, saludos.[/quote:3qm479sv] Elaborado con xHarbour + Fivewin
xSlot
Felicitaciones...! lo descargare y probare, ir a las Vegas me queda muy lejos...jejjej.saludos.. <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
xSlot
Hebert, Felicitaciones !!! Muy buen trabajo, piensas compartir el codigo ?
xTDataBase...erro con FwPPc...
Estoy testando el classe xTdadabase com fwPpc, e estas me retornando este erro: [code:2euql7w2] erro C2065&#58; 'HB_ERR_FUNCNAME' &#58; undeclared identifier [/code:2euql7w2] E estos Warnings: [code:2euql7w2] warning c4047&#58; 'function' &#58; 'const char *' differs in levels of indirection from 'int ' warning c4024&#58; 'hb_errRT_BASE' &#58; different types for formal and actual parameter 4 [/code:2euql7w2] Como resolver isto ? Saluds, Ale
xTDataBase...erro con FwPPc...
Ale, Cual es la clase xTDataBase ? Puedes publicar aqui su codigo fuente ? gracias,
xTDataBase...erro con FwPPc...
Maestro, es la classe de Luis Capel: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=14019&hilit=tdatabase">viewtopic.php?f=3&t=14019&hilit=tdatabase</a><!-- l --> estoy usando el fwPpc 709, con HarbourCe Build jul/2007 Saluds, Ale
xbScript ASP
Alguien tiene un ejemplo simple?gracias.
xbScript ASP
Pedro:En el link que amablemente Rafa Carmona nos dió<!-- m --><a class="postlink" href="http://www.xharbour.com/xhc/index.asp?page=xhc_download_detail.asp&type=dl&id=62&show_i=7&show_sub=1">http://www.xharbour.com/xhc/index.asp?p ... show_sub=1</a><!-- m -->Hay varios ejemplos y con boton derecho aparece el menu emergente desde donde puedes ver y copiar el código fuente.Ojalá te sirva, Saludos
xbScript ASP
Armando, Los ejemplos los había visto todos, solo que lo que necesito es un ejemplo con asp ejecutandose desde el servidor (el ultimo ejemplo) que no funciona y que no se puede bajar el codigo fuente de ejemplo.gracias y saludos.
xbScript Project Posting
xbscript to read through a dbase III (DBFCDX) database file then scan various folders for documents (TIFF, PDF, JPEG, TXT, BMP ); document name will be determined based on one of two field names in the following format, <key>H.*, <key>M.*, <key>F.* or <key>I.* where <key> is one of two field values. Requirements: must run on IE; system must call printer one time, then print all documents at one time. Source must be provided upon completion of project.
xbase ahora inestable lenta error Status_Lock_Not_Granted
Estimado foro Buenas tardes, primero gracias a todos por los aportes que hacen y que tanto ayudan a usuarios menos expertos. Ahora, por sugerencia de Antonio Linares, directo a platear mi situación, aclarando que he leído todo lo que he encontrado, tanto en estos foros como en Microsoft y otros: Tengo un software con Fivewin + xHarbour, que usa base de datos xBase. Hasta hace un tiempo andaba todo bien, pero creo que en la medida que las estaciones de trabajo se han actualizado a Windows 7, 8 y 10 y el servidor Linux a Debian 8 o superior, con SMB2 (SMB 1 ya no aplica), cada vez tengo más problemas, está más lento, se producen errores de “Status_Lock_Not_Granted” que generalmente hacen que todo se pegue y haya que bajar y subir Samba, se dañan los índices, es inestable. Y parece ser aleatorio, aunque suele estar relacionado con las ocasiones en que hay más carga de trabajo o más usuarios trabajando. También hemos notado que el servidor tiene los System Interrupt más altos de lo normal casi de forma permanente. Hemos probado muchas cosas que nos han recomendado, certificar la red, asegurarnos que no estemos intentando bloquear registros que ya están bloqueados (eso provoca muchos problemas ahora que antes no tenía), usar más el commit buscando que la información esté más estable; incluir estos parámetros (en CERO) en las estaciones de trabajo: FileInfoCacheLifetime FileNotFoundCacheLifetime DirectoryCacheLifetime Y estos en el Servidor: Blocking Locks (NO) Strict Bloking (NO) OpLoc Nivel 2 (omisión, SI) (todo después de muchas pruebas, algunas con resultados desastrosos) Ya no sabemos que más hacer intentando que la ddbb xBase opere bien. ¿Qué sugerencias pueden darme? Si han tenido esta experiencia ¿cómo lo resolvieron manteniendo la ddbb xBase (DBF/CDX)? Muchas gracias por leer y por responder, necesito luz.
xbase ahora inestable lenta error Status_Lock_Not_Granted
José, Desactiva SMB2 como se explica aquí: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=21740&start=0">viewtopic.php?f=3&t=21740&start=0</a><!-- l -->
xbase ahora inestable lenta error Status_Lock_Not_Granted
Antonio Gracias por tu respuesta. Estudiando la información para aplicar. Si alguien tiene más sugerencias o experiencias que puedan aportarnos, se lo agradecemos. José
xbase ahora inestable lenta error Status_Lock_Not_Granted
Puedes usar leto o o netio. Usan protocolos de comunicación en lugar de file system
xbase ahora inestable lenta error Status_Lock_Not_Granted
Modificando muy poco se podría usar AdoRDD, pero creo que lo más simple es desactivar SMB2 y probar <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [url:3ls1duu5]https&#58;//github&#46;com/AHFERREIRA/adordd/blob/master/01_README&#46;pdf[/url:3ls1duu5]
xbase ahora inestable lenta error Status_Lock_Not_Granted
Antonio y Carlos, gracias por sus respuestas! Creo que la opción de volver a SMB1 sería la que elija, porque soy algo (o bastante) ignorante en estos temas de configuraciones o servicios de Windows y similares y estoy contra el tiempo. Pero me pregunto si Windows 10 en sus siguientes actualizaciones no quitará o ignorará la configuración que hagamos, o no eliminará SMB1 cuando quiera, dejando en ese caso a las estaciones de trabajo imposibilitadas de acceder a la ddbb xBase? Existe alguna referencia al respecto? o alguna sugerencia adicional para ello? Muchas gracias. José
xbase ahora inestable lenta error Status_Lock_Not_Granted
Por eso, bien utilizas ADS server (no sirve el modo local), o bien utilizas ADORDD, que mantiene la compatibilidad con la sintáxis actual. Más allá de esto, y con la necesidad de reescribir el código, puedes utilizar las clases nativas de Fivewin de Mariadb/mysql.
xbase ahora inestable lenta error Status_Lock_Not_Granted
Hola a todos. Gracias Moisés, analizaremos lo que indicas para ver si podemos hacerlo. Hemos hecho el cambio a SMB1, y creo que la velocidad mejora algo y los errores parecen haberse reducido pero no eliminado. Esta es una conversacion Samba entre una maquina 'pegada' (Windows, donde se queda pegado el software o luego de varios minutos suelta) y el servidor (Linux). 1 paquete de cada uno. ¿Habrá aquí algo que se pueda descubrir y ayude a mejorar el cambio hecho a SMB1? Query del Cliente Frame 641510: 129 bytes on wire (1032 bits), 129 bytes captured (1032 bits) Ethernet II, Src: AsustekC_8d:a2:7b (34:97:f6:8d:a2:7b), Dst: HewlettP_b1:c0:64 (9c:b6:54:b1:c0:64) Internet Protocol Version 4, Src: <IP>, Dst: <IP> Transmission Control Protocol, Src Port: 50004, Dst Port: 445, Seq: 14081476, Ack: 7322407, Len: 75 Source Port: 50004 Destination Port: 445 [Stream index: 0] [TCP Segment Len: 75] Sequence number: 14081476 (relative sequence number) [Next sequence number: 14081551 (relative sequence number)] Acknowledgment number: 7322407 (relative ack number) 0101 .... = Header Length: 20 bytes (5) Flags: 0x018 (PSH, ACK) 000. .... .... = Reserved: Not set ...0 .... .... = Nonce: Not set .... 0... .... = Congestion Window Reduced (CWR): Not set .... .0.. .... = ECN-Echo: Not set .... ..0. .... = Urgent: Not set .... ...1 .... = Acknowledgment: Set .... .... 1... = Push: Set .... .... .0.. = Reset: Not set .... .... ..0. = Syn: Not set .... .... ...0 = Fin: Not set [TCP Flags: ·······AP···] Window size value: 27609 [Calculated window size: 27609] [Window size scaling factor: -1 (unknown)] Checksum: 0x28ea [unverified] [Checksum Status: Unverified] Urgent pointer: 0 [SEQ/ACK analysis] [This is an ACK to the segment in frame: 641509] [The RTT to ACK the segment was: 0.000155000 seconds] [Bytes in flight: 75] [Bytes sent since last PSH flag: 75] [Timestamps] [Time since first frame in this TCP stream: 38.717737000 seconds] [Time since previous frame in this TCP stream: 0.000155000 seconds] TCP payload (75 bytes) NetBIOS Session Service Message Type: Session message (0x00) Length: 71 SMB (Server Message Block Protocol) SMB Header Server Component: SMB [Response in: 641511] SMB Command: Locking AndX (0x24) NT Status: STATUS_SUCCESS (0x00000000) Flags: 0x18, Canonicalized Pathnames, Case Sensitivity 0... .... = Request/Response: Message is a request to the server .0.. .... = Notify: Notify client only on open ..0. .... = Oplocks: OpLock not requested/granted ...1 .... = Canonicalized Pathnames: Pathnames are canonicalized .... 1... = Case Sensitivity: Path names are caseless .... ..0. = Receive Buffer Posted: Receive buffer has not been posted .... ...0 = Lock and Read: Lock&Read, Write&Unlock are not supported Flags2: 0xc807, Unicode Strings, Error Code Type, Extended Security Negotiation, Security Signatures, Extended Attributes, Long Names Allowed 1... .... .... .... = Unicode Strings: Strings are Unicode .1.. .... .... .... = Error Code Type: Error codes are NT error codes ..0. .... .... .... = Execute-only Reads: Don't permit reads if execute-only ...0 .... .... .... = Dfs: Don't resolve pathnames with Dfs .... 1... .... .... = Extended Security Negotiation: Extended security negotiation is supported .... .0.. .... .... = Reparse Path: The request does not use a @GMT reparse path .... .... .0.. .... = Long Names Used: Path names in request are not long file names .... .... ...0 .... = Security Signatures Required: Security signatures are not required .... .... .... 0... = Compressed: Compression is not requested .... .... .... .1.. = Security Signatures: Security signatures are supported .... .... .... ..1. = Extended Attributes: Extended attributes are supported .... .... .... ...1 = Long Names Allowed: Long file names are allowed in the response Process ID High: 0 Signature: 0000000000000000 Reserved: 0000 Tree ID: 10348 Process ID: 65279 User ID: 59639 Multiplex ID: 43073 Locking AndX Request (0x24) Word Count (WCT): 8 AndXCommand: No further commands (0xff) Reserved: 00 AndXOffset: 57054 FID: 0x7405 Lock Type: 0x10, Large Files ...1 .... = Large Files: Large file locking format requested .... 0... = Cancel: Don't cancel outstanding lock request .... .0.. = Change: Don't change lock type .... ..0. = Oplock Break: This is not an oplock break notification/response .... ...0 = Shared: This is an exclusive lock Oplock Level: Client is not holding oplock on this file (0) Timeout: Wait indefinitely (-1) Number of Unlocks: 0 Number of Locks: 1 Byte Count (BCC): 20 Locks Lock Process ID: 65279 Reserved: 0000 Offset: 2147483646 Length: 1 Respuesta del Servidor Transmission Control Protocol, Src Port: 445, Dst Port: 50004, Seq: 7322407, Ack: 14081551, Len: 39 Source Port: 445 Destination Port: 50004 [Stream index: 0] [TCP Segment Len: 39] Sequence number: 7322407 (relative sequence number) [Next sequence number: 7322446 (relative sequence number)] Acknowledgment number: 14081551 (relative ack number) 0101 .... = Header Length: 20 bytes (5) Flags: 0x018 (PSH, ACK) 000. .... .... = Reserved: Not set ...0 .... .... = Nonce: Not set .... 0... .... = Congestion Window Reduced (CWR): Not set .... .0.. .... = ECN-Echo: Not set .... ..0. .... = Urgent: Not set .... ...1 .... = Acknowledgment: Set .... .... 1... = Push: Set .... .... .0.. = Reset: Not set .... .... ..0. = Syn: Not set .... .... ...0 = Fin: Not set [TCP Flags: ·······AP···] Window size value: 9713 [Calculated window size: 9713] [Window size scaling factor: -1 (unknown)] Checksum: 0x9733 [unverified] [Checksum Status: Unverified] Urgent pointer: 0 [SEQ/ACK analysis] [This is an ACK to the segment in frame: 641510] [The RTT to ACK the segment was: 0.000041000 seconds] [Bytes in flight: 39] [Bytes sent since last PSH flag: 39] [Timestamps] [Time since first frame in this TCP stream: 38.717778000 seconds] [Time since previous frame in this TCP stream: 0.000041000 seconds] TCP payload (39 bytes) NetBIOS Session Service Message Type: Session message (0x00) Length: 35 SMB (Server Message Block Protocol) SMB Header Server Component: SMB [Response to: 641510] [Time from request: 0.000041000 seconds] SMB Command: Locking AndX (0x24) NT Status: STATUS_FILE_LOCK_CONFLICT (0xc0000054) Flags: 0x88, Request/Response, Case Sensitivity 1... .... = Request/Response: Message is a response to the client/redirector .0.. .... = Notify: Notify client only on open ..0. .... = Oplocks: OpLock not requested/granted ...0 .... = Canonicalized Pathnames: Pathnames are not canonicalized .... 1... = Case Sensitivity: Path names are caseless .... ..0. = Receive Buffer Posted: Receive buffer has not been posted .... ...0 = Lock and Read: Lock&Read, Write&Unlock are not supported Flags2: 0xc807, Unicode Strings, Error Code Type, Extended Security Negotiation, Security Signatures, Extended Attributes, Long Names Allowed 1... .... .... .... = Unicode Strings: Strings are Unicode .1.. .... .... .... = Error Code Type: Error codes are NT error codes ..0. .... .... .... = Execute-only Reads: Don't permit reads if execute-only ...0 .... .... .... = Dfs: Don't resolve pathnames with Dfs .... 1... .... .... = Extended Security Negotiation: Extended security negotiation is supported .... .0.. .... .... = Reparse Path: The request does not use a @GMT reparse path .... .... .0.. .... = Long Names Used: Path names in request are not long file names .... .... ...0 .... = Security Signatures Required: Security signatures are not required .... .... .... 0... = Compressed: Compression is not requested .... .... .... .1.. = Security Signatures: Security signatures are supported .... .... .... ..1. = Extended Attributes: Extended attributes are supported .... .... .... ...1 = Long Names Allowed: Long file names are allowed in the response Process ID High: 0 Signature: 0000000000000000 Reserved: 0000 Tree ID: 10348 Process ID: 65279 User ID: 59639 Multiplex ID: 43073 Locking AndX Response (0x24) [Expert Info (Error/Malformed): Trying to fetch an unsigned integer with length 0] [Trying to fetch an unsigned integer with length 0] [Severity level: Error] [Group: Malformed] [Malformed Packet: SMB] [Expert Info (Error/Malformed): Malformed Packet (Exception occurred)] [Malformed Packet (Exception occurred)] [Severity level: Error] [Group: Malformed] Gracias a todos por su paciencia y ayuda. José, Chile
xbase ahora inestable lenta error Status_Lock_Not_Granted
José: Entonces vas a tener que usar ADORDD. Este tipo de errores creo que cuesta menos ajustar a ADORDD que incurrir en un buen número de horas de debug y testeo. Un saludo
xbase ahora inestable lenta error Status_Lock_Not_Granted
Moisés Hola, te noto bastante convencido del uso de ADORDD y de que puede nesolver esta situación de la xBase. ¿lo usas? ¿tus bases de datos son grandes y con muchas tablas? ¿con más de 50 usuarios simultáneos? ¿qué tantos cambios reales al código fuente requiere? (Si gustas puedes comunicarte conmigo y lo vemos. Te agradezco). Amigos, y como solución temporal ¿dividir la empresa en grupos, y poner a los usuarios en equipos con Windows Server (tenemos 2012) con la ddbb xBase en el mismo equipo ¿ya no requeriría del servicio SMB? ¿y si fuera así, es una opción, alguien ha hecho eso?. En mi caso yo siempre he intentado controlar bien los bloqueos y desbloqueos de registros y la grabación en el software, por si es relevante para esto. Muchas gracias a todos. José, Chile
xbase ahora inestable lenta error Status_Lock_Not_Granted
Amigos, hola Una pregunta más ¿volver a SMB1 a alguien en verdad le ha funcionado? porque nosotros (con estaciones de trabajo Windows 7 y 10 y con servidor Linux Debian 9) hemos notado algo de mejora pero no hemos podido resolverlo realmente. José, Chile
xbase ahora inestable lenta error Status_Lock_Not_Granted
Hola: Nosotros migramos a MySQL porque en su momento ADORDD no estaba. Después lo probé y me gustó mucho. Las DBFS no funcionan bien en LAN.
xbase ahora inestable lenta error Status_Lock_Not_Granted
José As Moses comments .. there are potential opt lock problems with .dbf and certain networks ... I moved away from .dbf over 10 years ago to ADO and Sql rdms's .. YES, I had to re-write my programs to deal with SQL query syntax and never looked back and I have NO problems with performance .. To make the leap to ADO easier Rao has created a series of ADO wrappers that make manipulating Sql management very easy and simple .. Use Ms Access .mdb for local or portable apps or any RDMS like Sql Server with very little changes from one back-end to another. check out \source\function\adofuncs.prg Rick Lipkin
xbase ahora inestable lenta error Status_Lock_Not_Granted
Moisés y Rick Muchas gracias, y a todos, por su interés y ayuda y por compartir su experiencia en esto. Ya no molestaré más con este tema, no hay más que hacer con las DBF.... hay que cambiarse... sea ADORDD, MySQL puro u otra solución... a trabajar en ello de día y de noche... así que molestaré con MySQL... Agradecidos saludos desde Chile. José
xbase ahora inestable lenta error Status_Lock_Not_Granted
Hola José, En las estaciones prueba de modificar las siguientes entradas para desabilitar SMB2, que suele ser el origen del problema: Hilo del foro con varias explicaciones: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=7682&start=30&hilit=samba">viewtopic.php?f=6&t=7682&start=30&hilit=samba</a><!-- l --> HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/LanmanServer/Parameters EnableOpLocks = 0 (hex) EnableOpLockForceClose = 1 (hex) CachedOpenLimit = 0 (hex) Eso es clave para evitar problemas de concurrencia. En el samba tienes que tener los OPLOCKS disabled
xbase ahora inestable lenta error Status_Lock_Not_Granted
Ejemplo de smb.conf <!-- m --><a class="postlink" href="https://www.drouillard.biz/Tips&Tricks/Samba/Oplocks.htm">https://www.drouillard.biz/Tips&Tricks/ ... plocks.htm</a><!-- m -->
xbase ahora inestable lenta error Status_Lock_Not_Granted
Adicionalmente en esta carpeta <!-- m --><a class="postlink" href="https://www.drouillard.biz/Tips&Tricks/Samba/">https://www.drouillard.biz/Tips&Tricks/Samba/</a><!-- m --> hay dos ficheros .reg que se usan en las workstations y en los servidores para alterar el registro y desactivar los oplocks El de las estaciones es NTWrkStn.reg
xbase para android
el proyecto xBase para Android esta activo? o hay algun producto disponible de este tipo?
xbase para android
Javier, [url:j3effwg5]https&#58;//github&#46;com/FiveTechSoft/fivetouch[/url:j3effwg5]
xbgetbar
the sample xbgetbar run ok [img:1m1z48wr]https&#58;//i&#46;postimg&#46;cc/pL5VjsMg/nmnmn&#46;png[/img:1m1z48wr] I wish ask only 3 questions 1) have a sample with one column ( for a sample only city field) [b:1m1z48wr]sample :[/b:1m1z48wr] @ 60, 5 XBROWSE oBrowse OF oTabella ; SIZE -5,200 PIXEL FONT oFontTabella oCol := oBrowse:AddCol() oCol:bStrData := { || customer->city } oCol:cHeader :="City" oCol:nWidth := 250 2) is it possible that when I insert a letter the procedure already looks for the records that have that letter? obviously without pressing the "set filter" button? 3) is it possible to have the option to insert a btnbmp in the get field so that I can call the clearfilter function without pressing the button? [b:1m1z48wr] sample :[/b:1m1z48wr] [img:1m1z48wr]https&#58;//i&#46;postimg&#46;cc/wvnY9p7M/pr&#46;png[/img:1m1z48wr] I tried to make it , so I haven't figured out how to build the search dialog yet [img:1m1z48wr]https&#58;//i&#46;postimg&#46;cc/0NQpsgTL/jku&#46;png[/img:1m1z48wr] [code=fw:1m1z48wr]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> Sample1<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oDlg, oBrw, oFont, oBold<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> n<br /><br />&nbsp; &nbsp;USE CUSTOMER <span style="color: #00C800;">NEW</span> SHARED<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TAHOMA"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-12</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oBold <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TAHOMA"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-12</span> BOLD<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">800</span>,<span style="color: #000000;">500</span> <span style="color: #0000ff;">PIXEL</span> TRUEPIXEL ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">TITLE</span> FWVERSION + <span style="color: #ff0000;">" : Bar Get"</span><br />@ <span style="color: #000000;">110</span>,<span style="color: #000000;">20</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">-20</span>,<span style="color: #000000;">-20</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp;CELL LINES NOBORDER &nbsp; &nbsp;<br /><br />&nbsp; &nbsp;oCol := oBrw:<span style="color: #000000;">AddCol</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />oCol:<span style="color: #000000;">bStrData</span> := <span style="color: #000000;">&#123;</span> || customer->city <span style="color: #000000;">&#125;</span><br />oCol:<span style="color: #000000;">cHeader</span> :=<span style="color: #ff0000;">"City"</span><br />oCol:<span style="color: #000000;">nWidth</span> := <span style="color: #000000;">250</span><br />&nbsp;oCol:<span style="color: #000000;">uBarGetVal</span> &nbsp; &nbsp;:= space<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; WITH OBJECT oBrw<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nHeaderHeight</span> &nbsp; &nbsp;:= <span style="color: #000000;">40</span> <span style="color: #B900B9;">// optional</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">oHeaderFonts</span> &nbsp; &nbsp; := oBold<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">bClrEdits</span> &nbsp; &nbsp; &nbsp; &nbsp;:= <span style="color: #000000;">&#123;</span> || <span style="color: #000000;">&#123;</span> CLR_BLACK, CLR_YELLOW <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">AutoFit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;END<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">10</span>,<span style="color: #000000;">20</span> <span style="color: #0000ff;">SAY</span> <span style="color: #ff0000;">"Gets under Headers. Entered values can be used"</span> + ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"for filtering or any othe purpose"</span> + CRLF + ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"Usage: oCol:uBarGetVal := Space( 10 ); oBrw:lGetBar := .t."</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> oDlg:<span style="color: #000000;">nWidth</span> - <span style="color: #000000;">40</span>,<span style="color: #000000;">40</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">CENTER</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">60</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">BTNBMP</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">lGetBar</span>, <span style="color: #ff0000;">"Hide GetBar"</span>, <span style="color: #ff0000;">"ShowGetBar"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">40</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg FLAT ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">lGetBar</span> := ! oBrw:<span style="color: #000000;">lGetBar</span>, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">60</span>,<span style="color: #000000;">140</span> <span style="color: #0000ff;">BTNBMP</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Set Filter"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">40</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg FLAT ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> SetFilter<span style="color: #000000;">&#40;</span> oBrw <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">60</span>,<span style="color: #000000;">250</span> <span style="color: #0000ff;">BTNBMP</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Clear Filter"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">40</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg FLAT ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> DBCLEARFILTER<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">RELEASE</span> <span style="color: #0000ff;">FONT</span> oFont, oBold<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:1m1z48wr] SomeOne can Help me pls ?
xbgetbar
Now I tried with oBrw:lGetBar := .t. oBrw:nGetBarHeight:=33 oBrw:aCols[1]:uBarGetVal := Space(60) oBrw:aCols[1]:cBarGetBmp := "cancella.bmp" [b:udywy0cb] oBrw:aCols[1]:bBarGetAction := {|| (oBrw: cAlias) -> (SetFilter(oBrw,1,5))}[/b:udywy0cb] 1 = first column on the browse 5 := the field number on the dbf and changed the function [code=fw:udywy0cb]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /><br />&nbsp;<span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> SetFilter<span style="color: #000000;">&#40;</span> oBrw,nColumn,nField<span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cFilter := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> &nbsp;oCol, uVal, cType<br /><br />&nbsp; <span style="color: #B900B9;">// for n := 1 to Len( oBrw:aCols )</span><br />&nbsp; &nbsp; &nbsp; oCol &nbsp;:= oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> nColumn <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> uVal := oCol:<span style="color: #000000;">uBarGetVal</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> !Empty<span style="color: #000000;">&#40;</span> cFilter <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cFilter &nbsp;+= <span style="color: #ff0000;">" .AND. "</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cType &nbsp; &nbsp;:= ValType<span style="color: #000000;">&#40;</span> uVal <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * ?n<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">'C'</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; uVal &nbsp; &nbsp; := Upper<span style="color: #000000;">&#40;</span> AllTrim<span style="color: #000000;">&#40;</span> uVal <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cFilter += <span style="color: #ff0000;">'"'</span> + uVal + <span style="color: #ff0000;">'" $ UPPER( '</span> + FieldName<span style="color: #000000;">&#40;</span> nField <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" )"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">otherwise</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cFilter &nbsp;+= FieldName<span style="color: #000000;">&#40;</span> nField <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" == "</span> + cValToChar<span style="color: #000000;">&#40;</span> uVal <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endcase</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br /><br />&nbsp; <span style="color: #B900B9;">// next</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> Empty<span style="color: #000000;">&#40;</span> cFilter <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> DBFILTER<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DBCLEARFILTER<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> !<span style="color: #000000;">&#40;</span> DBFILTER<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> == cFilter <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SET FILTER <span style="color: #0000ff;">TO</span> &cFilter<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GO TOP<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:udywy0cb] [b:udywy0cb]Is there a solution without going to change the setfilter function every time?[/b:udywy0cb]
xbgetbar
If we use the Rao sample and I wish show two columns @ 110,20 XBROWSE oBrw SIZE -20,-20 PIXEL OF oDlg ; CELL LINES NOBORDER oCol := oBrw:AddCol() oCol:bStrData := { || upper(customer->city) } oCol:cHeader :="City" oCol:nWidth := 250 oCol := oBrw:AddCol() oCol:bStrData := { || upper(customer->first) } oCol:cHeader :="first" oCol:nWidth := 250 [img:1hna7w5r]https&#58;//i&#46;postimg&#46;cc/15nrjNxD/kkkk&#46;png[/img:1hna7w5r] the procedure always looks for the customer ID field in the first column of the xbrowse and the customer First field in the second column thus creating an error for the first column that is, I do not understand why the procedure looks for the first field of the database if I have inserted another field in the column
xbhosts and netdrive
[url:l2lczto9]https&#58;//mybergland&#46;com/fwforum/xbhosts&#46;mp4[/url:l2lczto9]
xbrGen - visual xBrowse
Hello xbrGen.prg in the Fivewin folder is a program that I have completely forgotten. Today I renamed the program to visualxBrowse and donated the program a logo. In the video you can see Fivedit, visualxBrowse and AUTOCODE. Kind regards Otto [img:18mopbsq]http&#58;//mybergland&#46;com/FWForum/MediumSquareLogo&#46;jpg[/img:18mopbsq] [img:18mopbsq]http&#58;//mybergland&#46;com/FWForum/400dpiLogoCropped&#46;jpg[/img:18mopbsq] [img:18mopbsq]http&#58;//mybergland&#46;com/FWForum/visualxBrowse&#46;gif[/img:18mopbsq]
xbrGen - visual xBrowse
Very good! Thanks Mr. Otto
xbrGen - visualxBrowse
Hello xbrGen.prg in the Fivewin folder is a program that I have completely forgotten. Today I renamed the program to visualxBrowse and donated the program a logo. In the video you can see Fivedit, visualxBrowse and AUTOCODE. Kind regards Otto [img:1ki3fnpp]http&#58;//mybergland&#46;com/FWForum/MediumSquareLogo&#46;jpg[/img:1ki3fnpp] [img:1ki3fnpp]http&#58;//mybergland&#46;com/FWForum/400dpiLogoCropped&#46;jpg[/img:1ki3fnpp] [img:1ki3fnpp]http&#58;//mybergland&#46;com/FWForum/visualxBrowse&#46;gif[/img:1ki3fnpp]
xbrGen - visualxBrowse
Mr. Otto Very Good. I will be soon updating the xbrcode class which is used by xbrgen.prg.
xbrNumFormat
Hola en su momento consulte sobre xbrowse y Mr. Nageswaragunupudi me recomento utilizar esta función cuando usase xBrowse, pero el programa me muestra los resultados en formato Americano y sin los separadores de mil y sí el decimal. Aquí muestro todo el código para ver si me pueden ayudar con esto. Los ejemplos de fwh funcionan bien, pero aquí hay algo que no funciona. [code=fw:yi4uij1b]<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: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"splitter.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"report.ch"</span><br /><br /><span style="color: #00C800;">STATIC</span> octae<br /><br /><span style="color: #00C800;">FUNCTION</span> xBrwgen<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">LOCAL</span> odlgx<br />   <span style="color: #00C800;">LOCAL</span> oBrw, oSpli<br />   <span style="color: #00C800;">LOCAL</span> nProa := <span style="color: #000000;">0</span><br />   <span style="color: #00C800;">LOCAL</span> napea<br />   <span style="color: #00C800;">LOCAL</span> aMae := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> oGet := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> beval  := <span style="color: #000000;">&#123;</span>|| aMae := iif<span style="color: #000000;">&#40;</span> Empty<span style="color: #000000;">&#40;</span> nproa <span style="color: #000000;">&#41;</span>, buspro<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, buspro<span style="color: #000000;">&#40;</span> nproa <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, iif<span style="color: #000000;">&#40;</span> Len<span style="color: #000000;">&#40;</span> aMae <span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0</span>, <span style="color: #000000;">&#40;</span> nproa := aMae<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>,napea := aMae<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>,odlgx:<span style="color: #0000ff;">update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,filtro<span style="color: #000000;">&#40;</span>nproa,oBrw,oGet,oDlgx <span style="color: #000000;">&#41;</span>, .T. <span style="color: #000000;">&#41;</span>, odlgx:<span style="color: #000000;">end</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />   <span style="color: #00C800;">LOCAL</span> aSelGrad := <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> .<span style="color: #000000;">5</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">251</span> <span style="color: #000000;">&#41;</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">237</span>, <span style="color: #000000;">178</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, ;<br />      <span style="color: #000000;">&#123;</span> .<span style="color: #000000;">5</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">218</span>, <span style="color: #000000;">103</span> <span style="color: #000000;">&#41;</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">233</span>, <span style="color: #000000;">162</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />   <span style="color: #00C800;">LOCAL</span> aGradBarSel := <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> .<span style="color: #000000;">5</span>,RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>,<span style="color: #000000;">255</span>,<span style="color: #000000;">251</span> <span style="color: #000000;">&#41;</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">196</span>, <span style="color: #000000;">178</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, ;<br />      <span style="color: #000000;">&#123;</span> .<span style="color: #000000;">5</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">218</span>, <span style="color: #000000;">103</span> <span style="color: #000000;">&#41;</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">233</span>, <span style="color: #000000;">162</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br /><br />   <span style="color: #00C800;">LOCAL</span> nSaldo := <span style="color: #000000;">0</span><br />   <span style="color: #00C800;">LOCAL</span> z := <span style="color: #000000;">0</span><br />   <br />   xbrNumFormat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"E"</span>, .t. <span style="color: #000000;">&#41;</span><br />    <br /><br />   <span style="color: #00C800;">IF</span> !pasaje<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CTAEXPO"</span> <span style="color: #000000;">&#41;</span>;RETURN <span style="color: #00C800;">nil</span>; <span style="color: #00C800;">ENDIF</span><br />   DATABASE oCtae<br />   oCtae:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />   oCtae:<span style="color: #000000;">beof</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#125;</span><br />   oCtae:<span style="color: #000000;">bBoF</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#125;</span><br />   oCtae:<span style="color: #000000;">setfilter</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#40;</span> oCtae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->npro = <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #B900B9;">//oCtae:setfilter( "(oCtae:cAlias)->npro = 0 " )</span><br /><br /><br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"dia_xbrowse"</span><br /><br /><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> nproa <span style="color: #0000ff;">id</span> <span style="color: #000000;">121</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> Eval<span style="color: #000000;">&#40;</span> beval <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> napea <span style="color: #0000ff;">id</span> <span style="color: #000000;">120</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">update</span><br /><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">of</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"btngastos"</span>, <span style="color: #ff0000;">"btnastos1"</span> <span style="color: #0000ff;">ACTION</span> ctaexpo<span style="color: #000000;">&#40;</span> oCtae, oBrw, nproa, .T., .T. <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">of</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"btnpagos"</span>, <span style="color: #ff0000;">"btnpagos1"</span> <span style="color: #0000ff;">ACTION</span> ctaexpo<span style="color: #000000;">&#40;</span> oCtae, oBrw, nproa, .F., .T. <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">103</span> <span style="color: #0000ff;">of</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"btncambiar"</span>, <span style="color: #ff0000;">"btncambiar1"</span> <span style="color: #0000ff;">ACTION</span> ctaexpo<span style="color: #000000;">&#40;</span> oCtae, oBrw, nproa, .T., .F. <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">104</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"BTNIMPRI"</span>, <span style="color: #ff0000;">"BTNIMPRI1"</span> <span style="color: #0000ff;">ACTION</span> Reporte<span style="color: #000000;">&#40;</span> nProa, octae <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"BTNELIMINA"</span>, <span style="color: #ff0000;">"BTNELIMINA1"</span> <span style="color: #0000ff;">ACTION</span> BORRAR<span style="color: #000000;">&#40;</span> nProa, octae, oBrw, odlgx <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">of</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"BTNELIMINA"</span>,<span style="color: #ff0000;">"BTNELIMINA1"</span> <span style="color: #0000ff;">ACTION</span> borrar<span style="color: #000000;">&#40;</span>nProa,oCtae<span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">FOR</span> z = <span style="color: #000000;">3</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">7</span><br />      oGet<span style="color: #000000;">&#91;</span> z <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">NEXT</span><br /><br />   <span style="color: #0000ff;">REDEFINE</span> SPLITTER oSpli <span style="color: #0000ff;">ID</span> <span style="color: #000000;">111</span> <span style="color: #0000ff;">COLOR</span> rgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span> <span style="color: #000000;">&#41;</span>  <span style="color: #0000ff;">of</span> odlgx _3DLOOK<br /><br /><br /><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">OF</span> oDlgx DATASOURCE oCtae;<br />      COLUMNS ;<br />      <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> oCtae:<span style="color: #000000;">npro</span> = nproa, oCtae:<span style="color: #000000;">fecha</span>,  <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>,  ;<br />      <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> oCtae:<span style="color: #000000;">npro</span> = nproa, oCtae:<span style="color: #000000;">factura</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>,  ;<br />      <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> oCtae:<span style="color: #000000;">npro</span> = nproa, oCtae:<span style="color: #000000;">opera</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>,  ;<br />      <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> octae:<span style="color: #000000;">npro</span> = nProa .AND.   octae:<span style="color: #000000;">lsumo</span>, octae:<span style="color: #000000;">importe</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>,  ;<br />      <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> octae:<span style="color: #000000;">npro</span> = nProa .AND.  !octae:<span style="color: #000000;">lsumo</span>, octae:<span style="color: #000000;">importe</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>,  ;<br />      <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> oCtae:<span style="color: #000000;">npro</span> = nproa, oCtae:<span style="color: #000000;">saldo</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> ;<br />      HEADERS <span style="color: #ff0000;">"Fecha"</span>, <span style="color: #ff0000;">"Comprobante"</span>, <span style="color: #ff0000;">"Descripción"</span>, <span style="color: #ff0000;">"Debe"</span>, <span style="color: #ff0000;">"Haber"</span>, <span style="color: #ff0000;">"Total"</span>;<br />      COLSIZES <span style="color: #000000;">80</span>, <span style="color: #000000;">90</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span>;<br />      LINES CELL <span style="color: #0000ff;">UPDATE</span><br />      <br />      oBrw:<span style="color: #000000;">lDisplayZeros</span> := .f.<br />      <br /> <br /><br />   WITH OBJECT oBrw<br />      :<span style="color: #000000;">lDisplayZeros</span> := .F.<br />      :<span style="color: #000000;">nMarqueeStyle</span> := MARQSTYLE_HIGHLROWRC<br />      :<span style="color: #000000;">nStretchCol</span> := STRETCHCOL_WIDEST<br />      :<span style="color: #000000;">bClrSel</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#123;</span> nRGB<span style="color: #000000;">&#40;</span>  <span style="color: #000000;">0</span>,  <span style="color: #000000;">0</span>,<span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span>,aGradBarSel <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">bClrSelFocus</span>  := <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#123;</span> CLR_BLACK, aSelGrad <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">lColDividerComplete</span> := .F.<br />      :<span style="color: #000000;">lAllowColHiding</span> := .F.<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bStrData</span> := <span style="color: #000000;">&#123;</span>|| oCtae:<span style="color: #000000;">fecha</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">nDataStrAlign</span> := AL_RIGHT<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bStrData</span> := <span style="color: #000000;">&#123;</span>|| oCtae:<span style="color: #000000;">factura</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">nDataStrAlign</span> := AL_RIGHT<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bStrData</span> := <span style="color: #000000;">&#123;</span>|| oCtae:<span style="color: #000000;">opera</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">nDataStrAlign</span> := AL_LEFT<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bStrData</span> := <span style="color: #000000;">&#123;</span>|| iif<span style="color: #000000;">&#40;</span> octae:<span style="color: #000000;">lsumo</span>, octae:<span style="color: #000000;">importe</span>,<span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span>   <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">nDataStrAlign</span> := AL_RIGHT<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bStrData</span> := <span style="color: #000000;">&#123;</span>|| iif<span style="color: #000000;">&#40;</span> !octae:<span style="color: #000000;">lsumo</span>, octae:<span style="color: #000000;">importe</span>, <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">nDataStrAlign</span> := AL_RIGHT<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bStrData</span> := <span style="color: #000000;">&#123;</span>|| octae:<span style="color: #000000;">saldo</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">nDataStrAlign</span> := AL_RIGHT<br />   END WITH<br /><br /><br />   <span style="color: #0000ff;">activate</span> <span style="color: #0000ff;">dialog</span> odlgx<br /><br />   cierroalias<span style="color: #000000;">&#40;</span> oCtae:<span style="color: #000000;">cAlias</span>, oCtae <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><span style="color: #B900B9;">/***************************************************************************/</span><br /><br />&nbsp;</div>[/code:yi4uij1b] Gracias Luis
xbrNumFormat
Bueno ya el Sr Mr. Nageswaragunupudi me había mostrado el camino pero en su momento no lo vi, así funciona bien. [code=fw:3ant8oxr]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   xbrNumFormat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"E"</span>, .t. <span style="color: #000000;">&#41;</span><br />   <br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"dia_xbrowse"</span><br /><br /><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> nproa <span style="color: #0000ff;">id</span> <span style="color: #000000;">121</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> Eval<span style="color: #000000;">&#40;</span> beval <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> napea <span style="color: #0000ff;">id</span> <span style="color: #000000;">120</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">update</span><br /><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">of</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"btngastos"</span>, <span style="color: #ff0000;">"btnastos1"</span> <span style="color: #0000ff;">ACTION</span> ctaexpo<span style="color: #000000;">&#40;</span> oCtae, oBrw, nproa, .T., .T. <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">of</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"btnpagos"</span>, <span style="color: #ff0000;">"btnpagos1"</span> <span style="color: #0000ff;">ACTION</span> ctaexpo<span style="color: #000000;">&#40;</span> oCtae, oBrw, nproa, .F., .T. <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">103</span> <span style="color: #0000ff;">of</span> oDlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"btncambiar"</span>, <span style="color: #ff0000;">"btncambiar1"</span> <span style="color: #0000ff;">ACTION</span> ctaexpo<span style="color: #000000;">&#40;</span> oCtae, oBrw, nproa, .T., .F. <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">104</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"BTNIMPRI"</span>, <span style="color: #ff0000;">"BTNIMPRI1"</span> <span style="color: #0000ff;">ACTION</span> Reporte<span style="color: #000000;">&#40;</span> nProa, octae <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">of</span> odlgx <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"BTNELIMINA"</span>, <span style="color: #ff0000;">"BTNELIMINA1"</span> <span style="color: #0000ff;">ACTION</span> BORRAR<span style="color: #000000;">&#40;</span> nProa, octae, oBrw, odlgx <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">update</span><br />   <span style="color: #B900B9;">//REDEFINE BTNBMP oGet[7] id 105 of oDlgx resource "BTNELIMINA","BTNELIMINA1" ACTION borrar(nProa,oCtae)</span><br /><br />   <span style="color: #00C800;">FOR</span> z = <span style="color: #000000;">3</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">7</span><br />      oGet<span style="color: #000000;">&#91;</span> z <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">NEXT</span><br /><br />   <span style="color: #0000ff;">REDEFINE</span> SPLITTER oSpli <span style="color: #0000ff;">ID</span> <span style="color: #000000;">111</span> <span style="color: #0000ff;">COLOR</span> rgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span> <span style="color: #000000;">&#41;</span>  <span style="color: #0000ff;">of</span> odlgx _3DLOOK<br /><br /><br /><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">OF</span> odlgx DATASOURCE octae;<br />      COLUMNS <span style="color: #000000;">&#123;</span><span style="color: #000000;">1</span>,<span style="color: #000000;">2</span>,<span style="color: #000000;">3</span>,<span style="color: #000000;">4</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">6</span><span style="color: #000000;">&#125;</span>;<br />      HEADERS <span style="color: #ff0000;">"Fecha"</span>, <span style="color: #ff0000;">"Comprobante"</span>, <span style="color: #ff0000;">"Descripción"</span>, <span style="color: #ff0000;">"Debe"</span>, <span style="color: #ff0000;">"Haber"</span>, <span style="color: #ff0000;">"Total"</span>;<br />      COLSIZES <span style="color: #000000;">80</span>, <span style="color: #000000;">90</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span>;<br />      LINES CELL <span style="color: #0000ff;">UPDATE</span><br /><br /><br /><br /><br /><br />   WITH OBJECT oBrw<br />      :<span style="color: #000000;">lDisplayZeros</span> := .F.<br />      :<span style="color: #000000;">nMarqueeStyle</span> := MARQSTYLE_HIGHLROWRC<br />      :<span style="color: #000000;">nStretchCol</span> := STRETCHCOL_WIDEST<br />      :<span style="color: #000000;">bClrSel</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#123;</span> nRGB<span style="color: #000000;">&#40;</span>  <span style="color: #000000;">0</span>,  <span style="color: #000000;">0</span>,<span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span>,aGradBarSel <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">bClrSelFocus</span>  := <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#123;</span> CLR_BLACK, aSelGrad <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">lColDividerComplete</span> := .F.<br />      :<span style="color: #000000;">lAllowColHiding</span> := .F.<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">&#123;</span>|| octae:<span style="color: #000000;">fecha</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">nDataStrAlign</span> := AL_RIGHT<br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">&#123;</span>|| octae:<span style="color: #000000;">factura</span> <span style="color: #000000;">&#125;</span><br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">&#123;</span>|| octae:<span style="color: #000000;">opera</span> <span style="color: #000000;">&#125;</span><br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bEditValue</span> :=<span style="color: #000000;">&#123;</span>|| iif<span style="color: #000000;">&#40;</span> octae:<span style="color: #000000;">lsumo</span>, octae:<span style="color: #000000;">importe</span>,<span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span>   <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">cEditPicture</span> := NumPict<span style="color: #000000;">&#40;</span> <span style="color: #000000;">12</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />    END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">&#123;</span>|| iif<span style="color: #000000;">&#40;</span> !octae:<span style="color: #000000;">lsumo</span>, octae:<span style="color: #000000;">importe</span>, <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">cEditPicture</span> := NumPict<span style="color: #000000;">&#40;</span> <span style="color: #000000;">12</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />   END WITH<br /><br />   WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span><br />      :<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">&#123;</span>|| octae:<span style="color: #000000;">saldo</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">cEditPicture</span> := NumPict<span style="color: #000000;">&#40;</span> <span style="color: #000000;">12</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />   END WITH<br /><br /><br />   <span style="color: #0000ff;">activate</span> <span style="color: #0000ff;">dialog</span> odlgx<br /><br />   cierroalias<span style="color: #000000;">&#40;</span> oCtae:<span style="color: #000000;">cAlias</span>, oCtae <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:3ant8oxr] Si no declaro cEditpicture muestra por ej: 100000,00 De la forma correcta 100.000,00 Luis
xbrdbu : new version
Hello , Last months i worked on xbrdbu. Startting from <!-- m --><a class="postlink" href="http://fivewin-contributions.googlecode.com/files/xbrdbu_2.zop">http://fivewin-contributions.googlecode ... rdbu_2.zop</a><!-- m --> 1) Xbrdbu uses only files from his own , no files from fwh as WindowsXP.Manifest , bmp-files , some ch-files 2) Added : launch parameter cDbfFile From command line : xbrdbu.exe cDbfFile 3) Added : Static Var : hIndex Hash variable , holding the data to (re)index 4) Index menu and his actions : changed NEW 5) Index management Open Index Close index Index Order Filter by scope Change/add index 6) Utilities Browse columns (columns configuration) Relations Establish Filter Count Statistics Append From Copy To Delete Recall Pack Zap Can be downloaded from : <!-- m --><a class="postlink" href="http://rapidshare.com/files/3968319008/XBRDBUFD.ZIP">http://rapidshare.com/files/3968319008/XBRDBUFD.ZIP</a><!-- m --> Frank
xbrdbu : new version
A copy of the file placed at FiveWin-Contributions: [url:2hprspze]http&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=XBRDBUFD&#46;ZIP&can=2&q=[/url:2hprspze] Thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xbrdbu : new version
[quote="Antonio Linares":1od15w7e]A copy of the file placed at FiveWin-Contributions: [url:1od15w7e]http&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=XBRDBUFD&#46;ZIP&can=2&q=[/url:1od15w7e] Thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1od15w7e] Antonio , xbrowse.prg should not be present in the download , it is not needed. I changed the zip-file in rapidshare Frank
xbrdbu : new version
I just found a little Error selecting < Source > Time from start: 0 hours 0 mins 6 secs Error occurred at: 28-01-2013, 17:27:34 Error description: Error BASE/1132 Bound error: array access Args: [color=#0000FF:h3jntuld] [b:h3jntuld] [ 1] = A { ... } [ 2] = N 6[/b:h3jntuld][/color:h3jntuld] Stack Calls =========== Called from: => ARRAY:__OPARRAYINDEX( 0 ) Called from: .\source\classes\XBRCODE.PRG => CEDITCONST( 941 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:PRGVARCODE( 752 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:PRGCODECMD( 689 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:PRGCODE( 564 ) Called from: .\source\classes\XBRCODE.PRG => (b)TXBRCODE_PRGCODE( 239 ) Called from: => AEVAL( 0 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCODE:PRGCODE( 239 ) Called from: xbrdbu.prg => VIEWCODE( 1060 ) Called from: xbrdbu.prg => (b)BRWBTNBAR( 817 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 465 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 656 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1690 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1407 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3159 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 980 ) Called from: xbrdbu.prg => MAIN( 92 ) Best Regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xbrdbu : new version
[url:2j7yyfqd]http&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=XBRDBUFD2&#46;ZIP&can=2&q=[/url:2j7yyfqd] thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xbrdbu : new version
[quote="ukoenig":3l2jdpsn]I just found a little Error selecting < Source > Time from start: 0 hours 0 mins 6 secs Error occurred at: 28-01-2013, 17:27:34 Error description: Error BASE/1132 Bound error: array access Args: [color=#0000FF:3l2jdpsn] [b:3l2jdpsn] [ 1] = A { ... } [ 2] = N 6[/b:3l2jdpsn][/color:3l2jdpsn] Stack Calls =========== Called from: => ARRAY:__OPARRAYINDEX( 0 ) Called from: .\source\classes\XBRCODE.PRG => CEDITCONST( 941 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:PRGVARCODE( 752 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:PRGCODECMD( 689 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:PRGCODE( 564 ) Called from: .\source\classes\XBRCODE.PRG => (b)TXBRCODE_PRGCODE( 239 ) Called from: => AEVAL( 0 ) Called from: .\source\classes\XBRCODE.PRG => TXBRCODE:PRGCODE( 239 ) Called from: xbrdbu.prg => VIEWCODE( 1060 ) Called from: xbrdbu.prg => (b)BRWBTNBAR( 817 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 465 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 656 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1690 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1407 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3159 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 980 ) Called from: xbrdbu.prg => MAIN( 92 ) Best Regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->[/quote:3l2jdpsn] Uwe, This part is from the original xbrdbu , i worked only on index management and utiltys Frank
xbrdbu : new version
This requires a fix in xbrcode.prg The function cEditConst( nEditType ) is to be replaced by this new one: [code=fw:201yivo5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> cEditConst<span style="color: #000000;">&#40;</span> nEditType <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">'EDIT_GET'</span>, <span style="color: #ff0000;">'EDIT_LISTBOX'</span>, <span style="color: #ff0000;">'EDIT_BUTTON'</span>, <span style="color: #ff0000;">"EDIT_GET_LISTBOX"</span>, <span style="color: #ff0000;">"EDIT_GET_BUTTON"</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">'EDIT_DATE'</span>, <span style="color: #ff0000;">'EDIT_TIME'</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#91;</span> nEditType <span style="color: #000000;">&#93;</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br />&nbsp;</div>[/code:201yivo5] Please make this change in xbrcode.prg and link with the application.
xbrdbu : new version
xbrcode.prg is not in the archive, where can I find it ?
xbrdbu : new version
\fwh\source\classes
xbrdbu : new version
Antonio, Nages, Uwe,Frank I do not want to make any controversy I just want to give you my thoughts ... my five cents! For a long time that I see on this forum that someone wants to create an application like Wdbu, but it's been many months and still no one has succeeded in creating a valid application (Fwdbu, xbrdbu, ...). For a long time you start a new tool and then not you will not finish each and every now and then recreates a new beginning. And still I can not use a valid application for the archives as wdbu, I can not use a valid application to create reports as fr, or we cannot use a wizard for installation as Innosetup We all have to use third parties, but I believe that we should all strive to create valuable tool within Fivewin, if all we have time, we must cooperate in the creation of these valuable tools.
xbrdbu : new version
What I miss is the “Statistics” from WDbu. I would also suggest to rename the tool to an user-friendly name. Best regards, Otto
xbrdbu : new version
[quote="Otto":2ha1sqm2]What I miss is the “Statistics” from WDbu. I would also suggest to rename the tool to an user-friendly name. Best regards, Otto[/quote:2ha1sqm2] Otto , Hove you taken a look in the code ? [code=fw:2ha1sqm2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Statistics"</span> <span style="color: #0000ff;">WHEN</span> ASCAN<span style="color: #000000;">&#40;</span>oDbfWnd:<span style="color: #000000;">aStruc</span> , <span style="color: #000000;">&#123;</span>|a|a<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">"N"</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>><span style="color: #000000;">0</span>;<br />                 <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"STATICS"</span> ;<br />                 <span style="color: #0000ff;">ACTION</span> oDbfWnd:<span style="color: #000000;">ReplaceFor</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span>;<span style="color: #B900B9;">//MsgInfo( " oDbfWnd:Sum() ");</span><br />                 <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Statistics calculations of all numeric fields"</span> ;<br />                 ENABLED<br /> </div>[/code:2ha1sqm2] There must be a numeric field in the dbf !!!!! Also relations will only be enabled as at least 2 aliasses are in use The name was arbitrary choosen for mine own directory's. It is still xbrdbu , but more complete Now it still have "FD" as define , to let see where the original code is changed. Omitting this would simplify the code. Frank
xbrdbu : new version
Hello Franklin, thank you. Please excuse me. I mixed up the official new Fivewin DBU with the xWDBU clone. You are right. In the xBRWDBU there is now all the functionality xWDBU had. But the version is not very stable. Some functions freeze. Where should we report the errors. Which version should now become the xWDBU replacement. Best regards, Otto
xbrdbu : new version
Saludos. Observo que tanto en esta versión de XBRDBU como en la anterior, cuando se modifica el nombre de un campo, se pierde el contenido del mismo. Es decir : Aparece el campo con el nuevo nombre, pero vacio, sin los datos que contenía antes de la modificación de la estructura. ? Es normal, o me hé perdido algo...? Gracias
xbrdbu : new version
Greetings mister Franklin. I beg you excuse my ignorance.. .: Would it be possible to get in XBRDBU, that to rename a field the restrained data did not get lost in the same...? Thank you for your attention.
xbrdbu : new version
[quote="desdesummer87":10f1fhh9]Greetings mister Franklin. I beg you excuse my ignorance.. .: Would it be possible to get in XBRDBU, that to rename a field the restrained data did not get lost in the same...? Thank you for your attention.[/quote:10f1fhh9] I give not attention till now on these matter. First impression : when a Dbf is active , Modify srtucture must at least load the active structure. Personally i use a routine which uses a datadirectory (Text witch describes the dbf structure's) . I adopted it from a library i bought +/- 1992 (* Copyright(c) 1991 -- James Occhiogrosso) If you are intrested : i will send it when i have your e-mail adress. Last week i worked on Edit (Copy record , Paste Record , Insert record Edit record) Next week i hope to work on Modify structure
xbrdbu : new version
Thank you very much for your kindness.. I will follow the future modifications attentively. Greetings.
xbrdbu : new version
[quote="Otto":2xz82vzl]Hello Franklin, thank you. Please excuse me. I mixed up the official new Fivewin DBU with the xWDBU clone. You are right. In the xBRWDBU there is now all the functionality xWDBU had. But the version is not very stable. Some functions freeze. Where should we report the errors. Which version should now become the xWDBU replacement. Best regards, Otto[/quote:2xz82vzl] Otto Today me too had some problems. Eliminating each oMsgBar:aItems[n]:refresh() solved the problem. Only oMsgBar:refresh() seems to be allowed FRank
xbrdbu : new version
[quote="desdesummer87":1y8awjds]Thank you very much for your kindness.. I will follow the future modifications attentively. Greetings.[/quote:1y8awjds] a New version is available at : <!-- m --><a class="postlink" href="http://rapidshare.com/files/3521880066/XBRDBUFD2.ZIP">http://rapidshare.com/files/3521880066/XBRDBUFD2.ZIP</a><!-- m --> (version from 17/2/2013 19h) I believe that the most important items are now present : Changes from FRANK DEMONT are included with the define FD This version has omitted the defines to simplify the code !!! Also unused code is omitted. In the menu are the unfinished items disabled Version from 5/2/2013 1) Xbrdbu uses only files from his own , no files from fwh as WindowsXP.Manifest , bmp-files , some ch-files 2) Added : launch parameter cDbfFile From command line : xbrdbu.exe cDbfFile 3) Added : Static Var : hIndex Hash variable , holding the data to (re)index 4) Index menu and his actions : changed NEW 5) Index management Open Index Close index Index Order Filter by scope Change/add index 6) Utilities Browse columns (columns configuration) Relations Establish Filter Count Statistics Append From Copy To Delete Recall Pack Zap [b:1y8awjds]Added in this version (16/2/2013) [/b:1y8awjds] Messagebar from oDbfWnd : enhanced Append From , Copy To : Format Clipboard Appended 7) Edit Copy Record Paste Record Insert record : If Ordcount() == 0 , not present in old xbrdbu Append record Edit rec : from fivedbu <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> File New / modify structure : New module , based on xbrowse This module has many checks as : Existing field : type cannot change Field from a index expression : only len or dec can change Frank Demont
xbrdbu : new version
Thanks again for its attention, but the problem persists. When publishing the name of a field, the data contained in him erase. Nevertheless, quietly grateful. desdesummer87.
xbrdbu : new version
[quote="desdesummer87":2mvs53vr]Thanks again for its attention, but the problem persists. When publishing the name of a field, the data contained in him erase. Nevertheless, quietly grateful. desdesummer87.[/quote:2mvs53vr] Sorry , i am afraid that i don't understand the problem. Frank
xbrdbu : new version
Buenas tardes Da un error en la linea 214 - > When .... en el inicio de la aplicacion en la opcion Edit si no se ha abierto ninguna base de datos Un saludo y gracias Translate google good afternoon Give an error on line 214 -> When .... at the start of the application in the Edit if not opened any database Regards and thanks
xbrdbu : new version
[quote="cnavarro":wynfjdp2]Buenas tardes Da un error en la linea 214 - > When .... en el inicio de la aplicacion en la opcion Edit si no se ha abierto ninguna base de datos Un saludo y gracias Translate google good afternoon Give an error on line 214 -> When .... at the start of the application in the Edit if not opened any database Regards and thanks[/quote:wynfjdp2] I am Sorry. Line 194 MENUITEM "&Edit" Should be MENUITEM "&Edit" WHEN ! EMPTY(alias()) Also MENUITEM "&Navigation" WHEN ! EMPTY(alias()) Frank
xbrdbu : new version
[quote="desdesummer87":x09hfftj]Thanks again for its attention, but the problem persists. When publishing the name of a field, the data contained in him erase. Nevertheless, quietly grateful. desdesummer87.[/quote:x09hfftj] I think that i understood the problem : when a fieldname is changed the data from this field is lost. This i a behaviour from (x)harbour's APPEND FROM command. First we creata a empty database with the new structure , then the old data are appended. When the name is changed , (x)harbour can not know to which field the data belong's Also the position from the field can not be used , fields can be erased or changed in order. Only possibilty : use the backup file to update the new file with a little routine where you specify which field in the backup should update which field in the new one OR as in the good old days from DBASE 1) Modi struct , append newfield (the newname) (Modify structure , file menu) 2) REPL newname WITH oldname (utilty's) 3) Modi Struct , delete oldfield If the order from the fields is important you can also this change , using copy record, delete record , insert record and paste record Frank
xbrdbu : new version
<!-- m --><a class="postlink" href="http://rapidshare.com/files/2886427750/XBRDBUFD1.ZIP">http://rapidshare.com/files/2886427750/XBRDBUFD1.ZIP</a><!-- m --> Correction from some bug's Version from 19 h <!-- m --><a class="postlink" href="http://rapidshare.com/files/3521880066/XBRDBUFD2.ZIP">http://rapidshare.com/files/3521880066/XBRDBUFD2.ZIP</a><!-- m --> Frank
xbrdbu : new version
El enlace no funciona Muchas gracias por tu esfuerzo y trabajo The link does not work Thank you very much for your hard work
xbrdbu : new version
Sorry , i tested it from here and it is ok. At this moment i can see that 6 downloads have been done. Mail me at <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> , and i will send it. Frank
xbrdbu : new version
Error when opening an empty database and hitting the Source Button... [code=fw:4oe8lm09]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />   Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Users\Maya\Downloads\4Shared\XBRDBUFD2\xbrdbu.Exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">Size</span>: <span style="color: #000000;">2</span>,<span style="color: #000000;">884</span>,<span style="color: #000000;">608</span> bytes<br />   Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.1</span>.0dev <span style="color: #000000;">&#40;</span>Rev. <span style="color: #000000;">17025</span><span style="color: #000000;">&#41;</span><br />   FiveWin  Version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">12.02</span><br />   Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7600</span> <br /><br />   Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">25</span> secs <br />   Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">17</span><span style="color: #000000;">-02</span><span style="color: #000000;">-2013</span>, <span style="color: #000000;">12</span>:<span style="color: #000000;">25</span>:<span style="color: #000000;">33</span><br />   Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1132</span>  Bound error: <span style="color: #000000;">array</span> access<br />   Args:<br />     <span style="color: #000000;">&#91;</span>   <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = A   <span style="color: #000000;">&#123;</span> ... <span style="color: #000000;">&#125;</span><br />     <span style="color: #000000;">&#91;</span>   <span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> = N   <span style="color: #000000;">6</span><br /><br />Stack Calls<br />===========<br />   Called <span style="color: #0000ff;">from</span>:  => ARRAY:__OPARRAYINDEX<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\XBRCODE.PRG => CEDITCONST<span style="color: #000000;">&#40;</span> <span style="color: #000000;">941</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:<span style="color: #000000;">PRGVARCODE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">752</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:<span style="color: #000000;">PRGCODECMD</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">689</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\XBRCODE.PRG => TXBRCOLCODE:<span style="color: #000000;">PRGCODE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">564</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\XBRCODE.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBRCODE_PRGCODE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">239</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>:  => AEVAL<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\XBRCODE.PRG => TXBRCODE:<span style="color: #000000;">PRGCODE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">239</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">xbrdbu</span>.prg => VIEWCODE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1037</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">xbrdbu</span>.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>BRWBTNBAR<span style="color: #000000;">&#40;</span> <span style="color: #000000;">794</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #0000ff;">CLICK</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">465</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #000000;">LBUTTONUP</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">656</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1690</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1407</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3159</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>:  => WINRUN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TMDIFRAME:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">980</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">xbrdbu</span>.prg => MAIN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">76</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:4oe8lm09]