topic
stringlengths 1
63
| text
stringlengths 1
577k
⌀ |
---|---|
*** Curso de C para programadores Harbour. | Hello Manuel,
Many thanks. The program now compiles.
But when I add the function, the application stops responding.
Best regards,
Otto |
*** Curso de C para programadores Harbour. | Querido Otto mírate estos dos ejemplos de Harbour:
prngdi.prg y wingdi.prg de los test |
*** Curso de C para programadores Harbour. | Manuel,
Thank you. Best regard, Otto |
*** Curso de C para programadores Harbour. | Hoy nueva entrega del Curso de C para programadores Harbour.
Tema 19. El FileSys API. De archivos desde C.
Como ejemplo he creado un sistema de LOG Manager genérico que puede ser usado en C directamente y desde PRG.
Y posiblemente pondré otro ejemplo creando una clase hecha en C para Harbour para gestionar archivos.
Hay una clase que publiqué en este foro que la rescataré y la pondré también. |
*** Curso de C para programadores Harbour. | Mañana nueva entrega con una ampliación del Tema 19 y el 20 completo.
Con este tema sabremos que son las librerías y cuantos tipos hay y aprenderemos a crearlas para enlazar con nuestros programas...
Atentos a sus pantallas!!!!
<!-- 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 --> <!-- 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 --> |
*** Curso de C para programadores Harbour. | Mañana nueva entrega con una ampliación del Tema 19 y el 20 completo.
Con este tema sabremos que son las librerías y cuantos tipos hay y aprenderemos a crearlas para enlazar con nuestros programas...
Atentos a sus pantallas!!!!
<!-- 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 --> <!-- 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 --> |
*** Curso de C para programadores Harbour. | [quote="Antonio Linares":gf9rox5h]Posiblemente, pero correr una maquina virtual encima de otra aún enlenteceria más. Sin embargo podemos conectar con Python y ahi hay un montón enorme de librerias que podriamos usar en nuestras harbour apps...[/quote:gf9rox5h]
[url:gf9rox5h]https://github.com/diegofazio/hbPy[/url:gf9rox5h] |
***** EN PASSWORD COM WORKSHOP.EXE | [code:cjcdgbcm]
//-> Maestro Antonio, Que Falta Hacer, Para Que Siempre Que Jo Tenga un
//-> GET CON PASSWORD en WORKSHOP.EXE O PELLESC.EXE, Venga Siempre un *** ??
// De Esta Forma, Sole Viene en la Entrada de la Window Principal,
// en los DIALOGOS, Vienes ||||| (chr(149)) y No ****(chr(42)) Ayuda-me!
//
METHOD DispText() CLASS TGet
if ::lPassword .and. ::oGet:Type == "C"
#ifdef __CLIPPER__
SetWindowText( ::hWnd, Replicate( "*", Len( Trim( ::oGet:buffer ) ) ) )
#else
/* //-> Modifiquei em 26/08/2007 - Para Aparecer um * no PASSWORD-WS
SetWindowText( ::hWnd, Replicate( If( IsAppThemed(), Chr( 149 ), "*" ),;
Len( Trim( ::oGet:buffer ) ) ) )
*/
SetWindowText( ::hWnd, Replicate( If( IsAppThemed(), Chr( 42 ), "*" ),;
Len( Trim( ::oGet:buffer ) ) ) )
#endif
else
SetWindowText( ::hWnd, ::oGet:buffer )
endif
return nil
Muchas Gracias,
Regards, saludos.
[/code:cjcdgbcm] |
***** EN PASSWORD COM WORKSHOP.EXE | Hola Karina yo utilizo un get y en el código pongo:
REDEFINE GET oGet VAR cLogin id 101 of odlg valid IIF(buscon(cItem,@cLogin,oGet),lreturn := .t.,.f.)
oGet:lpassword := .t.
Espero sea la respuest a tu consulta
Utilizó workshop y fwh26 y xharbour 9.61
Luis |
***** EN PASSWORD COM WORKSHOP.EXE | [quote="surGom":3lay2hun]Hola Karina yo utilizo un get y en el código pongo:
REDEFINE GET oGet VAR cLogin id 101 of odlg valid IIF(buscon(cItem,@cLogin,oGet),lreturn := .t.,.f.)
oGet:lpassword := .t.
Espero sea la respuest a tu consulta
Utilizó workshop y fwh26 y xharbour 9.61
Luis[/quote:3lay2hun]
Gracias Luis, Voy intentar y Reporto.
Regards, saludos. |
***** EN PASSWORD COM WORKSHOP.EXE | Karina,
Desde el workshop te permite definir en tu dialogo los get como pasword asi te convierte lo que digites durante la captura en ******, en las propiedades de text style puedes definie password, con un check y listo.
y en la aplicacion no tienes mas que hacer un get normal
REDEFINE GET oPass Var mPass ID 101 of oDlg
Ojala te ayude,
Ramon Paredes
Managua, Nicaragua |
***** EN PASSWORD COM WORKSHOP.EXE | [quote="Ramon Paredes":1qzxg2ol]Karina,
Desde el workshop te permite definir en tu dialogo los get como pasword asi te convierte lo que digites durante la captura en ******, en las propiedades de text style puedes definie password, con un check y listo.
y en la aplicacion no tienes mas que hacer un get normal
REDEFINE GET oPass Var mPass ID 101 of oDlg
Ojala te ayude,
Ramon Paredes
Managua, Nicaragua[/quote:1qzxg2ol]
Gracias Ramon...
Hago asi:
Está correcto?
DLG_SENHAS_USUARIOS DIALOG 94, 94, 288, 74
STYLE DS_ABSALIGN | DS_MODALFRAME | 0x4L | WS_OVERLAPPED | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME
CAPTION "Senhas de Acessos"
FONT 8, "MS Sans Serif"
{
EDITTEXT 103, 169, 12, 100, 14, ES_CENTER | ES_PASSWORD | WS_BORDER | WS_TABSTOP
PUSHBUTTON "&Gravar Dados", 301, 67, 46, 90, 17
PUSHBUTTON "&Cancelar", 302, 160, 46, 60, 17
CTEXT "Senha do Operador:", 405, 18, 12, 148, 14, SS_CENTER | WS_BORDER | WS_GROUP
} |
***** EN PASSWORD COM WORKSHOP.EXE | Karina,
Asi te debe funcionar bien con sus asteriscos,
Ramon Paredes
Managua, Nicaragua |
***** EN PASSWORD COM WORKSHOP.EXE | [quote="Ramon Paredes":1jhefo9e]Karina,
Asi te debe funcionar bien con sus asteriscos,
Ramon Paredes
Managua, Nicaragua[/quote:1jhefo9e]
Ramon, en WINDOWS XP, NO!
Regards, saludos. |
***** EN PASSWORD COM WORKSHOP.EXE | Karina,
Yo trabajo con XP profesional SP 2 y me funciona bien, que problemas te presenta, o que no funciona ?
Ramon Paredes
Managua, Nicaragua |
***** EN PASSWORD COM WORKSHOP.EXE | [quote="Ramon Paredes":302vclg7]Karina,
Yo trabajo con XP profesional SP 2 y me funciona bien, que problemas te presenta, o que no funciona ?
Ramon Paredes
Managua, Nicaragua[/quote:302vclg7]
Ramon, si és un DIALOGO en el Window Principal, el GET devuelve asi:
****, se és en un DIALOGO normal de otra funcion, me devuelve asi: |||
Mi gusta asi: ***
Comprende? |
***** EN PASSWORD COM WORKSHOP.EXE | Karina,
Te envie un correo con un ejemplo practico, en uno de los menu, presento un dialogo con pasword, independiente de la pantalla principal y me devuelve ****** ojala te sirva, te envie el fuente y el recurso para que lo revises ok,
Saludes
Ramon Paredes
Managua, Nicaragua |
***** EN PASSWORD COM WORKSHOP.EXE | Gracias Ramon... Mas és lo que lo dice, en una VENTANA PRINCIPAL, funciona perfecto, cuando estoy en UNA DIALOG de Otra funcion, retorna: |||||, entonces, para que se tenga el efecto de WINDOWS XP, usa-se una FUENTE TAHOMA. Asi, WINDOWS XP, retorna una PELOTA, bien bonita.
Regards, saludos. |
***** EN PASSWORD COM WORKSHOP.EXE | Karina, prueba cambiandole el tipo de letra al Dialogo, yo le pongo TAHOMA 10 |
***** EN PASSWORD COM WORKSHOP.EXE | [quote="Vital":12cyid7s]Karina, prueba cambiandole el tipo de letra al Dialogo, yo le pongo TAHOMA 10[/quote:12cyid7s]
Gracias VITAL, és lo que hago. Creo, no és Posible retorno con: ****.
Muchas gracias.
Regards, saludos. |
*.docx files and TRichEdit5 | Hi,
Is it possible to work with *.docx files in TRichEdit5 ? |
*.docx files and TRichEdit5 | You can't (as far as I've investigated)
But you can open the document with Word.Application and save it as .RTF, then open it in the RichEdt control. |
*.docx files and TRichEdit5 | Thanks ! Does this mean I can't use VBA in RichEdit5?
For example: I highlighted some words/phrases in color. Then I need to extract these words/phrases from the RichEdit5 document. How can this be done ? |
*.docx files and TRichEdit5 | How to get text colored in a specific color from RichEdit5 ? |
*Fix* MySql.lib and LibMySql.lib are compatible xHB 1.2.3? | Dear All,
After Upgrade to updated version, I got the problem with MySql.lib and LibMySql.lib.
I found MySql.Lib (William Morales) in the Blog and in many place. I'm not quite sure which are compatible with FWH1305, XHB1.2.3 and BCC582.
How can I get it?
Thanks in advance for any help. |
*Fix* MySql.lib and LibMySql.lib are compatible xHB 1.2.3? | Dutch,
You can get them from the TDolphin website:
[url:1jdl8xls]http://tdolphin.blogspot.com.es/[/url:1jdl8xls]
On its right side you get the urls to download them <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
*Fix* MySql.lib and LibMySql.lib are compatible xHB 1.2.3? | Dear Antonio,
It's my stupid, the existing set of MYSQL.LIB, LIBMYSQL.LIB and LIBMYSQL.DLL are working well and compatible with both version (FWH10.01 and FWH13.05).
First time, I try to find the update version but not successful. Then I get back from the previous set, it works fine. Sorry for my stupid problem.
Thanks, |
*Fix* MySql.lib and LibMySql.lib are compatible xHB 1.2.3? | good that it is solved <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
*Fixed* BASE/1004 Message not found: TWINDOW:LCHILDAUTOSIZE | Dutch,
Please check that you are creating your main window as MDIFRAME:
DEFINE WINDOW oWnd ... MDIFRAME
as you are creating MDICHILDs from your app, so the main window must be MDIFRAME |
*Fixed* BASE/1004 Message not found: TWINDOW:LCHILDAUTOSIZE | Dear Antonio,
I add "MDI" in DEFINE command and it works fine now.
[quote="Antonio Linares":2tnbdzty]Dutch,
Please check that you are creating your main window as MDIFRAME:
DEFINE WINDOW oWnd ... MDIFRAME
as you are creating MDICHILDs from your app, so the main window must be MDIFRAME[/quote:2tnbdzty]
Thanks. |
*Fixed* BASE/1004 Message not found: TWINDOW:LCHILDAUTOSIZE | Dutch,
Yes, sorry, I meant MDI clause (I was thinking in Class TMdiFrame) <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
*Fixed* BASE/1004 Message not found: TWINDOW:LCHILDAUTOSIZE | Dear All,
New Error after upgrade 10.01 -> 13.05.
This is the CHILDWINDOW error occur. It will not error, if I change back to 10.01.
[code=fw:31yqitki]<div class="fw" id="{CB}" style="font-family: monospace;"> Error occurred <span style="color: #00C800;">at</span> : <span style="color: #000000;">26</span>/<span style="color: #000000;">06</span>/<span style="color: #000000;">2013</span>, <span style="color: #000000;">09</span>:<span style="color: #000000;">38</span>:<span style="color: #000000;">27</span><br /> Error description : <span style="color: #000000;">Warning</span> BASE/<span style="color: #000000;">1004</span> <span style="color: #0000ff;">Message</span> not found: <span style="color: #000000;">TWINDOW</span>:<span style="color: #000000;">LCHILDAUTOSIZE</span><br /><br />Stack Calls<br />===========<br /> Called <span style="color: #0000ff;">from</span> : <span style="color: #000000;">source</span>\rtl\tobject.prg => TWINDOW:<span style="color: #000000;">ERROR</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span> : <span style="color: #000000;">source</span>\rtl\tobject.prg => TWINDOW:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span> : <span style="color: #000000;">source</span>\rtl\tobject.prg => TWINDOW:<span style="color: #000000;">LCHILDAUTOSIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span> : .\source\classes\<span style="color: #0000ff;">MDICHILD</span>.PRG => TMDICHILD:<span style="color: #00C800;">NEW</span><span style="color: #000000;">(</span><span style="color: #000000;">150</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span> : <span style="color: #000000;">D</span>:\V5\INF\Adel\EZADEL.PRG => INFSTATUS<span style="color: #000000;">(</span><span style="color: #000000;">162</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span> : <span style="color: #000000;">D</span>:\V5\INF\Adel\EZADEL.PRG => <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>MAIN<span style="color: #000000;">(</span><span style="color: #000000;">145</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span> : .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TWINDOW:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">(</span><span style="color: #000000;">986</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span> : <span style="color: #000000;">D</span>:\V5\INF\Adel\EZADEL.PRG => MAIN<span style="color: #000000;">(</span><span style="color: #000000;">145</span><span style="color: #000000;">)</span><br /> </div>[/code:31yqitki] |
*Urgent Microsoft Finger Print 'Biometric System' | [color=red:3oq5327u]Someone have a solucion with biometric system to device Microsoft Finger Print, i need it very much, i did a sistem of point but with
grfinger.lib and wrfinger.lib I'm having problem.
Thanks very much! [/color:3oq5327u] |
*Urgent Microsoft Finger Print 'Biometric System' | <!-- m --><a class="postlink" href="http://www.fivewin.com.br/forum/post.asp?method=TopicQuote&TOPIC_ID=11953&FORUM_ID=8&CAT_ID=1&Forum_Title=Programa%E7%E3o&Topic_Title=Biometria">http://www.fivewin.com.br/forum/post.as ... =Biometria</a><!-- m -->regardsFafi |
+ Classes para FwPPc .....??? | Maestro,.....Es possible usar algunas Classes del FwH com FwPPC....Uno ejemplo, gostaria de usar la del FwHTTxtFile()FwPPc, no ten esta classe.Como procederia ?Ou tiemos que aguardar mesmo las Nuevas Atualizaçoes delFwPPc ???Inclusivel estas hacendo 9 Meses, sem nenhuma Atualiçao del FwPPc...teras alguna Novidade estes Mês ????Saluds, Ale |
+ Classes para FwPPc .....??? | Ale,Estamos trabajando en un nuevo build de FWPPC pero está dando guerra por el momento, ya que han modificado muchas cosas en Harbour ultimamente. La versión actual de FWPPC, aunque tiene algunos meses, es completamente estable.Mientras tanto, los usuarios de FWH pueden compilar clases de FWH y usarlas con FWPPC, si así lo desean <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
+ Classes para FwPPc .....??? | Hola Antonio,Hace unos dias presente un demo para captura de datos en el pocket, y a gustado mucho. Este sería mi primer programa en FWPP. Me ha sorprendido lo fácil que es programar... es lo mismo. Pero más pequeño <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->Solo una cosa. Tienes contemplado poder meter varios gets en un dialogo, ventana o lo que sea... pero que se desplazen con una scroll... la idea es no usar un folder con muchas pestañas.Gracias |
+ Classes para FwPPc .....??? | Fernando,Revisa el ejemplo fwppc\samples\TestPane.prgEs un ejemplo de lo comentas <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
-DHB_INCLUDE_WINEXCHANDLER | From whatsnew.txt:
[quote:19jmxka8]FWH users: We are building Harbour and xHarbour using the -DHB_INCLUDE_WINEXCHANDLER flag.
If you build Harbour or xHarbour yourself, please use such flag too.[/quote:19jmxka8]
Can you explain better what is that flag and what could happen without it?
Thank you.
EMG |
-DHB_INCLUDE_WINEXCHANDLER | Enrico,
That flag makes Harbour and xharbour to provide its own GPFs handler.
Up to now, FWH provided its own, but with the recent hb_stack changes, we can't any longer manage hb_stack from outside [x]Harbour.
If you use a Harbour or xHarbour build, built without such flag, if a GPF happens, then you will not get any information (calls stack) for it. |
-DHB_INCLUDE_WINEXCHANDLER | Perfectly clear.
Thank you.
EMG |
-DHB_INCLUDE_WINEXCHANDLER | Other than building [x]Harbour using that flag, do we need to add it in the link script of our applications too?
EMG |
-DHB_INCLUDE_WINEXCHANDLER | Enrico,
>
Other than building [x]Harbour using that flag, do we need to add it in the link script of our applications too?
>
No. Just when building Harbour/xHarbour. |
-DHB_INCLUDE_WINEXCHANDLER | Ok, thank you.
EMG |
-Use of zkemkeeper.dll | Anyone with experiences using this dll
I Think is written in VB, can we call it from Harbour?
I use Borland as mi C Compiler, would it be better to change to Microsoft C ?
Can I transform it into a lib with implib and use it as any lib ?
Any help will be appreciated |
-Use of zkemkeeper.dll | Adolfo,
I use this .dll as activex.
I use it on my Bio-metric device to retrieve log records. |
-Use of zkemkeeper.dll | Hello,
This dll Works for all biometric devices, or just for a specific manufacturer?. |
-Use of zkemkeeper.dll | Fraxzi
Ok, can you give a little example, please.. my email is adolfo point lagos at gmail dot com
Thanks in advance
Lucas...
yes almost all Iface,and syscom biometric devices uses a ZK cjip, which can be accessed with this dll |
-Use of zkemkeeper.dll | Adolfo,
Is it so like Griaule?.
Is it free or comercial?. |
-Use of zkemkeeper.dll | Adolfo,
I don't have the leisure of time to re-create a small sample but this is part of my code:
runtime files I'm using are:
[quote:29tajahu]
1. commpro.dll
2. comms.dll
3. msvcr71.dll
4. zkemkeeper.dll
5. zkemsdk.dll
6. zkemkeeper.oca[/quote:29tajahu]
to check if object was registered:
[code=fw:29tajahu]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">IF</span> !IsActiveX<span style="color: #000000;">(</span><span style="color: #ff0000;">'zkemkeeper.ZKEM.1'</span><span style="color: #000000;">)</span><br /> RegisterServer<span style="color: #000000;">(</span> <span style="color: #ff0000;">'zkemkeeper.DLL'</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">ENDIF</span><br /> </div>[/code:29tajahu]
to connect:
[code=fw:29tajahu]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> ...<br /> oBiometric := TActiveX<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> oWnd,<span style="color: #ff0000;">'zkemkeeper.ZKEM.1'</span><span style="color: #000000;">)</span> <br /> ...<br /> oBiometric:<span style="color: #000000;">SetCommPassword</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">'password'</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">//this is important if you set communication password to your biometric device</span><br /> ...<br /> <br /> <span style="color: #00C800;">IF</span> <span style="color: #000000;">(</span> lGo := oBiometric:<span style="color: #000000;">Connect_Net</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">'ip address'</span>, <span style="color: #ff0000;">'port'</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <br /><br /> <span style="color: #00C800;">IF</span> !oBiometric:<span style="color: #000000;">IsTFTMachine</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">'device_id'</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">//you set this nID in your device, important if you have many devices. this is numeric</span><br /> MsgAlert<span style="color: #000000;">(</span><span style="color: #ff0000;">'non-TFT Device..'</span>, <span style="color: #ff0000;">'COMPATIBILITY ISSUE'</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">ENDIF</span><br /><br /> ...<br /><br /> oBiometric:<span style="color: #000000;">RefreshData</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">'device_id'</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">//some commands you may want to use </span><br /><br /> ...<br /><br /> <span style="color: #00C800;">IF</span> oBiometric:<span style="color: #000000;">ReadGeneralLogData</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">'device_id'</span> <span style="color: #000000;">)</span><br /><br /> j := <span style="color: #000000;">0</span><br /><br /> <span style="color: #00C800;">WHILE</span> oBiometric:<span style="color: #000000;">SSR_GetGeneralLogData</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">'device_id'</span>,,,,,,,,,,<span style="color: #000000;">)</span> <span style="color: #B900B9;">//this is the only way I know how to get number of records from the device.</span><br /> j++ <span style="color: #B900B9;">//if you know a better way please share.</span><br /> END<br /><br /> oBiometric:<span style="color: #000000;">ReadGeneralLogData</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">'device_id'</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">//get ready and position 1st record pointer</span><br /><br /> <span style="color: #B900B9;">//this is how I get every record</span><br /> <span style="color: #00C800;">WHILE</span> oBiometric:<span style="color: #000000;">SSR_GetGeneralLogData</span><span style="color: #000000;">(</span><span style="color: #ff0000;">'device_id'</span>, @cEnrollID, @nVerifyMO, @nInOutMO, @nYearOUT, @nMoOUT, @nDayOUT, @nHrOUT, <br /> @nMinOUT, @nSecOUT, @nWorkOUT <span style="color: #000000;">)</span><br /><br /> ...<br /> <br /> <span style="color: #B900B9;">//work your way here how to process those data</span><br /><br /> END<br /><br /> <span style="color: #00C800;">ENDIF</span><br /><br /> <span style="color: #00C800;">ELSE</span><br /><br /> nError := <span style="color: #000000;">0</span><br /> oBiometric:<span style="color: #000000;">GetLastError</span><span style="color: #000000;">(</span>@nError<span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span> nError <span style="color: #000000;">)</span> <br /><br /> <span style="color: #00C800;">ENDIF</span><br /><br /> </div>[/code:29tajahu]
Please share if you have better ways or faster ways to get all those data.
I hope this helps. |
-Use of zkemkeeper.dll | [quote="lucasdebeltran":5mzp7x4x]Hello,
This dll Works for all biometric devices, or just for a specific manufacturer?.[/quote:5mzp7x4x]
Lucas,
I haven't tried this to other devices. Model I use is FS-800u "Time and attendance terminal" made is China.
I use the .dll from devices CD. |
-Use of zkemkeeper.dll | Esta librería (zkemkeeper.dll) funciona con lectoras USB?
Lo digo porque estoy tratando de implementar una Digital Persona 4500 y no lo consigo. |
. prompt for FWH | Many years ago there was a program for Clipper called dClip. It provided the power of a . prompt so we could, on the fly, perform command level operations just like in dBase.
We have many implementations of file editors but sometimes it would be so much easier to be able to use that good old fashioned . prompt. Does anyone know of a code source that we could include within a dbedit program that provides the . prompt ? Maybe it is out there and I just have overlooked it in recent years.
Tim |
. prompt for FWH | I do not know if I understand correctly
As the old DBU?
[url=https://postimage.org/:19xyjv15][img:19xyjv15]https://s32.postimg.org/vxqcpx71h/0057.png[/img:19xyjv15][/url:19xyjv15] |
. prompt for FWH | Tim,
Both Fivedit.prg and FiveDBU.prg implement scripting using Harbour library (hbcplr.lib) built-in compiler
You can write any code and execute it on run time. If you need the .dot interface, I developed one for
FiveMac that can be used also. |
. prompt for FWH | The old . prompt made some tasks so simple.
. USE olddbf
. REPLACE ALL var1 WITH .t. FOR var2 = "Y" .and. var3 = "Y" .and. tDate = CTOD( "12/01/16")
That doesn't always work very well with our edit and dbu programs.
Tim |
. prompt for FWH | Mr.Tim,
[quote:1ggs1wrc]
. USE olddbf
. REPLACE ALL var1 WITH .t. FOR var2 = "Y" .and. var3 = "Y" .and. tDate = CTOD( "12/01/16")
[/quote:1ggs1wrc]
You can try xHarbour's xPrompt. It does the same job.
-Ramesh Babu |
. prompt for FWH | Where Can I Download it?
Many thanks
Marco |
. prompt for FWH | Mr.Marco,
I remember that xHarbour used to provide "xPrompt.exe" along with other
binaries in xHarbour\Bin folder. Now it is not seen in Bin folder <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->
Refer this link:
[url:cgtdl5fk]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=24088&start=0[/url:cgtdl5fk]
In case you want it, plz. email to : aksharasoft at gmail dot com.
I will send my copy.
-Ramesh Babu P |
. prompt for FWH | Why not hbrun ?
[img:3pvsyaxf]https://s31.postimg.org/ree7fh6ff/hbrun.png[/img:3pvsyaxf] |
. prompt for FWH | [url:32mkpxf8]http://www.4shared.com/rar/gQq6R04Lce/XDBU.html[/url:32mkpxf8] |
.. | I'm creating A new Calendar class like office outlook
But I have several problems If Antonio and Daniel Help me I think it can be ready soon ( I sent the test to Antonio)
this is a preview beta
[img:16q9fzt9]http://img529.imageshack.us/img529/8954/fwcalendar.jpg[/img:16q9fzt9] |
.. | It looks great.
I'm very interested to see the evolution. |
.. | when I move the mouse it draw a box recdotted but then not draw a rect |
.. | Thanks.
Very good!!!.
How we can test it? |
.. | it is a beta test...
I have several problems , I am working to use mousemove method to create the graphics to create appointments
the hours you see are array , now I am working to insert xbrowse at left to show hours
How I can make to show a xbrowse with different timeline ?
have you an idea ? |
.. | If there is some interest I can publish my planning class.
Best regards,
Otto
[img:17w0w2nx]http://www.atzwanger-software.com/fh/Wellness.jpg[/img:17w0w2nx] |
.. | Otto,
I'm interested in our class.
TIA and best regards,
Toninho.
<!-- e --><a href="mailto:toninho@fwi.com.br">toninho@fwi.com.br</a><!-- e --> |
.. | I uploaded the sourcecode to:
[url:mohcr91e]http://www.atzwanger-software.com/fw/planning.zip[/url:mohcr91e]
Best regards,
Otto |
.. | WHAT MEANS WITH RAUM1,RAUM2...
THEN WE NOT HAVE TDATA |
.. | Dear Otto,
I saw your files but they are difficult to understand, for sample when I click with mouse a raum1 I cannot go also to raum2 ( from 080:00 raum1 to 12:00 of raum2)
I 'm thinking someting different from your source as the outlook office or google agenda, where the user with mouse can draw the box vertical
Now I sent my class source prototype to Antonio and daniel I hope they help me . |
.. | Otto,
Thank you for share your code.
Best Regards,
Toninho. |
.. | >'m thinking someting different from your source as the outlook office or google agenda, where the user with mouse can draw the box vertical
You have to press the mouse button and kept it pressed while moving down like in outlook.
This way you select the time of the appointment.
Best regards,
Otto |
.. | Sorry now I saw..
I wanted make the same but I wanted create this :
When the user click on a row the mouse must create a rectoddet box then the user can select the type of appoint and then it must create the box ( rectangule) on row ( from row to row)
I made on my prototype
[code=fw:nargocae]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">METHOD</span> LButtonDown<span style="color: #000000;">(</span> nRow, nCol, nFlags <span style="color: #000000;">)</span> <span style="color: #00C800;">CLASS</span> TCalendarOffice<br /><br /> <span style="color: #00C800;">if</span> ::<span style="color: #000000;">bLClicked</span> != <span style="color: #00C800;">nil</span><br /> Eval<span style="color: #000000;">(</span> ::<span style="color: #000000;">bLClicked</span>, nRow, nCol, nFlags <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">else</span><br /> ::<span style="color: #000000;">lBoxDraw</span> = .t.<br /> ::<span style="color: #000000;">nBoxTop</span> = nRow<br /> ::<span style="color: #000000;">nBoxLeft</span> = nCol<br /> ::<span style="color: #000000;">nBoxBottom</span> = nRow<br /> ::<span style="color: #000000;">nBoxRight</span> = nCol<br /> ::<span style="color: #000000;">Capture</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> ::<span style="color: #000000;">DrawBox</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">METHOD</span> MouseMove<span style="color: #000000;">(</span> nRow, nCol, nFlags <span style="color: #000000;">)</span> <span style="color: #00C800;">CLASS</span> TCalendarOffice<br /><br /> <span style="color: #00C800;">if</span> ::<span style="color: #000000;">lBoxDraw</span><br /> ::<span style="color: #000000;">DrawBox</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> ::<span style="color: #000000;">nBoxBottom</span> = nRow<br /> ::<span style="color: #000000;">nBoxRight</span> = nCol<br /><br /><br /><br /> ::<span style="color: #000000;">DrawBox</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><br /> <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">Super</span>:<span style="color: #000000;">MouseMove</span><span style="color: #000000;">(</span> nRow, nCol, nFlags <span style="color: #000000;">)</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">METHOD</span> LButtonUp<span style="color: #000000;">(</span> nRow, nCol, nFlags <span style="color: #000000;">)</span> <span style="color: #00C800;">CLASS</span> TCalendarOffice<br /><br /> <span style="color: #00C800;">if</span> ::<span style="color: #000000;">lBoxDraw</span><br /> ::<span style="color: #000000;">DrawBox</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> ::<span style="color: #000000;">lBoxDraw</span> = .f.<br /> ReleaseCapture<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// ::nWidth := ::nBoxRight - ::nBoxLeft</span><br /> <span style="color: #B900B9;">// ::nHeight := ::nBoxBottom - ::nBoxTop</span><br /><br /> <span style="color: #B900B9;">// Super:ScrollAdjust()</span><br /> <span style="color: #B900B9;">// Super:refresh( .t. )</span><br /><br /><br /><span style="color: #00C800;">endif</span></div>[/code:nargocae]
drawbox is METHOD DrawBox() INLINE RectDotted( ::hWnd, ::nBoxTop, ::nBoxLeft, ::nBoxBottom, ::nBoxRight )
but it create the rect dotted but then not create the box , can you write how make it pls |
.. | [quote="Otto":1hav863s]>'m thinking someting different from your source as the outlook office or google agenda, where the user with mouse can draw the box vertical
You have to press the mouse button and kept it pressed while moving down like in outlook.
This way you select the time of the appointment.
Best regards,
Otto[/quote:1hav863s]
Otto sorry another...I m trying your class
on your planning How I can to show a week for sample from 17.1.2011 to 23.01.11 instead of RAum1/2/3/4/5 and go to next days with a click ? |
.. | I don’t have this ready. But I think you could do it in a similar mode.
Instead of raum you could use Monday to Sunday.
Best regards,
Otto |
.. | could say the source I write here please |
.. | Mr. Otto,
Thanks for sharing. I tried your code but a class TData is missing.
Thank you <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> |
.. | ukservice, the code without the use of TData:
[url:qr31z8tz]http://www.atzwanger-software.com/fw/planning2.zip[/url:qr31z8tz]
Best regards,
Otto |
.. | Otto, please
Can you make a release showing a week instead raum(n)
sample from 17.01.11 to 23 ? and with the possibility to prex next day or week ofter go out from this window?
I not know How modify it
thanks |
.. | mdasoft - btw how is your real name? - I have no time at the moment.
But try at first to make 7 "raums" and than with next/previous add 7 or discount 7 days.
Best regards,
Otto |
.. | Otto,real name is nico
How I can make that modifies I not Know your class good
I need an appointment week as google or outlook calendar, with scrollbat to move from a week to another week or next day..
Can I use it on a dialog ? How I can make to insert scrollbar to move times?
can you make a minimal sample test for all ?
I think it is usefull for all community friends |
.. | Mr Otto,
Thank you very much for sharing.
I am asking a friend to translate me the terms from German to English and I will publish the notes in order to help others!!!.
Great control. If all together develop it we can create a very powerful Agenda for FWH!!! <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> |
.. | help me I insert a new message on the forum to create together an agenda ( office like)
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=20710">viewtopic.php?f=3&t=20710</a><!-- l --> |
.. | Daniel helped me to change scrolling from a sliderbox to a real window scrollbar.
Please test how smooth this class now work.
Best regards,
Otto
[url:288sbaz0]http://www.atzwanger-software.com/fw/planning2.zip[/url:288sbaz0]
[img:288sbaz0]http://www.atzwanger-software.com/fw/planning2.jpg[/img:288sbaz0] |
.. | I did some more work.
exe to test
[url:3ta4qxeg]http://www.atzwanger-software.com/fw/planning5.zip[/url:3ta4qxeg]
[img:3ta4qxeg]http://www.atzwanger-software.com/fw/planning5.jpg[/img:3ta4qxeg] |
.. | I did some more tests. I only changed from
::nShowCols := 7 to ::nShowCols := 1 day or ::nShowCols :=31 (1 month) and have mousesupport for day view and month view too. I also tested with 120 days <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
[img:197u48sr]http://www.atzwanger-software.com/fw/planning7.jpg[/img:197u48sr]
[img:197u48sr]http://www.atzwanger-software.com/fw/planning6.jpg[/img:197u48sr]
[img:197u48sr]http://www.atzwanger-software.com/fw/planning8.jpg[/img:197u48sr] |
.. | Mr Otto,
I am afraid the link <!-- m --><a class="postlink" href="http://www.atzwanger-software.com/fw/planning5.zip">http://www.atzwanger-software.com/fw/planning5.zip</a><!-- m --> is broken.
Thank you. |
.. | Now it should work.
Best regards,
Otto |
.. | Otto why you not try to insert mouse moviment into Reinaldo class
I believe it can be a starting point for a outlook class
You class is good but I like more the Reinaldo's Class thanh yours ,
It seem a Outllok class , same colors ,same graphics,
you can insert your esperiences into this class and sun your class to Reinaldo's Class and create a complete class
Do U think about ? |
.. no prototype in function ... | Hi all,
I'm ugrading the Rafa Carmona's tscan class with some methods to recognize the 3of9 barcode
but adding the method BarcodeRecognize() the error in subject appairs during the compilation.
Any ideas ? Do I need to declare the method in a differente mode ?
Class source at <!-- m --><a class="postlink" href="http://www.softwarexp.co.uk/beta/tscan.prg">http://www.softwarexp.co.uk/beta/tscan.prg</a><!-- m -->
Thanks in advance. |
.. no prototype in function ... | Can you show us the exact error you are getting?
EMG |
.. no prototype in function ... | Perhaps the problem is the function
BARCODE_Recognize()
Are you sure that you haven't mispelled it?
EMG |
.. no prototype in function ... | Hi Enrico.
thank for your reply.
I solved the problem. It was due to the fact that this class call eztwain.h and this was an old version without the definition of this function.
I still have some problems but I think these are related to the dll and so I'am writing for these to the dll provider. |
.DBF sobre NFS | Habilite un server NFS para compartir mis archivos .DBF al habrir la tabla en modo exclusivo todo funciona OK, pero al abrirla en modo compartido al hacer un append blank se queda pegada la aplicación.
Si alguien me puede ayuda o indicar como poder compartir mis archivos entre varios PC con Linus, se agradeceria. |
.DBT memo files | Hi all,
Until XHB/FWH Oct. 2005, I was creating and handling memo files
with the extension .DBT.
With Feb 2006 relase of XHB/FWH, the memo files are crated with
the extension .FPT.
In my program I use:
REQUEST HB_LANG_EN // _EN
HB_LANGSELECT('EN') // 'EN'
Request DBFCDX
RDDSETDEFAULT("DBFCDX")
What should I change or add to support existing .DBT files ?
Thank you all...
Evans Bartzokas
ps. Posting this here and in XHB NG, because I am not sure where
the problem is located... |
.DBT memo files | #include "Dbinfo.ch"
RDDINFO( RDDI_MEMOTYPE, DB_MEMO_DBT )
EMG |
.DBT memo files | [quote="EnricoMaria":3lq66ts6]#include "Dbinfo.ch"
RDDINFO( RDDI_MEMOTYPE, DB_MEMO_DBT )
EMG[/quote:3lq66ts6]
Thanks Enrico, it worked!
Kind regards
Evans |
.DBT memo files | I saw the more complete Przemek's answer. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
.DBT memo files | [quote="EnricoMaria":2rt9qgln]I saw the more complete Przemek's answer. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG[/quote:2rt9qgln]
The answer from Przemek, confused me a little because I thought he was referring to creating DBF's with .DBT extension, and not really opening a DBF with an existing .DBT file.
It worked though, and when I wrote the previous "Thank You" post, I really meant it, not that Prezemk was wrong of course.
Thanks again.
ps. Please have a look at my post regarding the "ALT" key pressed alone on dialogs.
Kind regards
Evans |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.