topic
stringlengths
1
63
text
stringlengths
1
577k
proteger exe contra debuggers y cracks
[quote="MOISES":2zqobdj9]Pues que en algunos PCS el ejecutable no se carga. Le das y no muestra nada de nada[/quote:2zqobdj9] MOISES, SI FUNCIONA EN UNA COMPUTADORA EN OTRAS NO, PUEDE SER VIRUS.
proteger exe contra debuggers y cracks
Muchas gracias por responder. Resulta que el exe sin proteger si funciona correctamente en el equipo de ese cliente.
proteger exe contra debuggers y cracks
Karinha, ocorre comigo tb, as vezes funciona, outras não. nao he virus.
proteger exe contra debuggers y cracks
[quote="norberto":4pri11su]Karinha, ocorre comigo tb, as vezes funciona, outras não. nao he virus.[/quote:4pri11su] Norberto... Cual WINDOWS?? Cual la VERSION del UPX.EXE?
proteger exe contra debuggers y cracks
Karinha, windows xp sp2 with updates, fwh7.09, xharbour cvs, upx 3.01w
proteger exe contra debuggers y cracks
[quote="norberto":3ge1dhzs]Karinha, windows xp sp2 with updates, fwh7.09, xharbour cvs, upx 3.01w[/quote:3ge1dhzs] Norberto, teste con la VERSION UPX193w modo consola. És la que uso. <!-- m --><a class="postlink" href="http://upx.sourceforge.net/download/00-OLD-VERSIONS/">http://upx.sourceforge.net/download/00-OLD-VERSIONS/</a><!-- m -->
prototipo de Blockchain para FW
Hola Antonio, ¿Has pensado en ello?. Sería muy interesante... Gracias Maestro por escuchar.
prototipo de Blockchain para FW
Por favor, prueba este ejemplo <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=17&t=34973&p=211321#p211321">viewtopic.php?f=17&t=34973&p=211321#p211321</a><!-- l -->
prototipo de Blockchain para FW
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=211294#p211294">viewtopic.php?p=211294#p211294</a><!-- l -->
prova nel nuovo forum ci siete?
il forum funziona bene.
provide help for get from combo box
can get read directly from combo box as below ? [code:3p4jxpe0] @ 45,2 SAY "&Country" OF oDlg PIXEL @ 45,50 SAY "&#58;" OF oDlg PIXEL @ 45,60 GET V_cu_coun OF oDlg PIXEL @ 45,200 COMBOBOX V_cu_coun ITEMS aBase&#40;1,"cust",256,"cu_coun"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;v_cu_coun&#58;=cust->cu_coun&#41;; [/code:3p4jxpe0] but this syntax does not bring the value to get ?
provide help for get from combo box
You can't use the same variable for the GET and the COMBOBOX. EMG
provide help for get from combo box
Yes that is already done all of them are :V_cu_coun But that does not bring the value from the combp box to the get variable What should I do to bring the value chosen from the combo box into get box ? [code:azkc4g6o] @ 45,60 GET V_cu_coun OF oDlg PIXEL @ 45,200 COMBOBOX V_cu_coun ITEMS aBase&#40;1,"cust",256,"cu_coun"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;v_cu_coun&#58;=cust->cu_coun&#41;; [/code:azkc4g6o]
provide help for get from combo box
@ 45,60 GET oGet VAR V_cu_coun OF oDlg PIXEL ... ON CHANGE (v_cu_coun:=cust->cu_coun, oGet:Refresh() ) You should not use the same variable name for diferent controls as Enrico has explained you.
provide help for get from combo box
I did what you told me . The Get is not being refereshed until the cursor goes into the get box [code:29jqe6s4] @ 45,2 SAY "&Country" OF oDlg PIXEL @ 45,50 SAY "&#58;" OF oDlg PIXEL @ 45,60 GET oGet VAR V_cu_coun OF oDlg PIXEL @ 45,200 COMBOBOX V_cu_coun ITEMS aBase&#40;1,"cust",256,"cu_coun"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;V_cu_coun&#58;=cust->cu_coun,oGet&#58;Refresh&#40;&#41;,oDlg&#58;Refresh&#40;&#41;&#41; [/code:29jqe6s4]
provide help for get from combo box
[quote="Ehab Samir Aziz":1w68h4ux]@ 45,60 GET oGet VAR V_cu_coun @ 45,200 COMBOBOX V_cu_coun[/quote:1w68h4ux] You are still using V_cu_coun for both GET and COMBOBOX. EMG
provide help for get from combo box
I used different names for the different controls and Still the get is not being refereshed [code:2hq9mug5] @ 45,2 SAY "&Country" OF oDlg PIXEL @ 45,50 SAY "&#58;" OF oDlg PIXEL @ 45,60 GET oGet VAR V_cu_coun OF oDlg PIXEL @ 45,200 COMBOBOX V_cu_counc ITEMS aBase&#40;1,"cust",256,"cu_coun"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;V_cu_counc&#58;=cust->cu_coun,V_cu_coun&#58;=V_cu_counc,oGet&#58;Refresh&#40;&#41;,oDlg&#58;Refresh&#40;&#41;&#41; [/code:2hq9mug5]
provide help for get from combo box
[quote="Ehab Samir Aziz":qqtluvtj][code:qqtluvtj]ON CHANGE &#40;V_cu_counc&#58;=cust->cu_coun,V_cu_coun&#58;=V_cu_counc,oGet&#58;Refresh&#40;&#41;,oDlg&#58;Refresh&#40;&#41;&#41; [/code:qqtluvtj][/quote:qqtluvtj] Try [code:qqtluvtj]ON CHANGE &#40;V_cu_coun&#58;=cust->cu_coun,oGet&#58;Refresh&#40;&#41;&#41; [/code:qqtluvtj] If this doesn't work then please provide a reduced and self-contained sample of the problem. EMG
provide help for get from combo box
Not instantly refreshing for the get I should go to by cursor to the get box so the frefresh will be made . Please focus on the country variable and I will do the rest . [code:xu4fgsim] static function editcust&#40; oLbx, lAppend &#41; *------------------------------------------- local oDlg local h&#58;=0 local V_CU_ACCT local V_CU_NAME local V_cu_stre local V_cu_gove local V_cu_city&#58;=space&#40;30&#41; local V_cu_coun&#58;=space&#40;30&#41; local V_cu_counc&#58;=space&#40;30&#41; local V_CU_phon local V_CU_fax local V_CU_MAN local V_CU_mobi local V_CU_appr local oGet local lSave &#58;= &#46;f&#46; local nOldRec &#58;= RecNo&#40;&#41; DEFAULT lAppend &#58;= &#46;f&#46; if lAppend GOTO BOTTOM SKIP endif *? nOldRec V_CU_ACCT&#58;=cust->CU_ACCT V_CU_NAME&#58;=cust->CU_NAME V_CU_coun&#58;=cust->CU_coun V_CU_city&#58;=cust->CU_city V_CU_gove&#58;=cust->CU_gove V_CU_stre&#58;=cust->CU_stre V_CU_phon&#58;=cust->CU_phon V_CU_fax&#58;=cust->CU_fax V_CU_MAN&#58;=cust->CU_MAN V_CU_mobi&#58;=cust->CU_mobi V_CU_appr&#58;=cust->CU_appr DEFINE DIALOG oDlg FROM 8, 2 TO 500, 700 PIXEL ; TITLE If&#40; lAppend, "New Customer", "Customer Update" &#41; @ 1,2 SAY "&Account No&#46;" OF oDlg PIXEL @ 1,50 SAY "&#58;" OF oDlg PIXEL @ 1,60 GET V_CU_ACCT OF oDlg PIXEL @ 15,1 SAY "&Name" OF oDlg PIXEL @ 15,50 SAY "&#58;" OF oDlg PIXEL @ 15,60 GET V_CU_NAME OF oDlg PIXEL @ 30,2 SAY "&Street" OF oDlg PIXEL @ 30,50 SAY "&#58;" OF oDlg PIXEL @ 30,60 GET V_cu_stre OF oDlg PIXEL @ 45,2 SAY "&Country" OF oDlg PIXEL @ 45,50 SAY "&#58;" OF oDlg PIXEL @ 45,60 GET oGet VAR V_cu_coun OF oDlg PIXEL @ 45,200 COMBOBOX V_cu_counc ITEMS aBase&#40;1,"cust",256,"cu_coun"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;V_cu_coun&#58;=cust->cu_coun,oGet&#58;Refresh&#40;&#41;,oDlg&#58;Refresh&#40;&#41;&#41; @ 60,2 SAY "&City" OF oDlg PIXEL @ 60,50 SAY "&#58;" OF oDlg PIXEL @ 60,60 GET oGet VAR V_cu_city OF oDlg PIXEL @ 60,200 COMBOBOX V_cu_city ITEMS aBase&#40;1,"cust",256,"cu_city"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;v_cu_city&#58;=cust->cu_city,oGet&#58;Refresh&#40;&#41;&#41;; select 1 use cust set filter to &#40;upper&#40;v_cu_city&#41;==upper&#40;cust->cu_city&#41;&#41; @ 75,2 SAY "&Governer" OF oDlg PIXEL @ 75,50 SAY "&#58;" OF oDlg PIXEL @ 75,60 GET V_cu_gove OF oDlg PIXEL @ 75,200 COMBOBOX V_cu_gove ITEMS aBase&#40;1,"cust",256,"cu_gove"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;v_cu_gove&#58;=cust->cu_gove&#41;; select 1 use cust set filter to @ 90,2 SAY "&Phone" OF oDlg PIXEL @ 90,50 SAY "&#58;" OF oDlg PIXEL @ 90,60 GET V_CU_phon OF oDlg PIXEL @ 105,2 SAY "&Fax" OF oDlg PIXEL @ 105,50 SAY "&#58;" OF oDlg PIXEL @ 105,60 GET V_CU_fax OF oDlg PIXEL @ 120,2 SAY "Man" OF oDlg PIXEL @ 120,50 SAY "&#58;" OF oDlg PIXEL @ 120,60 GET V_CU_MAN OF oDlg PIXEL @ 135,2 SAY "Mobile" OF oDlg PIXEL @ 135,50 SAY "&#58;" OF oDlg PIXEL @ 135,60 GET V_CU_mobi OF oDlg PIXEL @ 150,2 SAY "Account Name" OF oDlg PIXEL @ 150,50 SAY "&#58;" OF oDlg PIXEL @ 150,60 GET V_CU_appr OF oDlg PIXEL @ 170, 9 BUTTON "&Save" OF oDlg PIXEL SIZE 50, 12 ACTION &#40; lSave &#58;= &#46;t&#46; , oDlg&#58;End&#40;&#41; &#41; @ 170, 100 BUTTON "&Cancel" OF oDlg PIXEL SIZE 50, 12 ACTION oDlg&#58;End&#40;&#41; ACTIVATE DIALOG oDlg CENTERED if Empty&#40; V_CU_Acct &#41; &#46;and&#46; lSave MsgAlert&#40; "Please write a name" &#41; endif if lSave &#46;and&#46; !empty&#40; V_CU_ACCT &#41; if lAppend select 1 use cust APPEND BLANK nOldRec&#58;=recno&#40;&#41; *? nOldRec endif select 1 use cust GOTO nOldRec cust->CU_ACCT &#58;=V_CU_ACCT cust->CU_NAME &#58;=V_CU_NAME cust->cu_coun &#58;=V_cu_coun cust->cu_city &#58;=V_cu_city cust->cu_gove &#58;=V_cu_gove cust->cu_stre &#58;=V_cu_stre cust->CU_phon &#58;=V_CU_phon cust->CU_fax &#58;=V_CU_fax cust->CU_MAN &#58;=V_CU_MAN cust->CU_mobi &#58;=V_CU_mobi cust->CU_appr &#58;=V_CU_appr select 1 use cust go top oLbx&#58;Refresh&#40;&#41; // We want the ListBox to be repainted else select 1 use cust endif select 1 use cust INDEX ON upper&#40;cust->cu_acct&#41; TO cust go top reindex INDEX ON upper&#40;cust->cu_name&#41; TO cust1 go top reindex INDEX ON upper&#40;cust->cu_coun&#41; TO cust2 go top reindex INDEX ON upper&#40;cust->cu_city&#41; TO cust3 INDEX ON upper&#40;cust->cu_gove&#41; TO cust4 INDEX ON upper&#40;cust->cu_stre&#41; TO cust5 INDEX ON upper&#40;cust->cu_phon&#41; TO cust6 INDEX ON upper&#40;cust->cu_fax &#41; TO cust7 INDEX ON upper&#40;cust->cu_mobi&#41; TO cust8 INDEX ON upper&#40;cust->cu_man &#41; TO cust9 INDEX ON alltrim&#40;upper&#40;cust->cu_appr&#41;&#41; TO cust10 go top reindex use cust index cust return nil [/code:xu4fgsim]
provide help for get from combo box
Without a [b:3gcovvkz]reduced[/b:3gcovvkz] and [b:3gcovvkz]self-contained[/b:3gcovvkz] sample of the problem I can't help you, sorry. EMG
provide help for get from combo box
Do you want sample of data and prg syntax ? Oka I will send to you by mail
provide help for get from combo box
I need of a [b:nz515lyk]reduced[/b:nz515lyk] sample. You have to take the time to [b:nz515lyk]reduce[/b:nz515lyk] your sample to the minimum that is still enough to demonstrate the problem. If you don't have this time then sorry but I can't help you. EMG
provide help for get from combo box
I reduced a sample you can compile it direct. Pls my problem is the the value of of the combobox is not being transfered to the get box . [code:3b91t3vc] #include "FiveWin&#46;ch" #include "colors&#46;ch" #include "Folder&#46;ch" #include "InKey&#46;ch" #include "xbrowse&#46;ch" #include "ads&#46;ch" static oWnd //----------------------------------------------------------------------------// function Main&#40;&#41; local oDlg local V_cu_city&#58;=space&#40;30&#41; local V_cu_coun&#58;=space&#40;30&#41; local V_cu_counc&#58;=space&#40;30&#41; local oGet select 1 USE cust DEFINE DIALOG oDlg FROM 8, 2 TO 500, 700 PIXEL @ 45,2 SAY "&Country" OF oDlg PIXEL @ 45,50 SAY "&#58;" OF oDlg PIXEL @ 45,60 GET oGet VAR V_cu_coun OF oDlg PIXEL @ 45,200 COMBOBOX V_cu_counc ITEMS aBase&#40;1,"cust",256,"cu_coun"&#41; size 80,80 ; OF oDlg PIXEL; ON CHANGE &#40;V_cu_coun&#58;=cust->cu_coun,oGet&#58;Refresh&#40;&#41;,oDlg&#58;Refresh&#40;&#41;&#41; ACTIVATE DIALOG oDlg CENTERED return nil FUNCTION aBase&#40;workarea,dbf_na,arr_size,fld_na&#41; //------------------------------------- LOCAL arr&#58;=&#123;&#125;,nAreaActiv&#58;=Select&#40;&#41; LOCAL y&#58;=0 aAdd&#40;arr,space&#40;arr_size&#41;&#41; //Put First element empty select &#40;workarea&#41; use &#40;dbf_na&#41; SELE &#40;dbf_na&#41; dbGoTop&#40;&#41; WHILE!Eof&#40;&#41; y&#58;=ASCAN&#40;arr,&#40;dbf_na&#41;->&fld_na&#41; if y==0 aAdd&#40;arr,&#40;dbf_na&#41;->&fld_na&#41; dbSkip&#40;&#41; else dbSkip&#40;&#41; endif ENDDO SELE &#40;nAreaActiv&#41; RETURN&#40;arr&#41; [/code:3b91t3vc]
provide help for get from combo box
This is a working sample: [code:179hcn4a]#include "Fivewin&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL oDlg LOCAL oCbx, oGet LOCAL cVar1 &#58;= "" LOCAL cVar2 &#58;= SPACE&#40; 30 &#41; DEFINE DIALOG oDlg @ 1, 1 COMBOBOX oCbx VAR cVar1; ITEMS &#123; "First", "Second", "Third" &#125;; ON CHANGE &#40; oGet&#58;VarPut&#40; PADR&#40; cVar1, LEN&#40; cVar2 &#41; &#41; &#41;,; oGet&#58;Refresh&#40;&#41; &#41; @ 3, 1 GET oGet VAR cVar2 ACTIVATE DIALOG oDlg; CENTER RETURN NIL[/code:179hcn4a] EMG
proxy setup
I'm working with ftp send and get files the function run ok MsgRun( "Conectando al Servidor via FTP...", "Por favor, espere",{ || oInternet := TInternet():New(),; If( Empty( oInternet:hSession ),MsgAlert( "Internet no disponible!" ),),; oFTP := TFTP():New( cFTPSite, oInternet,aUsuario,aPassword )}) My problem ow is to insert the possibility to set also a proxy before this function (msgrun() ) because some customer could have a proxy before to go out to internet How I can make to set this proxy ? Any sample ?
prsht.h changes for Borland 64 bits
same as in Borland 32 bits: look for: UINT *pcRefParent; \ and replace it with: UINT *pcRefParent;
prsht.h changes for Borland 64 bits
Can we see a sample of the problem, please?
prsht.h changes for Borland 64 bits
Dear Enrico, <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=201802&sid=4a49a305edeca0427cfec50c80345516#p201802">viewtopic.php?p=201802&sid=4a49a305edeca0427cfec50c80345516#p201802</a><!-- l -->
prsht.h changes for Borland 64 bits
Sorry, I can't find any samples of the problem.
prsht.h changes for Borland 64 bits
If you ever get the error, as I got it yesterday, then you know what to do <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
prsht.h changes for Borland 64 bits
But then the same fix should be applied to MSC.
prsht.h changes for Borland 64 bits
I never got it with MSVC
prsht.h changes for Borland 64 bits
Nonetheless it has the same slash. And I never get that error with BCC too. If you can provide a sample I will make some experiments.
prsht.h changes for Borland 64 bits
Dear Enrico, Simply try to rebuild FWH 64 for BCC64
prsht.h changes for Borland 64 bits
Can you tell me one single file that gives error if compiled with BCC 64 bit, please?
prsht.h changes for Borland 64 bits
Dear Enrico, I can't, sorry, yesterday I was compiling several files and one of them failed with bcc 64 bits, but I just tried again to build all of them without modifying prsht.h and all of them compiled fine. Now I don't remember which exact file gave the error, I modified several modules. I would say it was now.prg but we have modified it, so it compiles fine with all compilers (32 and 64). If I ever face it again then I will let you know it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> thanks
prsht.h changes for Borland 64 bits
Found it: [quote:1q8z7ds0]?????????????????????????????????????????????????????????????????????????????? ? FiveWin for Harbour 22.10 bcc7 64bits Oct. 2022 xHarbour development power ?? ? (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ?? ???????????????????????????????????????????????????????????????????????????????   ????????????????????????????????????????????????????????????????????????????? Compiling... Harbour 3.2.0dev (r2011030937) Copyright (c) 1999-2020, <!-- m --><a class="postlink" href="https://harbour.github.io/">https://harbour.github.io/</a><!-- m --> Compiling 'fivedit0.prg' and generating preprocessed output to 'fivedit0.ppo'... Lines 10121, Functions/Procedures 58 Generating C source output to 'fivedit0.c'... Done. Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies, Inc. fivedit0.c: Borland Resource Compiler Version 5.40 Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved. Error prsht.h 917 1: '#endif' before '#if' * Linking errors *[/quote:1q8z7ds0]
prsht.h changes for Borland 64 bits
BTW, the above xHarbour should say Harbour... Fixing it now <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
prsht.h changes for Borland 64 bits
[quote="Antonio Linares":v8fz6htn]Found it: [quote:v8fz6htn]?????????????????????????????????????????????????????????????????????????????? ? FiveWin for Harbour 22.10 bcc7 64bits Oct. 2022 xHarbour development power ?? ? (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ?? ???????????????????????????????????????????????????????????????????????????????   ????????????????????????????????????????????????????????????????????????????? Compiling... Harbour 3.2.0dev (r2011030937) Copyright (c) 1999-2020, <!-- m --><a class="postlink" href="https://harbour.github.io/">https://harbour.github.io/</a><!-- m --> Compiling 'fivedit0.prg' and generating preprocessed output to 'fivedit0.ppo'... Lines 10121, Functions/Procedures 58 Generating C source output to 'fivedit0.c'... Done. Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies, Inc. fivedit0.c: Borland Resource Compiler Version 5.40 Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved. Error prsht.h 917 1: '#endif' before '#if' * Linking errors *[/quote:v8fz6htn][/quote:v8fz6htn] Thank you, I'm investigating. I don't understand why even MSC has the same bugged prsht.h...
prsht.h changes for Borland 64 bits
With the fix explained at the beginning of this thread, it works fine <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
prsht.h changes for Borland 64 bits
Yes, I know, but I like to fully understand the problem.
prsht.h changes for Borland 64 bits
Ok, the problem is not in prsht.h but in brcc.exe: [code=fw:j6ilv48t]<div class="fw" id="{CB}" style="font-family: monospace;">Borland <span style="color: #0000ff;">Resource</span> Compiler &nbsp;Version <span style="color: #000000;">5.40</span><br />Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1990</span>, <span style="color: #000000;">1999</span> Inprise Corporation. &nbsp;All rights reserved.<br /><br />Error prsht.h <span style="color: #000000;">917</span> <span style="color: #000000;">1</span>: <span style="color: #ff0000;">'#endif'</span> before <span style="color: #ff0000;">'#if'</span></div>[/code:j6ilv48t] No errors with rc.exe [code=fw:j6ilv48t]<div class="fw" id="{CB}" style="font-family: monospace;">Microsoft <span style="color: #000000;">&#40;</span>R<span style="color: #000000;">&#41;</span> Windows <span style="color: #000000;">&#40;</span>R<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">Resource</span> Compiler Version <span style="color: #000000;">10.0</span><span style="color: #000000;">.10011</span><span style="color: #000000;">.16384</span><br />Copyright <span style="color: #000000;">&#40;</span>C<span style="color: #000000;">&#41;</span> Microsoft Corporation. &nbsp;All rights reserved.</div>[/code:j6ilv48t]
prsht.h changes for Borland 64 bits
We need to find an updated version of brcc.exe, if it exists. Or use rc.exe with BCC.
prueba con MARIA DB
Hola. instale la version 10.4 de MARIADB, que librerias debo incluir en mis proyectos para que pueda utlizarla? uso tDolphin. Gracias.
prueba con MARIA DB
Las mismas que con MySql: libmysql.lib y libmysqld.lib
prueba con MARIA DB
Debe incluir libmariadb.lib
prueba con MARIA DB
[quote="cmsoft":1nmdtxmq]Las mismas que con MySql: libmysql.lib y libmysqld.lib[/quote:1nmdtxmq] con estas me funciono
prueba de client fwppc con windows mobile 6.0
hola a todosEstoy tratando de ejecutar los programas de ejemplo para pockect pcque están en la pagina de fivetechsoft.comy me sale un mensaje que dice:Fabricante desconocido, la Ejecución del programa podría dañar el dispositivo y no me atrevo a darle si, que puedo hacercordial saludo a todosmil graciasalfredo salas
prueba de client fwppc con windows mobile 6.0
Alfredo,Puedes darle a "si" con toda confianza <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->Esas aplicaciones de ejemplo estan comprobadas y no pueden causar ningún problema en tu Pocket PC.
prueba de codigo...
Hola Antonio, puedes probar el siguiente código?? El tema es que esto ya lo habiamos hablado y si no recuerdo mal ya podia leer datos del tipo 'currency'...pero resulta que me da error, no al intentar leer un campo, que lo hace bien, sino al intentar crearme una tabla con ese campo.... Te pongo el siguiente ejemplo... #include <FWCE.ch> FUNCTION main() dbCreate("_tst", {{"CURR", "Y", 8, 2}}) use _tst append blank replace CURR with 123.45 append blank replace CURR with 345.567 append blank replace CURR with 356.78901 append blank replace CURR with 789.456789 close RETURN nil No se si cuando me actualicé a la nueva version del fwppc el compilador no era el mismo que yo tenia despues de que Przemek hiciera la comprobaciones pertinentes.... Una vez me mandastes un compilador al correo pero lo he perdido. Con ese si me funcionaba pero nose que ha pasado... Saludos y gracias. Elías Torres.
prueba de codigo...
Elías, Por lo visto la DBF se crea pero el campo aparece de tipo "integer" al inspeccionarlo con VFP en vez de tipo currency. Puedes confirmarlo ? gracias,
prueba de codigo...
Antonio, A mi ni siquiera se me crea la tabla.... me da un error que dice: Open error stack calls: DBUSEAREA(0) MAIN(6) El codigo que estoy probando es el siguiente: #include <FWCE.ch> FUNCTION main() dbCreate(CURDIR()+"\tst", {{"CURR", "Y", 8, 2}}) use (CURDIR()+"\tst") append blank replace CURR with 123.45 append blank replace CURR with 345.567 append blank replace CURR with 356.78901 append blank replace CURR with 789.456789 close RETURN nil Saludos Elías Torres
prueba de codigo...
Elías, Sí se crea, lo que ocurre es que si no especificas CurDir() + "\tst" entonces se crea en el directorio raiz del Pocket PC
prueba de codigo...
Antonio, efectivamente coloco el curdir() +"\tst" pero no me crea la tabla... no se porque... En cambio si pruebo a cambiarle el tipo de campo, por ejemplo a numerico, entonces si me crea la tabla...Ha cambiado el compilador?? Me comentas que a ti ahi si te funciona, entonces, que tengo yo diferente?? Saludos. Elías Torres.
prueba de codigo...
Elías, Estás usando el build de Harbour que te enviamos por email ?
prueba de codigo...
Antonio, disculpa por mi despiste...Se conoce que cuando nos actualizamos a la nueva versión de FWPPC sustitui el build de Harbour que me habias mandado. Lo he rescatado del correo y lo he vuelto a instalar y...ahora si!! Una curiosidad solamente...cuando crea la tabla, esta la crea como entero y no como currency...¿Puede haber alguna solución al respecto? Saludos y gracias. Elías Torres.
prueba de codigo...
Elías, Hay que comentárselo a Przemek en la lista de correo de Harbour
prueba fwpp
cordial saludo a todos:Ya ejecuté las demos de fwppc, me parecen estupendas, ahora como hago para adquirirlo y sobre todo, lo que me preocupa es el manejo o aprendizaje, he trabajado con clipper y ahora estoy con xbase++ pero nunca he utilizado fivewin y menos para pocket pc, que me dicen al respecto, si hay buena documentación, si me garantizan el soporte.cordialmentealfredo salas,
prueba fwpp
Alfredo,> ahora como hago para adquirirloPuedes comprarlo directamente desde <!-- w --><a class="postlink" href="http://www.fivetechsoft.com">www.fivetechsoft.com</a><!-- w --> sección pedidos, gracias> y sobre todo, lo que me preocupa es el manejo o aprendizajeSi sabes Clipper y xbase++ ya tienes muchísimo aprendido, ya que FWPPC usa el lenguaje Clipper (Harbour). FiveWin ha demostrado durante años ser muy fácil de aprender a usarlo <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->> si hay buena documentación, si me garantizan el soporte. Tienes una buena documentación y lo más importante: soporte técnico gratuito e ilimitado desde estos foros, en donde comprobarás que hay muchos usuarios de FWPPC y que estan muy satisfechos con el producto <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->Pregunta cualquier duda que tengas. Estamos aqui para ayudar!
public variables yes or not
copied from SLACK - Google translation Best regards, Otto public, private, local and thread static and remember the modified hbclass.ch if classes are going to be used ok Neu Osvaldo Ramirez 23:18 Uhr Just as a note: a static thread is: "STATIC <xVar>" and it will depend on whether that variable is public or private; it is said to be published when its declaration is outside of any procedure / class or function; it is said private when its declaration is inside a procedure / class or function; Is my assessment correct? Now, what problem exists without a static is public? Can you see it in any PRG you run? You mixed like different concepts Explain me please. Static variables are visible only within prg where they are declared The privates are visible from the moment they are declared onwards to their execution The publics are visible throughout the program Locals only within your function where they are declared I see that we can use all types of variables in modharbour? of course But static seems a bit dangerous to me Because we don't have an exe and on every call Cesar SysCtrl Software // {% LoadHrb ('lib / tweb.hrb')%} function main () PUBLIC hVars: = {=>} ? 'Version:', twebversion () retu nil They can be seen differently Cesar SysCtrl Software 01:59 Uhr this works fine! So other prg Clear What if I hope the variable purists don't jump around our necks ha ha ha 02:02 Uhr Sorry good night Cesar Angel Pais 02:11 Uhr You must bear in mind that these are not compiled programs but quasi-interpreted So the behavior is more similar to what dbase was where there were only public and private variables The usefulness of statics is highly debatable in this type of program and they are also shared between threads when there are simultaneous requests Therefore, if you find it absolutely necessary to use them, use static threads, which vanish when the current thread ends, as well as being only visible in the current thread Good point Angel Cesar SysCtrl Software I'll start with the public
pudieron avanzar en ordenacion de un tree?
Eso grcias.
pudieron avanzar en ordenacion de un tree?
Ordenación alfabética ? Lo ideal sería usar un codeblock como se usa con la función ASort() Aún no está listo
pudieron avanzar en ordenacion de un tree?
claro, Yo estoy aun peliandola, si logro ordenar voy a postearlo asi pueden aportar.
pudieron avanzar en ordenacion de un tree?
goosfancito, todavía no sé cómo usar el árbol de Fivewin, si no estoy pidiendo demasiado, ¿podrías enviarme un modelo básico para que pueda aprender cómo funciona? Me gustaría hacer un árbol usando los usuarios y sus contraseñas, ¿es posible? Inclusión, borrado e impresión de contraseñas. ¿Lo entiendes? Gracias. Regards, saludos.
pudieron avanzar en ordenacion de un tree?
dale, no hay drama. Mañana cuelgo uno el github asi pueden acceder
pudieron avanzar en ordenacion de un tree?
[quote="goosfancito":73ph49v9]dale, no hay drama. Mañana cuelgo uno el github asi pueden acceder[/quote:73ph49v9] Gracias. Hágalo lo más simple posible, porque la inteligencia no es mi punto fuerte. jajajajaja Saludos.
pudieron avanzar en ordenacion de un tree?
Hola gente... retomo de vuelta este hilo.. hay forma de ordenar un tree de un xbrowse? El AUTOSORT no funciona, hay alguna otra manera de realizarlo? Muchas gracias! Roberto
pudieron avanzar en ordenacion de un tree?
May we know your FWH version please?
pudieron avanzar en ordenacion de un tree?
May we know your FWH version please?
pudieron avanzar en ordenacion de un tree?
Mr. Nagues... my version is year 2018... very old... maybe it could be solved from programming with my version... Roberto
pudieron avanzar en ordenacion de un tree?
First, you need to modify the fwh program fwh\source\classes\linklist.prg In this program please replace the existing METHOD Sort() with this revised new method: [code=fw:202ikt5h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> Sort<span style="color: #000000;">&#40;</span> lAsc, lRecurs <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TLinkList<br /><br />   <span style="color: #00C800;">local</span> oPrev, oNext, n, aItems := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br />   <span style="color: #00C800;">local</span> oItem<br />   <span style="color: #00C800;">local</span> bSort<br /><br />   <span style="color: #00C800;">DEFAULT</span> lAsc   := .t., lRecurs := .f.<br />   <span style="color: #00C800;">if</span> HB_ISBLOCK<span style="color: #000000;">&#40;</span> lAsc <span style="color: #000000;">&#41;</span><br />      bSort := lAsc<br />      lAsc  := .t.<br />   <span style="color: #00C800;">else</span><br />      <span style="color: #00C800;">if</span> HB_ISSTRING<span style="color: #000000;">&#40;</span> lAsc <span style="color: #000000;">&#41;</span><br />         lAsc  := <span style="color: #000000;">&#40;</span> UPPER<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span> lAsc, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"A"</span> <span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">else</span><br />         lAsc  := !Empty<span style="color: #000000;">&#40;</span> lAsc <span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">endif</span><br />      <span style="color: #00C800;">if</span> lAsc<br />         bSort := <span style="color: #000000;">&#123;</span> |x,y| Upper<span style="color: #000000;">&#40;</span> x:<span style="color: #000000;">cPrompt</span> <span style="color: #000000;">&#41;</span> < Upper<span style="color: #000000;">&#40;</span> y:<span style="color: #000000;">cPrompt</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />      <span style="color: #00C800;">else</span><br />         bSort := <span style="color: #000000;">&#123;</span> |x,y| Upper<span style="color: #000000;">&#40;</span> x:<span style="color: #000000;">cPrompt</span> <span style="color: #000000;">&#41;</span> > Upper<span style="color: #000000;">&#40;</span> y:<span style="color: #000000;">cPrompt</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />      <span style="color: #00C800;">endif</span><br />   <span style="color: #00C800;">endif</span><br /><br />   <span style="color: #00C800;">if</span> ::<span style="color: #000000;">oFirst</span> == <span style="color: #00C800;">nil</span><br />      <span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />   <span style="color: #00C800;">endif</span><br />   oPrev          := ::<span style="color: #000000;">oFirst</span>:<span style="color: #000000;">oPrev</span><br />   oNext          := ::<span style="color: #000000;">oLast</span>:<span style="color: #000000;">oNext</span><br />   ::<span style="color: #000000;">Eval</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> |o| AAdd<span style="color: #000000;">&#40;</span> aItems, o <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, <span style="color: #00C800;">nil</span>, <span style="color: #00C800;">nil</span>, .f. <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">if</span> lRecurs<br />      AEval<span style="color: #000000;">&#40;</span> aItems, <span style="color: #000000;">&#123;</span> |o| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> o:<span style="color: #000000;">oTree</span> == <span style="color: #00C800;">nil</span>,, o:<span style="color: #000000;">oTree</span>:<span style="color: #000000;">Sort</span><span style="color: #000000;">&#40;</span> bSort, .t. <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">endif</span><br /><br />   ASort<span style="color: #000000;">&#40;</span> aItems,,,bSort <span style="color: #000000;">&#41;</span><br /><br />   ::<span style="color: #000000;">oFirst</span>       := aItems<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />   ::<span style="color: #000000;">oFirst</span>:<span style="color: #000000;">oPrev</span> := oPrev<br />   <span style="color: #00C800;">for</span> n := <span style="color: #000000;">2</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">&#40;</span> aItems <span style="color: #000000;">&#41;</span><br />      aItems<span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">oPrev</span>    := aItems<span style="color: #000000;">&#91;</span> n - <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />      aItems<span style="color: #000000;">&#91;</span> n - <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">SetNext</span><span style="color: #000000;">&#40;</span> aItems<span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">next</span> n<br />   ::<span style="color: #000000;">oLast</span>        := ATail<span style="color: #000000;">&#40;</span> aItems <span style="color: #000000;">&#41;</span><br />   ::<span style="color: #000000;">oLast</span>:<span style="color: #000000;">SetNext</span><span style="color: #000000;">&#40;</span> oNext <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:202ikt5h] Please include the modified linklist.prg in your project link script. Then you can sort the Tree as shown in this example program: [code=fw:202ikt5h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oTree<br /><br />   oTree := MakeTree<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   XBROWSER oTree AUTOSORT SETUP <span style="color: #000000;">&#40;</span> ;<br />      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>:<span style="color: #000000;">cSortOrder</span> := <span style="color: #000000;">&#123;</span> |oCol| SetOrder<span style="color: #000000;">&#40;</span> oCol <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> ;<br />      <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> SetOrder<span style="color: #000000;">&#40;</span> oCol <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> cOrder   := <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> oCol:<span style="color: #000000;">cOrder</span> == <span style="color: #ff0000;">"A"</span>, <span style="color: #ff0000;">"D"</span>, <span style="color: #ff0000;">"A"</span> <span style="color: #000000;">&#41;</span><br /><br />   WITH OBJECT oCol:<span style="color: #000000;">oBrw</span><br />      :<span style="color: #000000;">oTree</span>:<span style="color: #000000;">Sort</span><span style="color: #000000;">&#40;</span> cOrder, .t. <span style="color: #000000;">&#41;</span><br />      :<span style="color: #000000;">GoTop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   END<br /><br /><span style="color: #00C800;">return</span> cOrder<br /><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> MakeTree<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oTree<br /><br />   TREE oTree<br />      TREEITEM <span style="color: #ff0000;">"DEF"</span><br />      TREE<br />         TREEITEM <span style="color: #ff0000;">"222"</span><br />         TREEITEM <span style="color: #ff0000;">"333"</span><br />         TREE<br />            TREEITEM <span style="color: #ff0000;">"JAN"</span><br />            TREEITEM <span style="color: #ff0000;">"FEB"</span><br />            TREEITEM <span style="color: #ff0000;">"MAR"</span><br />         ENDTREE<br />         TREEITEM <span style="color: #ff0000;">"111"</span><br />      ENDTREE<br />      TREEITEM <span style="color: #ff0000;">"ABC"</span><br />      TREE<br />         TREEITEM <span style="color: #ff0000;">"777"</span><br />         TREEITEM <span style="color: #ff0000;">"333"</span><br />         TREEITEM <span style="color: #ff0000;">"444"</span><br />      ENDTREE<br />      TREEITEM <span style="color: #ff0000;">"CDE"</span><br />      TREE<br />         TREEITEM <span style="color: #ff0000;">"SUN"</span><br />         TREEITEM <span style="color: #ff0000;">"MON"</span><br />         TREEITEM <span style="color: #ff0000;">"TUE"</span><br />      ENDTREE<br />   ENDTREE<br /><br />   oTree:<span style="color: #000000;">OpenAll</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> oTree<br /> </div>[/code:202ikt5h] [url=https&#58;//imageshack&#46;com/i/pnAmgFB6g:202ikt5h][img:202ikt5h]https&#58;//imagizer&#46;imageshack&#46;com/img923/1897/AmgFB6&#46;gif[/img:202ikt5h][/url:202ikt5h]
pudieron avanzar en ordenacion de un tree?
Thanks Mr.Rao!!!!!!!!!
pueden explicarme como utilizar DEBUG
Eso. No se como utilizarlo ni que utilizar. gracioas.-
pueden explicarme como utilizar DEBUG
G, Compila un prg con la opcion /b o bien en el codigo fuente añade al principio #pragma /b+ y esto hara q automaticamente se ejecute el debugger cuando entre en el prg. Cuando aparezca la ventana, avanza linea por linea con F8 y experimenta con las distintas opciones.
pueden explicarme como utilizar DEBUG
Carles, Hay alguna documentación adicional del Debug?. Y el código fuente?. Gracias.
pueden explicarme como utilizar DEBUG
Mgsoft, La ultima version se distribuye con FWH con sus fuentes. No hay documentacion. Documentacion no hay, pues emula las diferentes opciones de un debugger, pero cualquier problema o duda lo expones e intentare ayudarte <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
pueden explicarme como utilizar DEBUG
hola. y directamente la dll del debug en la misma carpeta del .exe?
pueden explicarme como utilizar DEBUG
Muchas gracias Carles por tu generosa contribución. <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
pueden explicarme como utilizar DEBUG
G, La dll tiene de estar en la misma carpeta q el exe o en una carpeta visible co acceso path.
pueden explicarme como utilizar DEBUG
Utilizo xMate por lo que los sources se guardan en \sources y el exe lo guardo en el \bin Hay alguna configuracion para que el debug no me pida siempre la ruta del .prg? porque cuando ingresa al debug me avisa que no encuentra el .prg (es logico son carpetas diferentes)... gracias.
pueden explicarme como utilizar DEBUG
G, Si se te abre el debugger, es q compilas con /b. Entonces si quieres debugar, si no encuentra la carpeta de los sources, pincha en la boton q aparece una carpeta para seleccionar la ubicacion de los fuentes. No se me ocurre otra manera, bueno si, quitar la opcion /b al compilar... C.
pueden explicarme como utilizar DEBUG
Saludos a todos estimados amigos: Por alguna razon no tengo el DLL del debug, alguien podria enviarmelo ? <!-- e --><a href="mailto:guillermosanchez@movistar.com.pa">guillermosanchez@movistar.com.pa</a><!-- e --> Gracias
pueden? Condition is always false in function MOSTRAR...
Error al compilar: podrían explicarme? [quote:joo0dvjr]Warning source\pipeclte.c 26: Condition is always false in function MOSTRAR Warning source\pipeclte.c 27: Unreachable code in function MOSTRAR[/quote:joo0dvjr] En este código: [code:joo0dvjr]#include "winten&#46;h" #include "windows&#46;h" #include "clipapi&#46;h" #ifdef __H__ #define MAX_LEN 50 // esta es la linea 26 #else #define MAX_LEN 100 #endif CLIPPER MOSTRAR&#40;&#41; &#123; if &#40; MAX_LEN == 50 &#41; _retc&#40;"_har"&#41;; else _retc&#40; "cli" &#41;; &#125;[/code:joo0dvjr] Gracias
pueden? Condition is always false in function MOSTRAR...
Gustavo, MAX_LEN es una constante por lo que el compilador sabe a priori si los valores son iguales ó distintos y por eso el warning. Luego una parte del if no se ejecutará nunca y de ahí el otro warning.
puedo compilar y utlizar fw 32 bits en un equipo de 64b?
Hola. Al no poder actualizar a fwh 64bits, puedo en un equiopo que tengo instalado w7 64 bits compilar sin problemas programas que van a andar en equipos de 32 bits? Pregunta un poco rara, pero nunca trabaje en 64 bits. gracias.
puedo compilar y utlizar fw 32 bits en un equipo de 64b?
Si sr. funciona correctamente. Salu2
puedo compilar y utlizar fw 32 bits en un equipo de 64b?
Así es, yo utilizo normalmente W7 y sobre todo W8 con 64 bits y no tengo FWH 64 bits, solo genero exes 32 bits
puedo compilar y utlizar fw 32 bits en un equipo de 64b?
barbaro! gracias a ambos dos
puedo imprimir un bitmap en TReport ?
Amigos: Es posible imprimir una imagen (.Bmp o .Jpg) en un reporte hecho con la clase TReport en una columna especifica? Por ejemplo [code=fw:170ffy61]<div class="fw" id="{CB}" style="font-family: monospace;"><br />    REPORT oReporte CAPTION cTitulo PREVIEW ;<br />        HEADER ALLTRIM<span style="color: #000000;">&#40;</span>oApp:<span style="color: #000000;">cRazonSocial</span><span style="color: #000000;">&#41;</span>,;<br />        <span style="color: #ff0000;">""</span>,;<br />        cTitulo <span style="color: #0000ff;">CENTER</span>;<br />        <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Fecha: "</span>+Date2Txt<span style="color: #000000;">&#40;</span>DATE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,;<br />        <span style="color: #ff0000;">"Hoja No:"</span>+STR<span style="color: #000000;">&#40;</span>oReporte:<span style="color: #000000;">nPage</span>,<span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span>;<br />        <span style="color: #0000ff;">FONT</span> oFont1,oFont2,oFont3;<br />        PEN open1,oPen2<br /><br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Concepto "</span>        <span style="color: #00C800;">DATA</span> oRsSal:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"DET_CPT"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>         <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">24</span> <span style="color: #0000ff;">LEFT</span><br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Imagen"</span>           <span style="color: #00C800;">DATA</span> PUEDO DEFINIR AQUI LA IMAGEN?      <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">09</span> <span style="color: #0000ff;">RIGHT</span><br />    END REPORT<br /> </div>[/code:170ffy61] o Así? [code=fw:170ffy61]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oReporte:<span style="color: #0000ff;">Say</span><span style="color: #000000;">&#40;</span>nCol, miBitmap,,,<span style="color: #000000;">&#41;</span><br /> </div>[/code:170ffy61] Algún ejemplo? He visto ejemplos en el foro y en la carpeta samples pero es para imprimirlo como logotipo en los encabezados pero a mi me interesa que sea en una columna, como si fuera un dato mas del renglón. Saludos al foro
puedo imprimir un bitmap en TReport ?
Hola, prueba así: [code=fw:29v4w165]<div class="fw" id="{CB}" style="font-family: monospace;">oReport:<span style="color: #000000;">sayBitmap</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span>X<span style="color: #000000;">&#93;</span>, <span style="color: #000000;">&#91;</span>y<span style="color: #000000;">&#93;</span>, <span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"file.bmp"</span><span style="color: #000000;">&#93;</span>, <span style="color: #000000;">&#91;</span>width<span style="color: #000000;">&#93;</span>, <span style="color: #000000;">&#91;</span>height<span style="color: #000000;">&#93;</span>, RPT_CMETERS <span style="color: #000000;">&#41;</span><br /><br />&nbsp;</div>[/code:29v4w165]
puedo imprimir un bitmap en TReport ?
Marcelo: Agradecido con tu respuesta, he intentado con oReporte:SayBitMap() pero la verdad es que es muy complicado, al menos para mi, calcular la ubicación del bitmap en el reporte pues las coordenadas que se indican están en CMS o INCHES, yo esperaba que las coordenadas fueran nRow,nCol. He logrado pintar los bitmaps con oReporte:SayBitMap() pero no quedan exactamente sobre el renglón, no se ven muy estéticos pero es lo más que puedo hacer. Saludos
puedo imprimir un bitmap en TReport ?
Armando, Puedes mostrar una imagen de como se ve ahora ? gracias
puedo imprimir un bitmap en TReport ?
Master: Con mucho agrado [url=http&#58;//postimg&#46;org/image/k36sfsvuf/full/:2l5hosjh][img:2l5hosjh]http&#58;//s23&#46;postimg&#46;org/f4ja19s1n/Clip1&#46;jpg[/img:2l5hosjh][/url:2l5hosjh] Observa el BMP cerca de la lupa y veras que se va saliendo del renglón. Y este es el código [code=fw:2l5hosjh]<div class="fw" id="{CB}" style="font-family: monospace;"><br />    REPORT oReporte CAPTION cTitulo PREVIEW ;<br />        HEADER ALLTRIM<span style="color: #000000;">&#40;</span>oApp:<span style="color: #000000;">cRazonSocial</span><span style="color: #000000;">&#41;</span>,;<br />        <span style="color: #ff0000;">""</span>,;<br />        cTitulo <span style="color: #0000ff;">CENTER</span>;<br />        <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Fecha: "</span>+Date2Txt<span style="color: #000000;">&#40;</span>DATE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,;<br />        <span style="color: #ff0000;">"Hoja No:"</span>+STR<span style="color: #000000;">&#40;</span>oReporte:<span style="color: #000000;">nPage</span>,<span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span>;<br />        <span style="color: #0000ff;">FONT</span> oFont1,oFont2,oFont3;<br />        PEN open1,oPen2<br /><br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Descripción"</span> <span style="color: #00C800;">DATA</span> oRsMat:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"MAT_DES"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>     <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">35</span> <span style="color: #0000ff;">LEFT</span><br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Clave"</span>            <span style="color: #00C800;">DATA</span> oRsMat:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"MAT_MAT"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>     <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">15</span> <span style="color: #0000ff;">LEFT</span><br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"U.M."</span>         <span style="color: #00C800;">DATA</span> oRsMat:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"MAT_UDM"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>     <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">04</span> <span style="color: #0000ff;">LEFT</span><br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Unidades"</span>     <span style="color: #00C800;">DATA</span> SdoUni<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>                                   <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">10</span> <span style="color: #0000ff;">RIGHT</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@Z 9,999,999.999"</span> TOTAL<br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Costo"</span>            <span style="color: #00C800;">DATA</span> SdoVal<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>                                   <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">11</span> <span style="color: #0000ff;">RIGHT</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@Z 99,999,999.99"</span> TOTAL<br />        COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Obs"</span>          <span style="color: #00C800;">DATA</span> IIF<span style="color: #000000;">&#40;</span>lMinimo,DasBmp<span style="color: #000000;">&#40;</span>oReporte<span style="color: #000000;">&#41;</span>,<span style="color: #ff0000;">" "</span><span style="color: #000000;">&#41;</span>  <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">03</span> <span style="color: #0000ff;">CENTER</span><br />    END REPORT<br /><br />...<br />...<br />...<br />...<br /><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> DasBmp<span style="color: #000000;">&#40;</span>oReporte<span style="color: #000000;">&#41;</span><br />    oReporte:<span style="color: #000000;">SayBitmap</span><span style="color: #000000;">&#40;</span>oReporte:<span style="color: #000000;">nRow</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>/<span style="color: #000000;">210</span>,<span style="color: #000000;">19.15</span>,<span style="color: #ff0000;">"C:<span style="color: #000000;">\A</span>ppSap<span style="color: #000000;">\R</span>esource<span style="color: #000000;">\R</span>edBtn.Bmp"</span>,.<span style="color: #000000;">25</span>,.<span style="color: #000000;">25</span>,RPT_CMETERS<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span><span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span><br /> </div>[/code:2l5hosjh] Saludos
puedo imprimir un bitmap en TReport ?
Armando, Si varías 210 en oReporte:nRow()/210 imagino que puedes corregir la posición del bitmap. Por otra parte puedes usar los métodos Pix2Cmtr(), Pix2Mmtr() y Pix2Inch() de oReporte:oDevice para cambiar al tipo de escala que necesites.
puedo imprimir un bitmap en TReport ?
Antonio: Gracias por la sugerencia, pruebo y te aviso. El valor 210 lo tomé de la diferencia entre un renglón y el siguiente. Saludos
puedo imprimir un bitmap en TReport ?
Hola, la clase report ya tiene una opción para incorporar imagenes en una columna, creo que es eso lo que estas buscando [code=fw:74ht2ul9]<div class="fw" id="{CB}" style="font-family: monospace;">#xcommand COLUMN <span style="color: #000000;">&#91;</span> <oRptCol> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">TITLE</span> <bTitle, ...> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <span style="color: #00C800;">AT</span> <nCol> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <span style="color: #00C800;">DATA</span> <bData, ...> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">SIZE</span> <nSize> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <pict: <span style="color: #000000;">PICT</span>, PICTURE> <cPicture, ...> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">FONT</span> <uFont> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <span style="color: #000000;">&#91;</span> <lCum: <span style="color: #000000;">CUMULATIVE</span>> <span style="color: #000000;">&#93;</span> <total: <span style="color: #000000;">TOTAL</span>> <span style="color: #000000;">&#91;</span> <span style="color: #00C800;">FOR</span> <bTotalExpr> <span style="color: #000000;">&#93;</span>  <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <ColFmt:<span style="color: #0000ff;">LEFT</span>,<span style="color: #0000ff;">CENTER</span>,<span style="color: #0000ff;">CENTERED</span>,RIGHT> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <lShadow:<span style="color: #000000;">SHADOW</span>> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <lGrid:<span style="color: #000000;">GRID</span>> <span style="color: #000000;">&#91;</span> <nPen> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <memo: <span style="color: #000000;">MEMO</span>, MULTILINE> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span><img:<span style="color: #000000;">IMAGE</span>> <span style="color: #000000;">&#91;</span> IMGDATA <bimg> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#91;</span>HEIGHT <h> <span style="color: #000000;">&#91;</span><imgpix:<span style="color: #000000;">PIXEL</span>><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#91;</span> ALPHALEVEL <nAlpha><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <span style="color: #000000;">&#91;</span><styl:<span style="color: #000000;">LINE</span>,BAR><span style="color: #000000;">&#93;</span> CHARTDATA <chdata> <span style="color: #000000;">&#91;</span>HEIGHT <h2> <span style="color: #000000;">&#91;</span><chtpix:<span style="color: #000000;">PIXEL</span>><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> MAXVAL <chtmax><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#91;</span><span style="color: #0000ff;">COLOR</span> <clr,...><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#93;</span> ;<br />                <span style="color: #000000;">&#91;</span> <valign:<span style="color: #000000;">TOP</span>,VCENTER,BOTTOM> <span style="color: #000000;">&#93;</span> ;<br /> </div>[/code:74ht2ul9]
puedo ocupar DBCOMBO para ingresar informacion tipo GET
Un gran saludo a la gente del foro quisiera molestarlos con una consulta. Tengo un programa que hace una mantencion a una tabla en particular y para recibir los datos desde el teclado quisiera ocupar un control DBCOMBO, este control lo defino con Pelles Style "Dropdown", y el efecto es que yo puedo escribir en el control y me hace una busqueda incremental en la lista del dbcombo ej: REDEFINE DBCOMBO oCbx VAR cRegion ID 3 OF oDlg UPDATE ALIAS "REGIONES" LISTFIELD "NOMB_REGION" ITEMFIELD "CODI_REGION" el tema es que me muesta un lisbox con el campo "NOMB_REGION" y yo puedo escribir para hacer la busqueda incremental. Pero me gustaria poder tomar lo digitado para agregar un campo nuevo en caso que no exista en el lisbox. Intente tomar el valor de la variable cRregion pero logicamente al dar enter toma el valor que tenga el campo "CODI_REGION", revise la clase y no se ve un "bSetGet" que me haga pensar en que puedo tomar el valor de lo que se digita en la busqueda Me da la impresio que estoy errado en el concepto y el DBCOMBO no sirve para este proposito si no mas bien "solo" para seleccionar de una lista armada con campos de una tabla...Si alguien me puede aclarar el tema Gracias de antemano..
puedo ocupar DBCOMBO para ingresar informacion tipo GET
Hola no es una respuesta clara a tu problema porque recién estoy usando el dbcombo (antes lo hacía con array) Fijate en el manual de fwh que existe un metodi insert, fijate si por ahí va. Luis
puedo ocupar DBCOMBO para ingresar informacion tipo GET
Luis.... Gracias por contestar, pero agregar el valor no seria el problema si no mas bien tomar el valor digitado para la busqueda, en todo caso voy hacer lo que dices y leeré un poco mas. Te comento si lo soluciono.. Gracias
puedo ocupar DBCOMBO para ingresar informacion tipo GET
Luis... logre solucionar el tema lo que hice fue esto: tenia definido el dbcombo asi REDEFINE DBCOMBO oCbx VAR cRegion ID 3 OF oDlg UPDATE ALIAS "REGIONES" LISTFIELD "NOMB_REGION" ITEMFIELD "CODI_REGION" para obtener el valor de lo que el usuario digito en la busqueda hice esto cbusqueda := oCbx:VarGet() y esto ya lo puedo buscar en la tabla para ver si es un registro nuevo... Gracias...