topic
stringlengths
1
63
text
stringlengths
1
577k
rror description: Error BASE/1003 Variable does not exist:
SET AUTOPEN ON, ma dovrebbe essere il default. EMG
rror description: Error BASE/1003 Variable does not exist:
ho provato a settare l'indice con set autopen off ed on,ma l'errore non si risolve. posto la parte del codice dove utilizzo le funzioni.Grazie a tutti.saluti function fCompAus() ******************************************************************************/ local nArea:=select(),aFiles,lGiaAperto,cNome,nI,cChiave * select pratiche * cChiave:=cod_pratica close databases aFiles:=directory("*.dbf") // cmxAutoOpen(.f.) for nI=1 to len(aFiles) cNome:=aFiles[nI][1] use (cNome) alias tmpPack exclusive new pack use next // cmxAutoOpen(.t.) fArchivi(.f.)
rtf page break
Hi, Is it possible to add a page break to the rich text control? Alex
rtf page break
Alex, Have you tried with Ctrl+Enter ?
run \samples\testrpt2
when I run \samples\testrpt2 I got error Application =========== Path and name: S:\samples\testrpt2.exe (32 bits) Size: 1,840,128 bytes Time from start: 0 hours 0 mins 15 secs Error occurred at: 06/14/11, 11:18:51 Error description: Error BASE/1004 Class: 'NIL' has no exported method: NHEIGHT Args: [ 1] = U
run \samples\testrpt2
Kajot, Here it is working fine using FWH 11.05. Please post the complete calls stack so we can check where the error is coming from, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
run \samples\testrpt2
Application =========== Path and name: S:\samples\testfld2.exe (32 bits) Size: 1,814,528 bytes Time from start: 0 hours 0 mins 0 secs Error occurred at: 06/23/11, 13:59:59 Error description: Error FiveWin/3 Cannot create Dialog Box: Resource: testfld2 Stack Calls =========== Called from: Source\Classes\dialog.prg => CREATEDLGERROR(562) Called from: Source\Classes\dialog.prg => TDIALOG:ACTIVATE(292) Called from: testfld2.prg => MAIN(39) System ====== CPU type: -137429 Mhz Hardware memory: 2048 megs Free System resources: 90 % GDI resources: 90 % User resources: 90 % Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6726) Windows version: 5.1, Build 2600 Dodatek Service Pack 3 Windows total applications running: 0 Variables in use ================ Procedure Type Value ========================== CREATEDLGERROR Param 1: O Class: TDIALOG Local 1: C "testfld2" Local 2: C " " TDIALOG:ACTIVATE Param 1: U Param 2: U Param 3: U Param 4: L .T. Param 5: U Param 6: L .T. Param 7: U Param 8: U Param 9: U Param 10: L .F. Param 11: L .F. Local 1: O Class: TDIALOG Local 2: N 0 Local 3: U Local 4: U MAIN Local 1: O Class: TDIALOG Local 2: O Class: TFOLDER Local 3: O Class: TFOLDER Local 4: C " " Linked RDDs =========== DBF DBFFPT DBFNTX DBFBLOB DataBases in use ================ Classes in use: =============== 1 ERROR 2 HASHENTRY 3 HBCLASS 4 HBOBJECT 5 TWINDOW 6 TDIALOG 7 TBRUSH 8 TCONTROL 9 TFOLDER 10 TFONT 11 TCOMBOBOX 12 TGET 13 GET 14 TCLIPGET 15 TBUTTON 16 TREG32 Memory Analysis =============== 129 Static variables Dynamic memory consume: Actual Value: 0 bytes Highest Value: 0 bytes
run \samples\testrpt2
Again the same issue. Please also link testfld2.rc. Whenever you test any programs in the samples folder, please always link the corresponding rc file, it exists. Better you go to \fwh\samples folder and then execute buildh testfld2 (for harbour) or buildx testfld2 (for xharbour) These batch files automatically link the rc files if they exist.
run a batch file from fwh
Silvio, Why don't you make a LNK-file (like shortcut) in which you can define to run it as an administrator. In your application you use the WaitRun("XXXX.LNK,0) Doesn't that work?
run a batch file from fwh
I need to start a batch file that has only one command line from an exe fwh in the command line enclosed in the bat file it wants three parameters [b:1z7ogads]%1 %2 %3[/b:1z7ogads] instead of these three parameters the information contained within a dbf must be linked example First, Last, Address any help pls
run a batch file from fwh
I would generate/update the bat file itself with the dbf data, just before running it from FWH.
run a batch file from fwh
perhaps I resolved I created a txtfile from fwh and then save as "xxx.bat" then I make run this bat But there is a problem because the command I insert on it need level administrator because there is a command NET USER
run a batch file from fwh
sample : [code=fw:2gd92wrk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">Function</span> test<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> cText := <span style="color: #ff0000;">""</span><br /><span style="color: #00C800;">local</span> cUser:=<span style="color: #ff0000;">"Pon2021"</span><br /><span style="color: #00C800;">local</span> cPassword:=<span style="color: #ff0000;">"Pon"</span><br />  <br />  <br />    cText += <span style="color: #ff0000;">" NET USER "</span> +cUser +<span style="color: #ff0000;">" "</span>+;<br />                           cPassword +<span style="color: #ff0000;">" /add "</span> +;<br />                        <span style="color: #ff0000;">" /comment='Pon 2021'"</span> +;<br />                        <span style="color: #ff0000;">" /expires:never "</span> +;<br />                        <span style="color: #ff0000;">" /passwordchg:No"</span> +;<br />                        <span style="color: #ff0000;">" /logonpasswordchg:No"</span><br /><br /><br />    memowrit<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"test.bat"</span>, cText <span style="color: #000000;">&#41;</span><br />    waitrun<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"test.bat"</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:2gd92wrk] this created the file .bat [b:2gd92wrk]then it is no executed why ?[/b:2gd92wrk] if you run cmd from administrator and then write NET USER fwh fwh /add it execute and create a user called fwh with password fwh
run a batch file from fwh
Hello Silvio, Do you run your EXE as admin? I use the same code as you with no problems. Best regards, Otto [code=fw:2zpg5jof]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> &nbsp;lIsDir<span style="color: #000000;">&#40;</span> cVerzeichnis <span style="color: #000000;">&#41;</span> = .f.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lMKDir<span style="color: #000000;">&#40;</span> cVerzeichnis <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; cText := &nbsp;<span style="color: #ff0000;">'net user '</span> + cUser + <span style="color: #ff0000;">' '</span> + &nbsp;cPW + <span style="color: #ff0000;">' /add /comment:"Basic WINHOTEL Remotedesktop user account." /fullname:"'</span> + cfullname +<span style="color: #ff0000;">'" /logonpasswordchg:no'</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cText := cText + <span style="color: #ff0000;">'net localgroup "Remotedesktopbenutzer" '</span>+ cUser +<span style="color: #ff0000;">' /add'</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cText := cText + <span style="color: #ff0000;">'net localgroup "Benutzer" '</span> + cUser + <span style="color: #ff0000;">' /delete'</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cText := cText + <span style="color: #ff0000;">'WMIC USERACCOUNT WHERE "Name='</span> + <span style="color: #ff0000;">"'"</span> &nbsp;+ cUser &nbsp;+ <span style="color: #ff0000;">"'"</span> + <span style="color: #ff0000;">'" SET PasswordExpires=FALSE'</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;memowrit<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">".<span style="color: #000000;">\p</span>sfiles<span style="color: #000000;">\p</span>s_8.bat"</span>, cText <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;waitrun<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">".<span style="color: #000000;">\p</span>sfiles<span style="color: #000000;">\p</span>s_8.bat"</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br /><br /><br />&nbsp;</div>[/code:2zpg5jof]
run a batch file from fwh
[quote="Otto":bu1bl09g]Hello Silvio, Do you run your EXE as admin? I use the same code as you with no problems. Best regards, Otto [code=fw:bu1bl09g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><br />      <span style="color: #00C800;">if</span>  lIsDir<span style="color: #000000;">&#40;</span> cVerzeichnis <span style="color: #000000;">&#41;</span> = .f.<br /><br />         lMKDir<span style="color: #000000;">&#40;</span> cVerzeichnis <span style="color: #000000;">&#41;</span><br />         cText :=  <span style="color: #ff0000;">'net user '</span> + cUser + <span style="color: #ff0000;">' '</span> +  cPW + <span style="color: #ff0000;">' /add /comment:"Basic WINHOTEL Remotedesktop user account." /fullname:"'</span> + cfullname +<span style="color: #ff0000;">'" /logonpasswordchg:no'</span> + CRLF<br />         cText := cText + <span style="color: #ff0000;">'net localgroup "Remotedesktopbenutzer" '</span>+ cUser +<span style="color: #ff0000;">' /add'</span> + CRLF<br />         cText := cText + <span style="color: #ff0000;">'net localgroup "Benutzer" '</span> + cUser + <span style="color: #ff0000;">' /delete'</span> + CRLF<br />         cText := cText + <span style="color: #ff0000;">'WMIC USERACCOUNT WHERE "Name='</span> + <span style="color: #ff0000;">"'"</span>  + cUser  + <span style="color: #ff0000;">"'"</span> + <span style="color: #ff0000;">'" SET PasswordExpires=FALSE'</span> + CRLF<br />         memowrit<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">".<span style="color: #000000;">\p</span>sfiles<span style="color: #000000;">\p</span>s_8.bat"</span>, cText <span style="color: #000000;">&#41;</span><br />         waitrun<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">".<span style="color: #000000;">\p</span>sfiles<span style="color: #000000;">\p</span>s_8.bat"</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br /><br /><br /> </div>[/code:bu1bl09g][/quote:bu1bl09g] thanks Otto I thought that I could directly load test.bat an exe program and load it in administrator mode, now I have to remember to load the exe in administrator mode a question what do you do with the command [code=fw:bu1bl09g]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #ff0000;">'WMIC USERACCOUNT WHERE</span></div>[/code:bu1bl09g]
run a batch file from fwh
Silvio, WINDOWS is a very save OS. Best regards, Otto
run a batch file from fwh
[quote="driessen":1n6tc82e]Silvio, Why don't you make a LNK-file (like shortcut) in which you can define to run it as an administrator. In your application you use the WaitRun("XXXX.LNK,0) Doesn't that work?[/quote:1n6tc82e] I have at my school 3 labs with 22 computer each I wish to find a faster way to create user accounts for students
run a function on end...
I have a dialog activate with NOWAIT clausole I wish open on END another function with another dialog but only when the first dialog is closed it's possible ? Itried also in this mode I have a vistamenu where I call the first dialog ( Proveedores() ) and then the second (Pstart()) but it call only the second Pstart() oItem[3]:AddItem("Totale fornitori in archivio:"+ tran(nfornitori,'@E 999,999') ,, { ||(Proveedores() ,[b:3lap49rw]Pstart()[/b:3lap49rw] ) } )
run a function on end...
Silvio, Call your function from the VALID of the dialog
run a function on end...
yes of course, I tried also with valid ACTIVATE DIALOG oApp():oDlg NOWAIT ; ON PAINT (oApp():oSplit:AdjClient()); ON INIT(oApp():oGrid:SetFocus(),ResizeWndMain()) ; VALID ( oApp():oGrid:nLen := 0 ,; oBar:End(), DbCloseAll(), oApp():oDlg := NIL, oApp():oGrid := NIL, oApp():oTab := NIL, [b:1mwe324j]Pstart()[/b:1mwe324j], .t. ) but it call the dialog first then call Pstart making a graphic error because on Pstart I insert vistamenu and I see all two dialogs ( nowait) but this problem come sometimes
runadhoc
Hola Antonio: ¿Por qué no incluyes runadhoc en el próximo FTDN?. Es una característica muy demandada y que funciona muy bien. Salu2
runadhoc
Moises, Como te he indicado en otro post, sería estupendo si lo adaptas a 32 bits y compruebas que funcione bien, y con mucho gusto lo incluiremos en el próximo build de FWH, gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
runadhoc
Hola: No he visto el otro post. ¿Donde está?. Lo he compilado en 32 bits y funciona sin problemas y para lo que busco es genial. Pero seguro que a tí se te ocurren algunos cambios. Muchas gracias. Un saludo,
runadhoc
Moises, Te respondi en otro de los posts que publicastes, comentándote lo mismo <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
runadoc - generador de informes
Hola: Busco un generador de informes llamado runadoc, que apareció en las news hace bastante tiempo. Creo que estaba en inglés y la pantalla era: [img:1wew16w5]http&#58;//img442&#46;imageshack&#46;us/img442/1085/listadoosslq0&#46;jpg[/img:1wew16w5] Por favor, estaría muy agradecido si me lo pueden enviar. Muchas gracias. Salu2, Moisés
runadoc - generador de informes
<!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=7997&start=0&postdays=0&postorder=asc&highlight=">http://fivetechsoft.com/forums/viewtopi ... highlight=</a><!-- m -->
runadoc - generador de informes
Maestro, cual és el link correcto ahora? Y hay algun proyecto para un generador de informes próprio de FiveWin? Gracias, Salu2.
runadoc - generador de informes
runadoc - generador de informes <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=2&t=7992&p=143496#p143496">viewtopic.php?f=2&t=7992&p=143496#p143496</a><!-- l --> Maestro esto funciona em fivewin 32 bits? Hay algun proyecto para un generador de informes próprio de Fivewin, tipo: FastReport ó otro? Gracias, salu2.
runadoc - generador de informes
yes of course it run ok on fwh 32 bit
runadoc - generador de informes
Thanks Silvio Where can I download? Regards, saludos.
runadoc - generador de informes
on downloads list of fivetech
runadoc - generador de informes
Silvio, Link no longer works. Regards, saludos.
runadoc - generador de informes
I sent the files to Antonio.. I hope he upload on download list this evening !!!!!
runadoc - generador de informes
Here it is: [url:2yn8kzvi]https&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=RUNADHOC&#46;zip[/url:2yn8kzvi] I get several dialogboxes but finally no report is shown. Silvio, could you post some screenshots ? thanks
runadoc - generador de informes
Antonio, it is the forum release founded... last two years ago on August I made a good version with no resources .. . but I must found my sources..and you must give me .a little time .. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->..now I live far from my home because I have "men At Work" into!!!!
runadoc - generador de informes
Silvio, I understand that you are busy, but if your code is not functional, whats the point to give it away ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> (Unless someone wants to review it or complete it...)
runadoc - report generator
Hi, I am searching a file named runadoc. It is a report generator that appeared in the news server some time ago. It was in English and the screen is: [img:2126cz9a]http&#58;//img442&#46;imageshack&#46;us/img442/1085/listadoosslq0&#46;jpg[/img:2126cz9a] I would be very grateful if you could send me the file. Thank you very much!!!. Regards
runadoc - report generator
<!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=7997&start=0&postdays=0&postorder=asc&highlight=">http://fivetechsoft.com/forums/viewtopi ... highlight=</a><!-- m -->
rundlg32.exe
Hi, I am looking for the file rundlg32.exe. I can not find it in my computer and I don't know if it is part a a program. Thank you for your help. Alvaro
rundlg32.exe
Hola a todos, ¿alguien me puede decir donde puedo encontrar el fichero rundlg.exe? no está en mi ordenador y no se como conseguirlo o si es parte de algun programa. Gracias. Alvaro
rundlg32.exe
Alvaro, it is provided with FiveWin
rundlg32.exe
Alvaro, va incluido en la instalación de FiveWin
rundlg32.exe
Muchas gracias. Alvaro
rutina para grabar arrays en disco
Hace un tiempo usaba una función que me permitía grabar y recuperar arrays en disco. Me acuerdo la función para recuperar el array era Ft_restarray(). Si alguien lo tiene se lo agradecería. Muchas gracias de antemano
rutina para grabar arrays en disco
Horacio: Si mal no recuerdo esa funcion es de Nanfor.lib La lib estaba en las contribuciones de Harbour creo, no se ahora. Habría que preguntarle a Antonio. Saludos. Ruben Fernandez.
rutina para grabar arrays en disco
Horacio, te envie a tu email una rutunita que hace lo que requieres, pero para arrays unidimensionales, para multidimensionales (matrices) lo que hago es convertira a una dbf... Salu2 Willi
rutina para grabar arrays en disco
gracias por haberme contestado. Ya lo he podido solucionar.
sCROLLS CON FW 2.3
Cuando el ::bChange de un WBrowse es extenso y tarda algunos milisegundos de más, si dejas pulsado algún control de un VScroll para bajar rápidamente, el VScroll se queda pillado. ¿Le ha pasado a alguien más?
sCROLLS CON FW 2.3
Manu, En el código del bChange prueba a llamar a SysRefresh() para darle tiempo a Windows a procesar mensajes pendientes.
sCROLLS CON FW 2.3
Antonio, no se trata de eso, utilizo amenudo el SysRefresh(), Lo que no sé es si pasa lo mismo con otros FW's. El caso es que no me osurre con un sólo programa nin con un sólo ordenador. El caso es que a cada bChange escribo los datos del socio y despliego una serie de tablas de cuotas. Parece que es mucha carga para el VSCroll y se queda pillado. Quisá sea un defecto propio de windows.
sHOW AN GROUP OF BITMAPS ON XBROWSE
I NEED TO SHOW ON XBROWSE ON A COLUMN A GROUP OF BITMAPS THIS BITMAPS IS THE SUM OF MANY BITMAPS I EXPLAIN YOU ON AN ARCHIVE i HAVE 6 FIELDS AND ON ON A RECORD i HAVE A STRING FIELDS STRING -------------------------- L_LUN SSSSSSSSSS L_MAR SSSSSSSSSS L_MER SSSSSSSSSS L_GIO SSSSSSSSSS L_VEN SSSSNNSSSS L_SAB SSSCSSSNSS S COLOR GREEN N COLOR RED C COLOR BLUE i MUST MAKE ON A COLUMN THIS ( i FOUND IT ON A NO FREEWARE APPLICATION ) [img:34ubxwc7]http&#58;//img41&#46;imageshack&#46;us/img41/4514/columncolors&#46;png[/img:34ubxwc7] i YOU SEE IT YOU CAN SEE ON EACH RECORD HAVE MANY DIFFERENT COLORS LINES HOWE i CAN SIMULATE IT ?
saber cual es el número de renglones del menú
Con la función getSysMetrics( SM_CYMENU ) es posible conocer el tamaño del menú, pero ¿como puedo saber cuantas líneas (renglones) ocupa el menú en una ventana?
saber cual es el número de renglones del menú
A ver si esto te sirve TMenu Menu Class DATA hMenu The Windows handle of the Menu [b:2egm5lpi]aItems An array of MenuItems[/b:2egm5lpi] Saludos
saber cual es el número de renglones del menú
Gracias, pero no me ayudó <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> aItems tiene las opciones del menú, pero no se si todas caben en un solo renglón y hMenu no me dio la información wndHeight(), supongo que es porque no es ventana.
saber cual es la IP Publica
Probado con xHarbour [code=fw:10znl60l]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> PublicIP<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> cBuffer, cRequest, cResponse, nBytes, pSocket<br /><br /> INetInit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  pSocket := INetConnect<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"checkip.dyndns.org"</span>, <span style="color: #000000;">80</span> <span style="color: #000000;">&#41;</span><br /><br />  <span style="color: #00C800;">IF</span> INetErrorCode<span style="color: #000000;">&#40;</span> pSocket <span style="color: #000000;">&#41;</span> <> <span style="color: #000000;">0</span><br />   ? <span style="color: #ff0000;">"Socket error:"</span>, INetErrorDesc<span style="color: #000000;">&#40;</span> pSocket <span style="color: #000000;">&#41;</span><br />   INetCleanUp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   QUIT<br />  <span style="color: #00C800;">ENDIF</span><br /><br />  nBytes   := INetSend<span style="color: #000000;">&#40;</span> pSocket, <span style="color: #ff0000;">"GET / HTTP/1.1"</span> + CRLF + <span style="color: #ff0000;">"Host: checkip.dyndns.org"</span> + CRLF + <span style="color: #ff0000;">"User-Agent: HTTP-Test-Program"</span> + CRLF + CRLF <span style="color: #000000;">&#41;</span><br />  cBuffer  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">512</span><span style="color: #000000;">&#41;</span><br />  cResponse:= <span style="color: #ff0000;">""</span><br /><br />  <span style="color: #00C800;">WHILE</span> <span style="color: #000000;">&#40;</span> nBytes > <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />   nBytes    := INetRecv<span style="color: #000000;">&#40;</span> pSocket, @cBuffer <span style="color: #000000;">&#41;</span><br />   cResponse += <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> cBuffer, nBytes <span style="color: #000000;">&#41;</span><br />   cBuffer   := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">512</span><span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">ENDDO</span><br /><br />  INetClose<span style="color: #000000;">&#40;</span> pSocket <span style="color: #000000;">&#41;</span><br /> INetCleanUp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span><span style="color: #000000;">&#40;</span> allTrim<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> cResponse, rat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"<body>"</span>, cResponse <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">26</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span>, <span style="color: #00C800;">At</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"<"</span>, <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> cResponse, rat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"<body>"</span>, cResponse <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">26</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:10znl60l]
saber cual es la IP Publica
Pablo, Excelente !!! Andaba buscando una funcion como esta. Muchas gracias por el aporte. Saludos
saber cual es la IP Publica
Mis estimados, me sirvio en este momento muchisimo su aporte, ya que ando haciendo CGI's con xHarbour y mis clientes requieren de filtro por IP Publica, chistosamente busque las palabras claves dentro del foro y no me salio ninguna ocurrencia, busque en google "saber ip publica desde xharbour" y la primer ocurrencia que me dio fue este post... Gracias Mil LF
saber cual es la IP Publica
Gracias Pablo. Está mui lento... Saludos.
saber cual es la IP Publica
[code=fw:2qb8aajy]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"tip.ch"</span><br /><br /><span style="color: #00C800;">FUNCTION</span> RetPublicIP<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cPubIP := <span style="color: #ff0000;">""</span>, cxHtml := <span style="color: #ff0000;">""</span>, url, oUrl, oHttp, oErr<br /><br />&nbsp; &nbsp;url := <span style="color: #ff0000;">"http://checkip.dyndns.org"</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">try</span><br />&nbsp; &nbsp; &nbsp; oUrl:=TUrl<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> url <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// From tip.lib</span><br />&nbsp; &nbsp; &nbsp; oHttp := TipClientHttp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> oUrl , .f. <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// From tip.lib</span><br />&nbsp; &nbsp;catch oErr<br />&nbsp; &nbsp; &nbsp; ? <span style="color: #ff0000;">"Erro: "</span>+oErr:<span style="color: #000000;">Description</span><br />&nbsp; &nbsp;end <span style="color: #00C800;">try</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">Try</span><br />&nbsp; &nbsp; &nbsp; oHttp:<span style="color: #000000;">Open</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cxHtml := oHttp:<span style="color: #000000;">ReadAll</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Baixa todo o conteúdo do site.</span><br />&nbsp; &nbsp; &nbsp; cPubIP := allTrim<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> cxHtml, rat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"<body>"</span>, cxHtml <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">26</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span>, <span style="color: #00C800;">At</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"<"</span>, <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> cxHtml, rat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"<body>"</span>, cxHtml <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">26</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;catch oErr<br />&nbsp; &nbsp; &nbsp; ? <span style="color: #ff0000;">"Erro: "</span>+oErr:<span style="color: #000000;">Description</span><br />&nbsp; &nbsp;End<br /><br />&nbsp; &nbsp;oHttp:<span style="color: #000000;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;DeleteUrlCacheEntry<span style="color: #000000;">&#40;</span>url<span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Lipar Cache</span><br /><br />&nbsp; &nbsp;? cPubIP<br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------------------------------------------------//</span><br />DLL <span style="color: #00C800;">Function</span> DeleteUrlCacheEntry<span style="color: #000000;">&#40;</span>lpszUrlName AS STRING<span style="color: #000000;">&#41;</span> AS LONG PASCAL <span style="color: #0000ff;">FROM</span> <span style="color: #ff0000;">"DeleteUrlCacheEntryA"</span> LIB <span style="color: #ff0000;">"wininet.dll"</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------------------------------------------------//</span><br /><br /><span style="color: #B900B9;">// A DLL fica em c:\Windows\System32\wininet.dll </span><br />&nbsp;</div>[/code:2qb8aajy] 
saber el número de veces que se está ejecutando un .EXE
Hola, ¿Es posible saberlo?. Muchas gracias.
saber el número de veces que se está ejecutando un .EXE
Hola. Lo has intentado utilizando la function GetTask(), modificándola?. Es sólo una idea. Saludos.
saber el número de veces que se está ejecutando un .EXE
Yo uso lo siguiente: [code=fw:2fw2emqn]<div class="fw" id="{CB}" style="font-family: monospace;">cTxt := <span style="color: #ff0000;">"Gestión comercial"</span>  <span style="color: #B900B9;">//Titulo que debe contener la aplicación abierta</span><br />hWnd := GETWINDOW<span style="color: #000000;">&#40;</span> GETDESKTOPWINDOW<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,GW_CHILD <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">do</span> <span style="color: #00C800;">while</span> hWnd != <span style="color: #000000;">0</span> <br />  cTitle := Alltrim<span style="color: #000000;">&#40;</span> GETWINDOWTEXT<span style="color: #000000;">&#40;</span>hWnd<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">if</span> cTxt $ cTitle<br />    aadd<span style="color: #000000;">&#40;</span> aHandles, hWnd<span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">endif</span><br />  hWnd := GETWINDOW<span style="color: #000000;">&#40;</span> hWnd, GW_HWNDNEXT <span style="color: #000000;">&#41;</span> <br /><span style="color: #00C800;">enddo</span><br /> </div>[/code:2fw2emqn] En el array "aHandles" tengo todos los handles abiertos. Yo lo uso para poder poner el foco en una de las ventanas [code=fw:2fw2emqn]<div class="fw" id="{CB}" style="font-family: monospace;">ShowWindow<span style="color: #000000;">&#40;</span> aHandles<span style="color: #000000;">&#91;</span>nSelect<span style="color: #000000;">&#93;</span>, WS_RESTORE <span style="color: #000000;">&#41;</span><br />showWindow<span style="color: #000000;">&#40;</span> aHandles<span style="color: #000000;">&#91;</span>nSelect<span style="color: #000000;">&#93;</span>, SW_SHOWMAXIMIZED<span style="color: #000000;">&#41;</span></div>[/code:2fw2emqn] Siendo "nSelect" la ventana que quiero seleccionar En lo que solicitas, se puede cambiar "aadd( aHandles, hWnd)" por "nWindows++". De esa forma al final tendrías en nWindows el total de ventanas abiertas. Este procedimiento es práctico, si en el ordenador no hay muchas aplicaciones abiertas (sean las que sean). Ya que el procedimiento recorre uno a uno todas las aplicaciones abiertas, y podría demorarse en caso de tener muchas aplicaciones abiertas
saber el número de veces que se está ejecutando un .EXE
Yo cree una base en la que guardo el usuario al momento de ingresar y lo elimino al salir. Observando la base veo quienes están usando el sistema. Quizas haya otra manera, hay un software comercial WhoHas que muestra los usuarios que están usando el sistema y que bases tienen abiertas. Saludos, Adhemar
saber el número de veces que se está ejecutando un .EXE
Muchas gracias a todos. Al final, he optado por la solución de Fernando, porque en GetTasks() no aparece la aplicación de Fivewin. Un saludo
saber el número de veces que se está ejecutando un .EXE
Hola... Otra solución es usar las herramientas que existen ya en Windows... Podrías hacer un TaskList a un archivo y luego leer ese archivo con por ejemplo un MemoRead y contar la cantidad de veces que encuentra el ejecutable que deseas evaluar. Saludos,
saber el número de veces que se está ejecutando un .EXE
Lucas. Dale una mirada a: \Samples\GetApps.prg Saludos.
saber el path de una base de datos
Estoy trabajando con varias bases que se repiten pero se encuentran en distintos directorios. Hay alguna manera de saber el path de una base de datos. Set( _SET_PATH ) no me sirve ya que por el trabajo que hace el programa no lo utilizo. Alguien sabe ??. Desde ya muchas gracias
saber el path de una base de datos
[quote="horacio":a74ya0ef]Estoy trabajando con varias bases que se repiten pero se encuentran en distintos directorios. Hay alguna manera de saber el path de una base de datos. Set( _SET_PATH ) no me sirve ya que por el trabajo que hace el programa no lo utilizo. Alguien sabe ??. Desde ya muchas gracias[/quote:a74ya0ef] Hola Horacio: cFilePath()(<cNomArch>) --> <cRuta> Devuelve la ruta de un nombre de archivo con ruta, nombre y extension cFileSubDir( <cNomArch>) --> <cNomDir> Devuelve el nombre del subdirectorio de un nombre con ruta, unidad de disco y nombre de archivo Un saludo, Manuel
saber el path de una base de datos
Manuel Te agrdezco mucho tu respuesta. Lo voy a probar
saber la MAC de una placa.
Gracias de antemano.Como puedo saber la mac que posee una pc?
saber la MAC de una placa.
Puedes localizarla ejecutando el comando IPCONFIG /ALL en una ventana DOS.Saludos,
saber la MAC de una placa.
Hola:Function GetMacAdd()local aMac, cRetaMac := GetNetCardID() // esta es la func que lee el mac...IF VALTYPE(aMac) = "A" // hay varias tarjetas de red cRet := aMac[1] Else cRet := aMac // una sola t de redEndIfReturn(cRet)Salu2
saber la MAC de una placa.
Gracias a ambos.Funciono willi.[quote="Willi Quintana":2x56i7y9]Hola: Function GetMacAdd() local aMac, cRet aMac := GetNetCardID() // esta es la func que lee el mac... IF VALTYPE(aMac) = "A" // hay varias tarjetas de red cRet := aMac[1] Else cRet := aMac // una sola t de red EndIf Return(cRet) Salu2[/quote:2x56i7y9]
saber la MAC de una placa.
Gracias me salvaste la vida <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> [quote="Willi Quintana":17frhsxd]Hola: Function GetMacAdd() local aMac, cRet aMac := GetNetCardID() // esta es la func que lee el mac... IF VALTYPE(aMac) = "A" // hay varias tarjetas de red cRet := aMac[1] Else cRet := aMac // una sola t de red EndIf Return(cRet) Salu2[/quote:17frhsxd]
saber que get edito
Saludotes. Una que quiza es facil, pero no se como!!! Tengo una function Calc(), para llamar cuando tecleo F2 que es una calculadora, la cual el resultado me lo deja en ::nResultado y en la ediciones de datos tengo varios get's, alguno de ellos es numerico y estoy en ese get actualmente... como se desde mi funcion Calc() que get estoy editando, para asignarle el valor del resultado he intentado con: xGet:GetFocus() y no
saber que get edito
Noe: Podrías enviarle la variable del get a la función Calc() pasada por referencia, así podrás actualizar la variable del get que sea. Saludos
saber que get edito
Noé, puedes utilizar la clausula WHEN de los gets para fijar un valor y asi saber en que get estas WHEN ( nGet := n, .T.) y en función de nGet haces lo que necesitas, no se si habrá una solución mas elegante saludos Marcelo
saber que get edito
A ver si te sirve ésto que uso yo para mi calculadora. [code=fw:1m5k3sd1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> MiraCalc <span style="color: #000000;">&#40;</span>oDlg<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> nControl:=<span style="color: #000000;">0</span><br /><br />  <span style="color: #00C800;">For</span> nControl:=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span>odlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">If</span> oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span>nControl<span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lFocused</span> .AND. oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span>nControl<span style="color: #000000;">&#93;</span>:<span style="color: #000000;">ClassName</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>=<span style="color: #ff0000;">"TGET"</span><br />       oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span>nControl<span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cText</span>:=ResultadoCalculadora <span style="color: #000000;">&#40;</span>oDlg<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">Endif</span><br />  <span style="color: #00C800;">Next</span><br /><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>  </div>[/code:1m5k3sd1] Básicamente comprueba todos los controles del diálogo y si el que tiene el foco es un objeto TGET obtiene el resultado de la calculadora. Saludos,
saber que get edito
Hola Todo los get tiene un variable nId Aqui un Ejemplo de como usarlo con SETKEY [code=fw:1aymb536]<div class="fw" id="{CB}" style="font-family: monospace;">SetKey<span style="color: #000000;">&#40;</span> VK_F3, <span style="color: #000000;">&#123;</span> |handle, n, oGet| ;<br />            iif<span style="color: #000000;">&#40;</span> lok .and. oGet:<span style="color: #000000;">nID</span> = id_IDrutcli .and. <span style="color: #000000;">&#40;</span>alias_clientes<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> dbSeek<span style="color: #000000;">&#40;</span> oIng:<span style="color: #000000;">Rutcli</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#40;</span>lok:= .f., ABMCLIENTE<span style="color: #000000;">&#40;</span> , oIng:<span style="color: #000000;">RutCli</span>, <span style="color: #ff0000;">"M"</span> <span style="color: #000000;">&#41;</span>, lOk:= .t.<span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span>,;<br />            iif<span style="color: #000000;">&#40;</span> lok .and. oGet:<span style="color: #000000;">nID</span> = id_IDrutpara .and. <span style="color: #000000;">&#40;</span>alias_clientes<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span>dbSeek<span style="color: #000000;">&#40;</span>oIng:<span style="color: #000000;">rutpara</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#40;</span>lok:= .f., ABMCLIENTE<span style="color: #000000;">&#40;</span> , oIng:<span style="color: #000000;">rutpara</span>,<span style="color: #ff0000;">"M"</span> <span style="color: #000000;">&#41;</span>, lOk:= .t.<span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:1aymb536]
saber quién abrió un dbf de modo exclusivo
Hola ¿Es posible saber quién abrió un dbf en modo exclusivo?. Gracias <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
saber quién abrió un dbf de modo exclusivo
Por lógica es imposible... El Open de la dbf interroga los bloqueos de apertura del sistema operativo y no de quien lo ha bloqueado... Podrías crear tu propio DbfOpen que abra la dbf y guarde la información en otro fichero.
saber quién abrió un dbf de modo exclusivo
Hola. Gracias por responder. Pero creo que a nivel de SO algo hay. Por ejemplo, es posible saber quién está compartiendo una carpeta. Lo de la solución que propones la descarto por temas de cuelgues. Estoy buscando cómo hacerlo via SO. Gracias.
saber quién abrió un dbf de modo exclusivo
[quote="lucasdebeltran":2xlhsibu]Hola. Gracias por responder. Pero creo que a nivel de SO algo hay. Por ejemplo, es posible saber quién está compartiendo una carpeta. Lo de la solución que propones la descarto por temas de cuelgues. Estoy buscando cómo hacerlo via SO. Gracias.[/quote:2xlhsibu] Hola buenos dias Lucas, yo me daria a la idea de crear en un dbf adicional, de usuarios conectados en un servidor, y cuando el usuario se salga, ya no este en la lista de conectados, asi sabria quien usuario esta usando el sistema, y avisarle que se saliera, es una idea, con ListBox, o en XBrowse. Saludos y buen dia. Atte: Adrian C. C.
saber quién abrió un dbf de modo exclusivo
Hola. Existe el comando openfiles que muestra los archivos abiertos en una carpeta compartida.
saber quién abrió un dbf de modo exclusivo
Buen Dia. Lo que dice el compañero de crear una base de datos de los Usuarios conectados, esta bien yo lo hago asi, pero no se sabe que usuarios esta usando una tabla, a no ser que se cree una tabla dbf , con el nombre de las bases de datos, cuando se abre la table en modo exclusive se almacenaria el usuario que la tiene y tambien podria grabar la maquina es una alternativa. LA otra como dice el compañero , es a nivel de sistema operativo , esto si se puede, lo hice hace mucho tiempo no recuerdo el comando, pero si es factible en su tiempo lo hice con Windows NT.
saber quién abrió un dbf de modo exclusivo
Lucas, Si usas ADS ya sea en exclusivo o compartido, puedes saber la IP de quien la ha abierto.
saber si existe tabla desde ads remoto con diccionario
pues mi cuestion es la siguiente. Tengo una un diccionario ADS mediante el cual acceso a las tablas, pero quiero saber si existe una en especifico, pero a traves de funciones del ADS, debido a que el directorio esta oculto y los programas no accesan directamente a el sino a travez del servidor ADS (osea no tienen derechos ni de escritura ni de lectura a ese directorio, ni sikiera pueden visualizar el directorio) esto lo tengo montado en un Netware 6.0 no me sirve el file() puesto que este no solicita al servidor ADS que verifique la existencia de una tabla, sino que lo hace a travez del APi. Gracias por su atencion, y si estoy mal en algo corrijanme. Salu2
saber si existe tabla desde ads remoto con diccionario
Hola Prueba con AdsDirectory [code:1ein7acg] aRay &#58;= AdsDirectory&#40;&#41; for i &#58;= 1 to len&#40; aRay &#41; cDbf &#58;= Left&#40; aRay&#91;i&#93;, len&#40; aRay&#91;i&#93; &#41;-1 &#41; // prueba ya que al parecer siempre tiene un caracter de mas&#46;&#46;&#46; // blablabla next i[/code:1ein7acg]
saber si existe tabla desde ads remoto con diccionario
pues no me funciono, la funcion no existe y no la encuentro en ningun lugar, ni el la documentacion de advantage si es otra, porfavor, ya que esa es precisamente lo que requyiero, poder leer todas las tablas del diccionario y ver si existe las que requiero Salu2 y gracias
saber si existe tabla desde ads remoto con diccionario
Meskamas Esta funcion me funciona muy bien.. puede ser que te actualizes a la version xharbour mas reciente [code:h2c3f878]function test&#40;&#41; local aRay &#58;= AdsDirectory&#40;&#41;, i, cDbf for i &#58;= 1 to len&#40; aRay &#41; cDbf &#58;= Left&#40; aRay&#91;i&#93;, len&#40; aRay&#91;i&#93; &#41;-1 &#41; alert&#40; cDbf &#41; next i return &#46;t&#46; [/code:h2c3f878]
saber si existe tabla desde ads remoto con diccionario
Confirmado, la funcion existe y trabaja perfectamente. Supongo que estas trabajando con una version vieja de xHarbour. El RDDADS sufrio numerosos cambios en la version 99.x que soporta varias funciones adicionales, entre ellas las del diccionario de datos.
saber si existe tabla desde ads remoto con diccionario
Efectivamente es mi version de xharbour ahh y si me funciono de perlas la funcion, obvio adecuandola para lo ke rekiero Gracias
sacar el texto de los radio
hola, aqui tranado de sacar a una variable el texto del radio segun se vaya eligiendo REDEFINE RADIO oRad5 VAR aDato5[1] ID 101,102,103 OF oFld:aDialogs[5] WHEN !lAplicaComision ; ON CHANGE ( cSay5:=oRad5:aItems[ oRad5:nOption ]:cCaption,oSay5:Refresh() ) ya probe a usar oRad5:aItems[oRad5:nOption]:cMsg y tampoco me devuelve un valor en blanco salu2 paco
sacar el texto de los radio
Paco, Usa oRad5:aItems[ oRad5:nOption ]:GetText()
sacar el texto de los radio
enterado, gracias paco
sacar grafico a archivo jpg con tGraph
Hola a todos,Busque y buque mucho en el foro, pero no encontré nada de esto. Les va el requerimiento:Estoy haciendo aplicaciones web muy bien con xBScript en ASP. La aplicacion ahora necesita sacar graficos en la pagina, y no solo graficos de barras, sino de linea, punto, superpuestos, etc.He considerado hacer un ejecutable que se llame al momento de sacar la pagina, y que en FW con tGraph me genere el grafico, de acuerdo a mi configuracion, leyendo de mis BD, pero debo sacarlo a un archivo JPG para que luego se pueda mostrar en la pagina del usuario.He pensado en pasarle los parametros que requiero en tiempo de ejecución, y leerlos en el ejecutable con HB_aParams(), pero el problema es que no se como sacar el grafico a JPG. La clase tGraph tiene el metodo save2bmp, pero no a jpg, que es el estandard en HTML.¿Alguna idea?Abrazos,
sacar grafico a archivo jpg con tGraph
Hola Julio,Da-te una vuelta en fusioncharts ( <!-- m --><a class="postlink" href="http://www.fusioncharts.com/">http://www.fusioncharts.com/</a><!-- m --> ) y que tiene una versión free donde puedes generar tus graficos diretamente en tu html, pues son hechos con java script y que se pueden ponerlos facilmente en tu pagina web.Saludos,
sacar grafico a archivo jpg con tGraph
Gracias amigo, lo voy a ver.El problema es que tendria que mezclar xBScript con javascript, y aunque se que se puede, tengo que verlo.Abrazos y gracias,
safety
Hello, Can you pry out the "controller" from Genesis or find out how the "controller" works? Best regards, Otto
safety
Reading this answer between the lines I think it is save. Andreu'); DROP TABLE users; -- 14:24 Uhr I guess it's possible, I haven't looked into genesis with any depth But in the security industry, systems whose security depends on not knowing their internal workings are not considered to be secure at all. Security through obscurity is hardly any security. And by this I mean how a system works in general, I'm not talking about private keys, which must be secret by design.