Search found 213 matches

by TecniSoftware
Thu Feb 11, 2021 11:13 pm
Forum: FiveWin para Harbour/xHarbour
Topic: TRichEdit control en un dialog
Replies: 2
Views: 1690

Re: TRichEdit control en un dialog

Prueba asi, aunque te recomiendo utilizar el control TRichEdt5 #include "FiveWin.ch" //#include "richedi5.ch" #include "richedit.ch" Function Main()    local oDlg    local oRtf    local hRichDLL  := LoadLibrary( "riched20.dll" )    local cFile     := "te...
by TecniSoftware
Thu Feb 11, 2021 10:08 pm
Forum: FiveWin para Harbour/xHarbour
Topic: TRichEdit control en un dialog
Replies: 2
Views: 1690

TRichEdit control en un dialog

Al ejectuar, el texto aparece seleccionado y no lo muestra desde el principio. Alguien tiene idea que puede ser? En window funciona correctamente pero necesito poner el control en un dialog y no logro que funcione bien. #include "FiveWin.ch" #include "richedit.ch" Function Main()...
by TecniSoftware
Wed Feb 03, 2021 12:52 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta Sobre Pasar Dbf a Mysql
Replies: 14
Views: 4262

Re: Consulta Sobre Pasar Dbf a Mysql

1. Setup your meter 2. oCn:bMeter := { |nProgress,nTotal| <your_meter_update_function>( nProgress,nTotal ) } 3. oCn:UploadFromAlias(...) 4. oCn:bMeter := nil But we advise you not to display meter, except for very huge tables, because the display of meter reduces the speed a lot. Thank you! Geetings
by TecniSoftware
Tue Feb 02, 2021 11:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta Sobre Pasar Dbf a Mysql
Replies: 14
Views: 4262

Re: Consulta Sobre Pasar Dbf a Mysql

Mr Rao Es posible utilizar un Meter en este ejemplo para visualizar el progreso? Muchas gracias This is a small exmaple. You can copy to fwh\samples folder, build with buildh or buildx and test. Please provide your mysql server credentials, password, etc. #include "fivewin.ch" function Tes...
by TecniSoftware
Sat Jan 23, 2021 3:26 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Cuenta erronea de lineas en txt
Replies: 7
Views: 2904

Re: Cuenta erronea de lineas en txt

Prueba con oFile := TTxtFile():New( cFile )

nLines: = oFile:nTLines

Saludos
by TecniSoftware
Thu Jan 21, 2021 12:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to detect fail connection to MySql SOLUCIONADO
Replies: 7
Views: 3001

Re: How to detect fail connection to MySql SOLUCIONADO

How can I indicate the port number? Two ways: 1) oCn := maria_Connect( cHost, cDatabase, cUser, cPassword, nPort, .F. )   Note: ".F." can be the last parameter after providing all parameters. Position of this parameter is not important OR 2) oCn := maria_Connect( "hostaddress:port&qu...
by TecniSoftware
Wed Jan 20, 2021 10:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to detect fail connection to MySql SOLUCIONADO
Replies: 7
Views: 3001

Re: How to detect fail connection to MySql

As you know, you can also write Now, add logical variable .F. as the last parameter oCn := maria_Connect( cHost, cDatabase, cUser, cPassword, .F. )   Mr. RAO: How can I indicate the port number? Like D.Fernandez I would like to see a personalized message when I cannot connect to the server, in my c...
by TecniSoftware
Mon Jun 01, 2020 12:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: SLACK de Fivewin
Replies: 35
Views: 10926

Re: SLACK de Fivewin

Me podrian enviar invitacion?

info.estudio@gmail.com

Muchos saludos!
by TecniSoftware
Sun Mar 08, 2020 6:41 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Guardar ejecutable como recurso en Pelles-C
Replies: 5
Views: 2199

Re: Guardar ejecutable como recurso en Pelles-C

Te paso el contenido del archivo .RC que utilizo:

Code: Select all

#include <windows.h>
#include <commctrl.h>
#include <richedit.h>

ACTVER RCDATA "ActVer.exe" // Aqui indicas el archivo que quieres meter como recurso. Despues compilas el archivo RC tal como los otros.

 
Saludos
by TecniSoftware
Fri Mar 06, 2020 4:38 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Guardar ejecutable como recurso en Pelles-C
Replies: 5
Views: 2199

Re: Guardar ejecutable como recurso en Pelle-C

Si, se puede. Dentro del RC tienes que poner el recurso como RCDATA. Para recuperar el exe que guardaste, esta es la funcion que uso Llamo a esta funcion Reactver() ACTVER es el nombre que le di al recurso que guardé ACTVER.EXE es el archivo que guarde y quiero recuperar. #pragma BEGINDUMP #include ...
by TecniSoftware
Tue Mar 03, 2020 2:19 pm
Forum: FiveWin para Harbour/xHarbour
Topic: fuente FW_ValidCreditCard
Replies: 7
Views: 2711

Re: fuente FW_ValidCreditCard

Ejemplo funcional, valida Visa, American Express, Diners y MasterCard. #include "FiveWin.ch" Static oWnd //----------------------------------------------------------------------------// Function Main()    DEFINE WINDOW oWnd TITLE "Validacion de tarjetas de credito" ;       MENU B...
by TecniSoftware
Sun Mar 01, 2020 2:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: fuente FW_ValidCreditCard
Replies: 7
Views: 2711

Re: fuente FW_ValidCreditCard

Moises

Yo desarrolle mi propia funcion partiendo de este codigo en visual basic: https://www.analysisandsolutions.com/so ... cvs-vb.htm

Valida el numero e identifica que tarjeta es.

Muchos saludos
by TecniSoftware
Wed Oct 30, 2019 7:16 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta - gente de Argentina
Replies: 5
Views: 1498

Re: Consulta - gente de Argentina

Yo tuve que hacer para Pago Facil, si llegas a necesitar, te doy una mano con eso.

Saludos
by TecniSoftware
Thu Sep 19, 2019 6:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error on Rpreview/PRV2PDF.PRG
Replies: 3
Views: 1196

Re: Error on Rpreview/PRV2PDF.PRG

En tu error.log el parametro no tiene formato de hora sino date time, dice 19-09-2019 17:33:34.246
by TecniSoftware
Fri May 10, 2019 5:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: User defined Windows captions
Replies: 25
Views: 3898

Re: User defined Windows captions

Antonio, I tried a few things, and did some Internet searching, but I cannot figure out how to add a title to the colored title bar. It seems that the window style WS_POPUP will not allow titles. Any ideas? James DEFINE WINDOW oWnd STYLE nOR( WS_POPUP, WS_CAPTION ) COLOR CLR_BLACK, CLR_MSPURPLE TIT...