topic
stringlengths
1
63
text
stringlengths
1
577k
copy protection
Now I 'am thinking to create a connection to my website from fwh application the procedure must ask to user the name and the user code and it must to control it into my website on my site I put a mdb with many record of all users is it a good Idea? How I can make i t ?
copy protection
Hello Silvio, how do you copy protect the mdb from download? Would you please be so kind to share this knowledge. Thanks in advance Otto
copy protection
Hi Silvo, The method I use is to generate a "reference" number on the users side (basically the hard drive serial number) The user gives me that number and I run it through my MakeKey() function to generate a "key". I give this key to the user and they enter it into a field in a config screen. I put code in my software to Verify this key against the reference number. If VerifyKey() returns "T" it is a valid install and the program runs. Otherwise the program stops. Here is my code for protecting my software: [code=fw:w2brvh1h]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><span style="color: #B900B9;">/* KeyGen<br />&nbsp; &nbsp;Developed by Jeff Barnes &nbsp;(<!-- e --><a href="mailto:jeff@can-soft.net">jeff@can-soft.net</a><!-- e -->)<br />&nbsp; &nbsp;Last Revised: March 18 2004<br /><br /><br />&nbsp; &nbsp;MakeKey(nKey, nLicense) &nbsp; &nbsp; //Returns cKey<br />&nbsp; &nbsp;nKey = any numeric value (your "secret" password)<br />&nbsp; &nbsp;nLicense = Number of licenses to be allowed<br />&nbsp; &nbsp;<br /><br />&nbsp; &nbsp;MakeKey() &nbsp; &nbsp; &nbsp;//Returns cKey<br />&nbsp; &nbsp;This will ask for nKey, nSerial and nLicense<br /><br />&nbsp; &nbsp;VerifyKey(nKey, nLicense, cKey) &nbsp; //Retruns logical .t. or .f.<br />&nbsp; &nbsp;nKey = numeric value -must be same number as used in MakeKey()<br />&nbsp; &nbsp;nLicense = numeric value -must be same number as used in MakeKey()<br />&nbsp; &nbsp;cKey = The Key to be verified -generated from MakeKey()<br /><br />&nbsp; &nbsp;GetLicense(nKey, cStored) &nbsp; //Returns nLicense<br />&nbsp; &nbsp;nKey = numeric value -must be same number as used in MakeKey()<br />&nbsp; &nbsp;cStored = the key returned by MakeKey()<br /><br />&nbsp; &nbsp;GetSecretKey( nSerial, cKey ) //Returns Secret Key<br />&nbsp; &nbsp;nSerial = serial number of hard drive ( nSerialHD )<br />&nbsp; &nbsp;cKey = The ket returned by MakeKey()<br /><br />*/</span><br /><br /><span style="color: #00C800;">Static</span> cStored, cKey, nSerial, oKeyGen<br /><br /><span style="color: #00C800;">Function</span> MakeKey<span style="color: #000000;">&#40;</span>nKey,nLicense,lGetSecretKey, nSerial2<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> nTotal1:=<span style="color: #000000;">0</span>, nTotal2:=<span style="color: #000000;">1</span>,nTotal3:=<span style="color: #000000;">0</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cDigit, i, lVisable:=.f.<br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cHash1:=<span style="color: #000000;">0</span>, cHash2:=<span style="color: #000000;">0</span>, cHash3:=<span style="color: #000000;">0</span>, cHash4:=<span style="color: #000000;">0</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cKey:=<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> nCount:=<span style="color: #000000;">0</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> nSerial:=nSerialHD<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oClp<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> Empty<span style="color: #000000;">&#40;</span>lGetSecretKey<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; lGetSecretKey := .f.<br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; nSerial := nSerial2<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> Empty<span style="color: #000000;">&#40;</span>nLicense<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; nLicense:=<span style="color: #000000;">1</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> Empty<span style="color: #000000;">&#40;</span>nKey<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; lVisable:=.t.<br />&nbsp; &nbsp; &nbsp; nKey:=<span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; nSerial:=<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; MsgGet<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Key Generator"</span>,<span style="color: #ff0000;">"Enter Key: "</span>,@nKey<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; MsgGet<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Key Generator"</span>,<span style="color: #ff0000;">"Enter Serial Number: "</span>,@nSerial<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; MsgGet<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Key Generator"</span>,<span style="color: #ff0000;">"Number of Licenses: "</span>,@nLicense<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;nCount:=len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">For</span> i = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nCount<span style="color: #000000;">+1</span><br />&nbsp; &nbsp; &nbsp; &nbsp;cDigit := <span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span> alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> ,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;nTotal1:=nTotal1+val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span><><span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nTotal2:=nTotal2*val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp;nTotal3:=nTotal3+<span style="color: #000000;">&#40;</span>val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span>*nCount<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Next</span><br />&nbsp; &nbsp;cHash1:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nTotal1*nCount+nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;cHash2:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nTotal2*nCount+nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;cHash3:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nTotal3*nCount-nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;cHash4:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nLicense*nCount*nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;cKey:= cHash1+<span style="color: #ff0000;">"-"</span>+cHash2+<span style="color: #ff0000;">"-"</span>+cHash3+<span style="color: #ff0000;">"-"</span>+cHash4<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> lVisable<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Serial Number: "</span>+str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span>+CRLF+<span style="color: #ff0000;">"Key: "</span>+cKey,<span style="color: #ff0000;">"Key Generator"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">Define</span> <span style="color: #0000ff;">Window</span> oKeyGen <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">Define</span> CLIPBOARD oClp <span style="color: #0000ff;">of</span> oKeyGen<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">Activate</span> CLIPBOARD oClp<br />&nbsp; &nbsp; &nbsp; oClp:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Serial Number: "</span>+str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span>+CRLF+<span style="color: #ff0000;">"Key: "</span>+cKey+CRLF+<span style="color: #ff0000;">"Licenses: "</span>+str<span style="color: #000000;">&#40;</span>nLicense<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"The KEY has been copied to the clipboard"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">Activate</span> <span style="color: #0000ff;">Window</span> oKeyGen <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">init</span> oKeyGen:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Endif</span><br /><span style="color: #00C800;">Return</span> cKey<br /><br /><br /><br /><span style="color: #00C800;">Function</span> VerifyKey<span style="color: #000000;">&#40;</span>nKey,cStored<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">If</span> Empty<span style="color: #000000;">&#40;</span>nKey<span style="color: #000000;">&#41;</span> .or. Empty<span style="color: #000000;">&#40;</span>cStored<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"A value is missing for VerifyKey()"</span>,<span style="color: #ff0000;">"KeyGen Error"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">Return</span> .f.<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">If</span> MakeKey<span style="color: #000000;">&#40;</span>nKey,GetLicense<span style="color: #000000;">&#40;</span>nKey,cStored<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> = cStored<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">Return</span> .t.<br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">Return</span> .f.<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />&nbsp; &nbsp;<br /><span style="color: #00C800;">Function</span> GetLicense<span style="color: #000000;">&#40;</span>nKey,cStored<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> nLicense, i, j:=<span style="color: #000000;">0</span>, cHash4:=<span style="color: #ff0000;">""</span>, nCount<br />&nbsp; &nbsp;<span style="color: #00C800;">If</span> Empty<span style="color: #000000;">&#40;</span>nKey<span style="color: #000000;">&#41;</span> .or. Empty<span style="color: #000000;">&#40;</span>cStored<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"A value is missing for GetLicense()"</span>,<span style="color: #ff0000;">"KeyGen Error"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;nCount:=Len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cStored<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">for</span> i = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nCount<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cStored,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>=<span style="color: #ff0000;">"-"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; j=j<span style="color: #000000;">+1</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> j=<span style="color: #000000;">3</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cStored,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><><span style="color: #ff0000;">"-"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cHash4:=cHash4+<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cStored,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">next</span><br />&nbsp; &nbsp;nLicense:=val<span style="color: #000000;">&#40;</span>cHash4<span style="color: #000000;">&#41;</span>/nkey/ <span style="color: #000000;">&#40;</span> len<span style="color: #000000;">&#40;</span> alltrim<span style="color: #000000;">&#40;</span> STR<span style="color: #000000;">&#40;</span> nSerialHD<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> nLicense<br /><br /><br /><span style="color: #00C800;">Function</span> GetSecretKey<span style="color: #000000;">&#40;</span> nSerial, cKey <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cSecret<br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> empty<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"You MUST supply a Hard Drive Serial Number"</span>,<span style="color: #ff0000;">"ERROR"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; Quit<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> empty<span style="color: #000000;">&#40;</span>cKey<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"You MUST supply a Key [ made by MakeKey() ]"</span>,<span style="color: #ff0000;">"ERROR"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; Quit<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oKeyGen <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">5</span>,<span style="color: #000000;">35</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Key Generator"</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oKeyGen <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">INIT</span> cSecret:=DoSecret<span style="color: #000000;">&#40;</span> nSerial, cKey <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Return</span> cSecret<br /><br /><span style="color: #00C800;">Function</span> DoSecret<span style="color: #000000;">&#40;</span> nSerial, cKey <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> nSecret := <span style="color: #000000;">0</span>, lSearching := .t., nCount, i:=<span style="color: #000000;">0</span>, j<br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cGetKey, cTempKey:=<span style="color: #ff0000;">""</span>, cTemp:=<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cHash1:=<span style="color: #ff0000;">""</span>, cHash2:=<span style="color: #ff0000;">""</span>, cHash3:=<span style="color: #ff0000;">""</span>, cHash4:=<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cGetHash1:=<span style="color: #ff0000;">""</span>, cGetHash2:=<span style="color: #ff0000;">""</span>, cGetHash3:=<span style="color: #ff0000;">""</span>, cGetHash4:=<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> oSay<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> ! MsgYesNo<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"This may take a LONG TIME to run, Continue?"</span>,<span style="color: #ff0000;">"Find Secret Key"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; Quit<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">FOR</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span>trim<span style="color: #000000;">&#40;</span>cKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; i++<br />&nbsp; &nbsp; &nbsp; cTemp := <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span> cKey, i, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cTempKey = cTempKey + cTemp<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> cTemp = <span style="color: #ff0000;">"-"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> EMPTY<span style="color: #000000;">&#40;</span> cHash1 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cHash1:=<span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> cTempKey,len<span style="color: #000000;">&#40;</span> trim<span style="color: #000000;">&#40;</span> cTempKey <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cTempKey:=<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loop<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> EMPTY<span style="color: #000000;">&#40;</span> cHash2 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cHash2:=<span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> cTempKey,len<span style="color: #000000;">&#40;</span> trim<span style="color: #000000;">&#40;</span> cTempKey <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cTempKey:=<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loop<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> EMPTY<span style="color: #000000;">&#40;</span> cHash3 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cHash3:=<span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> cTempKey,len<span style="color: #000000;">&#40;</span> trim<span style="color: #000000;">&#40;</span> cTempKey <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cTempKey:=<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loop<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br /><br />&nbsp; &nbsp;lSearching := .t.<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> lSearching<br />&nbsp; &nbsp; &nbsp; i++<br />&nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">1</span>,<span style="color: #000000;">1</span> <span style="color: #0000ff;">SAY</span> <span style="color: #ff0000;">"Working..."</span>+STR<span style="color: #000000;">&#40;</span>i<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">of</span> oKeyGen <span style="color: #0000ff;">COLOR</span> <span style="color: #ff0000;">"R+/W"</span> <br />&nbsp; &nbsp; &nbsp; SysWait<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cGetKey := MakeKey<span style="color: #000000;">&#40;</span> i, <span style="color: #000000;">5</span>, .t., nSerial <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cGetHash1:=<span style="color: #0000ff;">left</span><span style="color: #000000;">&#40;</span>cGetKey,len<span style="color: #000000;">&#40;</span>cHash1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cGetHash2:=<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cGetKey,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">+2</span>,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash2<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cGetHash3:=<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cGetKey,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>+len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash2<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">+3</span>,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash3<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> cHash1=cGetHash1 .and. cHash2=cGetHash2 .and. cHash3=cGetHash3<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ <span style="color: #000000;">1</span>,<span style="color: #000000;">1</span> <span style="color: #0000ff;">SAY</span> <span style="color: #ff0000;">"Done....................."</span> <span style="color: #0000ff;">of</span> oKeyGen <span style="color: #0000ff;">COLOR</span> <span style="color: #ff0000;">"R/w"</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SysWait<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"You Secret Key is: "</span>+STR<span style="color: #000000;">&#40;</span>i<span style="color: #000000;">&#41;</span>,<span style="color: #ff0000;">"Secret Key Finder"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oKeyGen:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lSearching := .f.<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDDO</span><br /><span style="color: #00C800;">Return</span> i<br /><br />&nbsp;</div>[/code:w2brvh1h] I hope this helps.
copy protection
[quote="Silvio":770n55zf]Now I 'am thinking to create a connection to my website from fwh application the procedure must ask to user the name and the user code and it must to control it into my website on my site I put a mdb with many record of all users is it a good Idea?[/quote:770n55zf] Dear Silvio, is not a good idea! Because if I copy from you the program I copy also the "user name" and "user code"! And your site control that "USER" and "CODE" is right! At this point my copy is not legal but work perfectly. Is more secure one of the suggestions of our friends in this thread.
copy protection
I read anywhere to use HD size + HD serial because each HD have a little difference of size and it will give a secure protection to your .exe's, modify the MAC is too simple and some clients can give trouble because they could need to change it... so I don't recommend use it...
copy protection
[quote="Jeff Barnes":1a5hxsit]Hi Silvo, The method I use is to generate a "reference" number on the users side (basically the hard drive serial number) The user gives me that number and I run it through my MakeKey() function to generate a "key". I give this key to the user and they enter it into a field in a config screen. I put code in my software to Verify this key against the reference number. If VerifyKey() returns "T" it is a valid install and the program runs. Otherwise the program stops. Here is my code for protecting my software: [code=fw:1a5hxsit]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><span style="color: #B900B9;">/* KeyGen<br />   Developed by Jeff Barnes  (<!-- e --><a href="mailto:jeff@can-soft.net">jeff@can-soft.net</a><!-- e -->)<br />   Last Revised: March 18 2004<br /><br /><br />   MakeKey(nKey, nLicense)     //Returns cKey<br />   nKey = any numeric value (your "secret" password)<br />   nLicense = Number of licenses to be allowed<br />   <br /><br />   MakeKey()      //Returns cKey<br />   This will ask for nKey, nSerial and nLicense<br /><br />   VerifyKey(nKey, nLicense, cKey)   //Retruns logical .t. or .f.<br />   nKey = numeric value -must be same number as used in MakeKey()<br />   nLicense = numeric value -must be same number as used in MakeKey()<br />   cKey = The Key to be verified -generated from MakeKey()<br /><br />   GetLicense(nKey, cStored)   //Returns nLicense<br />   nKey = numeric value -must be same number as used in MakeKey()<br />   cStored = the key returned by MakeKey()<br /><br />   GetSecretKey( nSerial, cKey ) //Returns Secret Key<br />   nSerial = serial number of hard drive ( nSerialHD )<br />   cKey = The ket returned by MakeKey()<br /><br />*/</span><br /><br /><span style="color: #00C800;">Static</span> cStored, cKey, nSerial, oKeyGen<br /><br /><span style="color: #00C800;">Function</span> MakeKey<span style="color: #000000;">&#40;</span>nKey,nLicense,lGetSecretKey, nSerial2<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> nTotal1:=<span style="color: #000000;">0</span>, nTotal2:=<span style="color: #000000;">1</span>,nTotal3:=<span style="color: #000000;">0</span><br />   <span style="color: #00C800;">Local</span> cDigit, i, lVisable:=.f.<br />   <span style="color: #00C800;">Local</span> cHash1:=<span style="color: #000000;">0</span>, cHash2:=<span style="color: #000000;">0</span>, cHash3:=<span style="color: #000000;">0</span>, cHash4:=<span style="color: #000000;">0</span><br />   <span style="color: #00C800;">Local</span> cKey:=<span style="color: #ff0000;">""</span><br />   <span style="color: #00C800;">Local</span> nCount:=<span style="color: #000000;">0</span><br />   <span style="color: #00C800;">Local</span> nSerial:=nSerialHD<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oClp<br /><br />   <span style="color: #00C800;">IF</span> Empty<span style="color: #000000;">&#40;</span>lGetSecretKey<span style="color: #000000;">&#41;</span><br />      lGetSecretKey := .f.<br />   <span style="color: #00C800;">ELSE</span><br />      nSerial := nSerial2<br />   <span style="color: #00C800;">ENDIF</span><br /><br />   <span style="color: #00C800;">if</span> Empty<span style="color: #000000;">&#40;</span>nLicense<span style="color: #000000;">&#41;</span><br />      nLicense:=<span style="color: #000000;">1</span><br />   <span style="color: #00C800;">endif</span><br /><br />   <span style="color: #00C800;">if</span> Empty<span style="color: #000000;">&#40;</span>nKey<span style="color: #000000;">&#41;</span><br />      lVisable:=.t.<br />      nKey:=<span style="color: #000000;">1</span><br />      nSerial:=<span style="color: #000000;">0</span><br />      MsgGet<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Key Generator"</span>,<span style="color: #ff0000;">"Enter Key: "</span>,@nKey<span style="color: #000000;">&#41;</span><br />      MsgGet<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Key Generator"</span>,<span style="color: #ff0000;">"Enter Serial Number: "</span>,@nSerial<span style="color: #000000;">&#41;</span><br />      MsgGet<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Key Generator"</span>,<span style="color: #ff0000;">"Number of Licenses: "</span>,@nLicense<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">endif</span><br />   nCount:=len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">For</span> i = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nCount<span style="color: #000000;">+1</span><br />       cDigit := <span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span> alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> ,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br />       nTotal1:=nTotal1+val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span><br />       <span style="color: #00C800;">if</span> val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span><><span style="color: #000000;">0</span><br />          nTotal2:=nTotal2*val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span><br />       <span style="color: #00C800;">endif</span><br />       nTotal3:=nTotal3+<span style="color: #000000;">&#40;</span>val<span style="color: #000000;">&#40;</span>cDigit<span style="color: #000000;">&#41;</span>*nCount<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Next</span><br />   cHash1:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nTotal1*nCount+nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   cHash2:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nTotal2*nCount+nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   cHash3:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nTotal3*nCount-nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   cHash4:=alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nLicense*nCount*nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />   cKey:= cHash1+<span style="color: #ff0000;">"-"</span>+cHash2+<span style="color: #ff0000;">"-"</span>+cHash3+<span style="color: #ff0000;">"-"</span>+cHash4<br />   <br />   <span style="color: #00C800;">IF</span> lVisable<br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Serial Number: "</span>+str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span>+CRLF+<span style="color: #ff0000;">"Key: "</span>+cKey,<span style="color: #ff0000;">"Key Generator"</span><span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">Define</span> <span style="color: #0000ff;">Window</span> oKeyGen <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><br />      <span style="color: #0000ff;">Define</span> CLIPBOARD oClp <span style="color: #0000ff;">of</span> oKeyGen<br />      <span style="color: #0000ff;">Activate</span> CLIPBOARD oClp<br />      oClp:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Serial Number: "</span>+str<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span>+CRLF+<span style="color: #ff0000;">"Key: "</span>+cKey+CRLF+<span style="color: #ff0000;">"Licenses: "</span>+str<span style="color: #000000;">&#40;</span>nLicense<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"The KEY has been copied to the clipboard"</span><span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">Activate</span> <span style="color: #0000ff;">Window</span> oKeyGen <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">init</span> oKeyGen:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Endif</span><br /><span style="color: #00C800;">Return</span> cKey<br /><br /><br /><br /><span style="color: #00C800;">Function</span> VerifyKey<span style="color: #000000;">&#40;</span>nKey,cStored<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">If</span> Empty<span style="color: #000000;">&#40;</span>nKey<span style="color: #000000;">&#41;</span> .or. Empty<span style="color: #000000;">&#40;</span>cStored<span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"A value is missing for VerifyKey()"</span>,<span style="color: #ff0000;">"KeyGen Error"</span><span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">Return</span> .f.<br />   <span style="color: #00C800;">endif</span><br />   <span style="color: #00C800;">If</span> MakeKey<span style="color: #000000;">&#40;</span>nKey,GetLicense<span style="color: #000000;">&#40;</span>nKey,cStored<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> = cStored<br />      <span style="color: #00C800;">Return</span> .t.<br />   <span style="color: #00C800;">else</span><br />      <span style="color: #00C800;">Return</span> .f.<br />   <span style="color: #00C800;">endif</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />   <br /><span style="color: #00C800;">Function</span> GetLicense<span style="color: #000000;">&#40;</span>nKey,cStored<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> nLicense, i, j:=<span style="color: #000000;">0</span>, cHash4:=<span style="color: #ff0000;">""</span>, nCount<br />   <span style="color: #00C800;">If</span> Empty<span style="color: #000000;">&#40;</span>nKey<span style="color: #000000;">&#41;</span> .or. Empty<span style="color: #000000;">&#40;</span>cStored<span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"A value is missing for GetLicense()"</span>,<span style="color: #ff0000;">"KeyGen Error"</span><span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br />   <span style="color: #00C800;">endif</span><br /><br />   nCount:=Len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cStored<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">for</span> i = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nCount<br />       <span style="color: #00C800;">if</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cStored,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>=<span style="color: #ff0000;">"-"</span><br />          j=j<span style="color: #000000;">+1</span><br />       <span style="color: #00C800;">endif</span><br />       <span style="color: #00C800;">if</span> j=<span style="color: #000000;">3</span><br />           <span style="color: #00C800;">if</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cStored,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><><span style="color: #ff0000;">"-"</span>           <br />             cHash4:=cHash4+<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cStored,i,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br />           <span style="color: #00C800;">endif</span><br />       <span style="color: #00C800;">endif</span><br />   <span style="color: #00C800;">next</span><br />   nLicense:=val<span style="color: #000000;">&#40;</span>cHash4<span style="color: #000000;">&#41;</span>/nkey/ <span style="color: #000000;">&#40;</span> len<span style="color: #000000;">&#40;</span> alltrim<span style="color: #000000;">&#40;</span> STR<span style="color: #000000;">&#40;</span> nSerialHD<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> nLicense<br /><br /><br /><span style="color: #00C800;">Function</span> GetSecretKey<span style="color: #000000;">&#40;</span> nSerial, cKey <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> cSecret<br />   <span style="color: #00C800;">if</span> empty<span style="color: #000000;">&#40;</span>nSerial<span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"You MUST supply a Hard Drive Serial Number"</span>,<span style="color: #ff0000;">"ERROR"</span><span style="color: #000000;">&#41;</span><br />      Quit<br />   <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">if</span> empty<span style="color: #000000;">&#40;</span>cKey<span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"You MUST supply a Key [ made by MakeKey() ]"</span>,<span style="color: #ff0000;">"ERROR"</span><span style="color: #000000;">&#41;</span><br />      Quit<br />   <span style="color: #00C800;">ENDIF</span><br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oKeyGen <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">5</span>,<span style="color: #000000;">35</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Key Generator"</span><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oKeyGen <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">INIT</span> cSecret:=DoSecret<span style="color: #000000;">&#40;</span> nSerial, cKey <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Return</span> cSecret<br /><br /><span style="color: #00C800;">Function</span> DoSecret<span style="color: #000000;">&#40;</span> nSerial, cKey <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> nSecret := <span style="color: #000000;">0</span>, lSearching := .t., nCount, i:=<span style="color: #000000;">0</span>, j<br />   <span style="color: #00C800;">Local</span> cGetKey, cTempKey:=<span style="color: #ff0000;">""</span>, cTemp:=<span style="color: #ff0000;">""</span><br />   <span style="color: #00C800;">Local</span> cHash1:=<span style="color: #ff0000;">""</span>, cHash2:=<span style="color: #ff0000;">""</span>, cHash3:=<span style="color: #ff0000;">""</span>, cHash4:=<span style="color: #ff0000;">""</span><br />   <span style="color: #00C800;">Local</span> cGetHash1:=<span style="color: #ff0000;">""</span>, cGetHash2:=<span style="color: #ff0000;">""</span>, cGetHash3:=<span style="color: #ff0000;">""</span>, cGetHash4:=<span style="color: #ff0000;">""</span><br />   <span style="color: #00C800;">Local</span> oSay<br /><br />   <span style="color: #00C800;">IF</span> ! MsgYesNo<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"This may take a LONG TIME to run, Continue?"</span>,<span style="color: #ff0000;">"Find Secret Key"</span><span style="color: #000000;">&#41;</span><br />      Quit<br />   <span style="color: #00C800;">ENDIF</span><br /><br />   <span style="color: #00C800;">FOR</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span>trim<span style="color: #000000;">&#40;</span>cKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />      i++<br />      cTemp := <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span> cKey, i, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />      cTempKey = cTempKey + cTemp<br />      <span style="color: #00C800;">IF</span> cTemp = <span style="color: #ff0000;">"-"</span><br />         <span style="color: #00C800;">if</span> EMPTY<span style="color: #000000;">&#40;</span> cHash1 <span style="color: #000000;">&#41;</span><br />            cHash1:=<span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> cTempKey,len<span style="color: #000000;">&#40;</span> trim<span style="color: #000000;">&#40;</span> cTempKey <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span><br />            cTempKey:=<span style="color: #ff0000;">""</span><br />            loop<br />         <span style="color: #00C800;">endif</span><br />         <span style="color: #00C800;">if</span> EMPTY<span style="color: #000000;">&#40;</span> cHash2 <span style="color: #000000;">&#41;</span><br />            cHash2:=<span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> cTempKey,len<span style="color: #000000;">&#40;</span> trim<span style="color: #000000;">&#40;</span> cTempKey <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span><br />            cTempKey:=<span style="color: #ff0000;">""</span><br />            loop<br />         <span style="color: #00C800;">endif</span><br />         <span style="color: #00C800;">if</span> EMPTY<span style="color: #000000;">&#40;</span> cHash3 <span style="color: #000000;">&#41;</span><br />            cHash3:=<span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> cTempKey,len<span style="color: #000000;">&#40;</span> trim<span style="color: #000000;">&#40;</span> cTempKey <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span><br />            cTempKey:=<span style="color: #ff0000;">""</span><br />            loop<br />         <span style="color: #00C800;">endif</span><br />      <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">NEXT</span><br /><br />   lSearching := .t.<br /><br />   <span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> lSearching<br />      i++<br />      @ <span style="color: #000000;">1</span>,<span style="color: #000000;">1</span> <span style="color: #0000ff;">SAY</span> <span style="color: #ff0000;">"Working..."</span>+STR<span style="color: #000000;">&#40;</span>i<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">of</span> oKeyGen <span style="color: #0000ff;">COLOR</span> <span style="color: #ff0000;">"R+/W"</span> <br />      SysWait<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      cGetKey := MakeKey<span style="color: #000000;">&#40;</span> i, <span style="color: #000000;">5</span>, .t., nSerial <span style="color: #000000;">&#41;</span><br />      cGetHash1:=<span style="color: #0000ff;">left</span><span style="color: #000000;">&#40;</span>cGetKey,len<span style="color: #000000;">&#40;</span>cHash1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />      cGetHash2:=<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cGetKey,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">+2</span>,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash2<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />      cGetHash3:=<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>cGetKey,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>+len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash2<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">+3</span>,len<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>cHash3<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />      <span style="color: #00C800;">if</span> cHash1=cGetHash1 .and. cHash2=cGetHash2 .and. cHash3=cGetHash3<br />         @ <span style="color: #000000;">1</span>,<span style="color: #000000;">1</span> <span style="color: #0000ff;">SAY</span> <span style="color: #ff0000;">"Done....................."</span> <span style="color: #0000ff;">of</span> oKeyGen <span style="color: #0000ff;">COLOR</span> <span style="color: #ff0000;">"R/w"</span> <br />         SysWait<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />         <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"You Secret Key is: "</span>+STR<span style="color: #000000;">&#40;</span>i<span style="color: #000000;">&#41;</span>,<span style="color: #ff0000;">"Secret Key Finder"</span><span style="color: #000000;">&#41;</span><br />         oKeyGen:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />         lSearching := .f.<br />      <span style="color: #00C800;">endif</span><br />   <span style="color: #00C800;">ENDDO</span><br /><span style="color: #00C800;">Return</span> i<br /><br /> </div>[/code:1a5hxsit] I hope this helps.[/quote:1a5hxsit] Jeff I have problem with msgget please see this topic <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=22216">viewtopic.php?f=3&t=22216</a><!-- l -->
copy records from excel and
[size=150:hnvytiab]past them to an xtbrowse. Is there code available on copy ctrl_c records from xcel and pasting to an xtbrowse?[/size:hnvytiab]
copy records from excel and
yes Set oBrw:lCanpaste := .t. Then copy from excel and then press Ctrl-V in the xbrowse. Please make sure the cells datatypes match. You can copy blocks of cells also
copy records from excel and
Thanks for the help. Always appreciated
copy some files
I have a larray of files ( afiles) I must copy these files on new folder sample .\doc and rename his name adding a string before his name sample "0007--" wish is the comand to copy these file into new folder ? thanks
copy some files
Look, \samples\DLGFILE.PRG Regards,
copy some files from tablet
Friends, Someone have a easy routine to copy files ( dbf) from a tablet VIA USB into computer and viceversa ? thanks
copy some files from tablet
Check out GoodSync It is for far more than what you want, but it does a great job and is very low cost ( $ 29.95 usd ) I use it for backups to multiple drives, but it can do sync between the cloud, other devices, etc. It has timers and you can have multiple routines. So, you can set it to do a daily backup to one drive and hourly backups of changed data to another, and sync between devices. It's great software, maintained and updated steadily. <!-- m --><a class="postlink" href="https://www.goodsync.com/">https://www.goodsync.com/</a><!-- m -->
copy some files from tablet
I mean from fwh application please
copy some files from tablet
Silvio, if tablet is android, yo can install this app <!-- m --><a class="postlink" href="https://play.google.com/store/apps/details?id=com.icecoldapps.sambaserver&hl=es">https://play.google.com/store/apps/deta ... rver&hl=es</a><!-- m --> and shared a folder, in pc you can write backup routines (.bat or .exe) for manage files in this folder. salu2 carlos vargas
copy some files from tablet
the tablet is on Window 10 I must use the routine to copy a dbf from and to tablet on the morning I must set the dbf into tablet and on the evening I must download dbf from tablet to pc
copy some files from tablet
I want Know why this function ( samples folder of fwh) not run good because I cannot set the drive I not Know wich is the drive if id e or f or g or h function Main() CopyFiles( { "..\..\..\lib\five.lib", "..\..\..\lib\fivec.lib", "..\..\..\lib\winapi.lib" },; { "..\..\..\lib\five.bak", "..\..\..\lib\fivec.bak", "..\..\..\lib\winapi.bak" } ) return nil
copy some files from tablet
Look \samples\INSTALL.PRG If it helps.
copy some files from tablet
Silvio, [quote:321p1s0n]I not Know wich is the drive if id e or f or g or h [/quote:321p1s0n] Maybe you can use the file() function to check for the existance of a drive. [code=fw:321p1s0n]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />   <span style="color: #00C800;">case</span> file<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"e:<span style="color: #000000;">\.</span>.<span style="color: #000000;">\.</span>.<span style="color: #000000;">\l</span>ib<span style="color: #000000;">\f</span>ivec.bak"</span><span style="color: #000000;">&#41;</span><br />      cDrive:=<span style="color: #ff0000;">"e:"</span><br /> </div>[/code:321p1s0n] James
copy some files from tablet
if there are two tablets linked and have different drive and the name of dbf is the same but one tablet is for one bus and the other for another bus the situation is too hard to make . I must think how make it
copy some files from tablet
Silvio, That is why I suggested a separate utility. I have many folders that contain files with the same name, and I have to auto sync them with multiple devices. The GoodSync program I suggested does all of that, automatically, always syncing across any file that changed, and it is very fast. It all runs automatically and it never fails. All of this for $ 29.95 usd. It simply was not worth my time to build something. Tim
copy some files from tablet
thanks tim.... but I suggest to make an function to acquire the dbf from tablet directly from fwh app If I used the app I could use your goodsync utility but there is another people use my application and he want load the archive directly from my app
copy some files from tablet
I appreciate that, but you could also recommend he consider the program I mentioned. It will do so much more for him. In addition to your data files, and documents he creates, pictures he takes, etc... can all be synced across multiple devices, and each one can have it's own profile. I know this doesn't answer your question. The problem I see is that devices may be difficult to find when plugged into a network or computer. We have so many types, and they may all be seen in different ways. Here is another consideration. You will need two controls ... one to copy to the device(s) and one to copy from them. If you trigger these from buttons, consider this: The user presses the button to copy the files from the desktop to the tablet. Then the user goes out and does work all day, updating the file on the tablet. Finally, the user comes back to the office, and accidently hits the button to copy the files from the desktop to the tablet. Now all of the day's work is lost .... The GoodSync program eliminates this because it always transfers the latest file. Also, it can be set to perform this automatically, so no button needs to be pushed. I appreciate what you would like to do, but the user may want to consider an immediate, alternate, solution because the cost is so low. I think you can even get them a free trial. Tim
copy to file.txt sdf recorta 0 de adelant de campo tipo c
AMigos Tengo una base de datos q debo pasar a archivo de texto tengo un campo nume_orden caractre de 6 tengo un dato 01079 al momento de pasar al archivo de texto pasa 1079 osea no pasa el 0 de adelante y clipper si lo hacia copy to file.txt sdf recorta 0 de adelante de campo tipo caracter en le archivo de texto q genera la funcion _dbsdf( que tendra algun parametro para evitar esto o alguien sabe de como hacer esto Gracias por la ayuda Vladimir Zorrilla Llerena
copy to file.txt sdf recorta 0 de adelant de campo tipo c
Vlademir, A mi me funciona perfectamente: USE CLIENTES COPY TO PEPE SDF CLOSE
copy to losing path directory
Antonio A bug has been introduced in the latest xharbour version downloaded from fivetech's site, very ennoying bug if you have your app set this way ex : Z:\myapp.exe (only in this case drive mapping to the directory) mynewtest := "test2" use mytest copy to test2 for ..... you will have a file \\mytest2.dbf generated !!!! the current drive information is lost and you get an error Error description: (Error 123) DBFCDX/1004 Create error: \\test2.dbf Stack Calls =========== Called from: => __DBCOPY(0) As i have many customers complaining and many programs using copy to syntax, i have reverted to previous xharbour version, HTH Richard
copy to losing path directory
Might be related to [url=http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=19007:3p5erh52]this bug[/url:3p5erh52] and it happens even if the source from CVS was used.
copy/paste from listbox to Excel sheet
Can I remark (shift+cursor down) certain listbox records and copy them and paste them to Excel sheet ? Adviced URLs of Antonio did not help me . They have rather help to get records from dbf direct but my question how to get them from listbox and paste them to Excel sheet?
copyfile... no entiendo.
Hola. Quiero copiar un archivo de 100 kb de una carpeta a otra [code=fw:18fopv87]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; copyfile<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"d:<span style="color: #000000;">\d</span>atos<span style="color: #000000;">\t</span>btabla.MYD"</span>, <span style="color: #ff0000;">"z:<span style="color: #000000;">\a</span>"</span> <span style="color: #000000;">&#41;</span></div>[/code:18fopv87] y reviso la carpeta "a" y no tiene nada. no entiendo que esta pasando , el archivo origen ("d:\datos\tbtabla.myd") existe.
copyfile... no entiendo.
Hola, ¿No habrá que poner el nombre fichero destino? copyfile( "d:\datos\tbtabla.MYD", "z:\a\tbtabla.MYD" )
copyfile... no entiendo.
ya probé de esa manera y tampoco. Hy no es mi dia para programar evidentemente...
copyfile... no entiendo.
Un posible problema es el destino que especificas "a". Si por ejemplo existe una carpeta llamada "a" no te va a crear el archivo. Prueba con otro nombre de archivo o prueba a ver si existe la carpeta "a" en destino. En esos casos, antes de caer en locura, en bueno ver qué devuelve el FError()... También comprueba si CopyFile() devuelve algún resultado.
copyfile... no entiendo.
[url:3kop07uo]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=22207[/url:3kop07uo]
copyfile... no entiendo.
Mira también, \samples\DLGFILE.PRG Salu2
copyfile... no entiendo.
Goos; probe con este sample (son de unos samples que baje, hace bastante, de la pagina de xHarbour(org) ). Lo compile con Harbour (presupongo que con xHarblur anda), y copió Ok [code=fw:zs2zosz4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br />procedure main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">local</span> nBytes := <span style="color: #000000;">0</span><br /><br />   ? <span style="color: #ff0000;">"comenzamos"</span><br />   __copyfile<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"..<span style="color: #000000;">\t</span>Explore.exe"</span>, <span style="color: #ff0000;">"d:<span style="color: #000000;">\a</span><span style="color: #000000;">\t</span>Explore.exe"</span>, <span style="color: #B900B9;">/*{|n| ( nBytes += n, QOut("Bytes copied:",nBytes)}*/</span>  <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// 3 Parametro comentado</span><br />   ? <span style="color: #ff0000;">"terminamos"</span><br /><span style="color: #00C800;">return</span></div>[/code:zs2zosz4]
copyfile... no entiendo.
si MArio. Gracias. Tengo problemas al generar el exe y postie para ver que me dice Antonio, porque hacia modificaciones chicas de las pruebas que hacia y no obtenia resultados, asi como me dijiste anduvo desde el principio pero mi aplicacion no contemplaba el cambio del SOURCE y es por eso que no me copiaba. gracias.
copyfile... no entiendo.
Yo lo utilizo bastante: [code=fw:1g8evwts]<div class="fw" id="{CB}" style="font-family: monospace;">CopyFile<span style="color: #000000;">&#40;</span>c:\Origen\Fichero.Org<span style="color: #ff0000;">","</span>C:\Destino\Fichero.Dest<span style="color: #ff0000;">",0)<br /></span></div>[/code:1g8evwts] A lo mejor te faltaba el ",0" final.
copyfile... no entiendo.
sisi. funciona bien. es que las pruebas que hacia no respondian pero si funciona, con y sin el cero.
copyfile... no entiendo.
Ok. El 0 es para sustituir el fichero destino sin preguntar (creo).
correction: xBrowse Fwh907...909..
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=17265">viewtopic.php?f=6&t=17265</a><!-- l --> Regards, Ale
correction: xBrowse Fwh907...909..
Ale, Included for next FWH 9.11, many thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
correlativo documento con ado y mysql
Hola a todos! (correlativo documento con ado y mysql) Tengo dos usuarios ingresando un documento, al entrar ambos toman el correlativo 1, la idea es que al momento de grabar ambos al mismo tiempo, el sistema verifique que no se han grabado ambos con el 1. en el prg coloqué antes de grabar en la DB, una una consulta a la tabla verificando si existe el numero "1" entonces si existe le sumo 1 vuelvo a verificar hasta que no exista y ahi el programa realiza la grabación, pero no me ha funcionado, al parecer el servidor no está bloqueando la tabla cuando un usuario entra primero. codigo: DO WHILE .T. IF !BUSCA_X("SELECT numero_documento FROM ventas where numero_documento ="+ALLTRIM(STR(mi_numero)) , oCon,"numero") EXIT else ++n_numero endif ENDDO oRS:AddNew() oRS:Fields("numero_documento"):value := n_numero oRS:Fields("tipo_documento"):value := c_tipo_doc oRS:Fields("fecha"):value := cTod(c_dia+"/"+c_Mes+"/"+c_Ano) .... oRS:Update() /// aqui graba el documento GRACIAS POR SUS COMENTARIOS!!
correlativo documento con ado y mysql
Saludos Mysql tiene herramientas que te facilitan el trabajo, es importante dejar de pensar en DBF cuando se trabaja en MySql el campo que se incrementa declaralo como auto incrementable, haz los insert sin problemas MySql se encargara de asignarle a cada quien el que le corresponda, para recuperar en cada caso el insert incluido puedes ejecutar "select last_insert_id() as ultimo_id"
correlativo documento con ado y mysql
// RUTINA CON PHP... PERO LA PUEDE ADAPTAR.. try { $conn->beginTransaction(); bloqueaTablaConsecutivo($conn,1); $noExiste = true; if ( $cDocTra == "") { // para registros nuevos.. le asignq el consecutivo while ( $noExiste ) { $nDocGra = buscaConsecutivo($cEmpSuc,$cCodCon,$conn,$codigoConsecutivo); $cDocGra = str_repeat(" ", 8 - strlen( trim((string)$nDocGra) ) ). trim((string)$nDocGra) ; $stmt=$conn->prepare($cSenEje); $stmt->setFetchMode(PDO::FETCH_ASSOC); $stmt->execute(array($cEmpSuc,$cCodCon,$cDocGra)); $registros = $stmt->rowCount(); unset($stmt); if ($registros > 0) { actualizaConsecutivo($conn,$codigoConsecutivo) ; $nDocGra = ( $nDocGra + 1 ); } else { $noExiste = false; }; } }; $conn->commit(); } catch(PDOException $e) { $conn->rollBack(); bloqueaTablaConsecutivo($conn,0) ; $controlConsecutivo = false; $cDocTra = "0"; $msg = true; // Report errors }; bloqueaTablaConsecutivo($conn,0) ; //**************************** function bloqueaTablaConsecutivo($conn,$lBloTab) { $cSenEje = "UNLOCK TABLES;"; if ( $lBloTab == 1 ) { $cSenEje = "LOCK TABLES consecutivos AS sec WRITE, transainventarios WRITE, conceptosinventarios AS con WRITE;"; }; $stmt=$conn->prepare($cSenEje); $stmt->setFetchMode(PDO::FETCH_ASSOC); $stmt->execute(); $registros = $stmt->rowCount(); unset($stmt); } //************************************************************* function actualizaConsecutivo($conn,$codigo) { $registros = 0; $estado = false; $cSenEje = "UPDATE consecutivos sec " ; $cSenEje .= "SET sec.nnumerosec = sec.nnumerosec + 1 " ; $cSenEje .= " WHERE sec.ccodigosec = ?;"; $stmt=$conn->prepare($cSenEje); $stmt->setFetchMode(PDO::FETCH_ASSOC); $stmt->execute(array($codigo)); $registros = $stmt->rowCount(); unset($stmt); if ( $registros > 0 ) { $estado = true; } return $estado; } //******************************************************************
correlativo documento con ado y mysql
DANIEL, Probaré eso, pero se podrá hacer diferenciado para tipo de documento dentro de la misma tabla?, es decir, yo tengo en la misma tabla factura y nota de crédito, entonces necesito que se auto-incrementen de manera independiente, por ejemplo si parto con la nota de credito 1 y factura 1, al momento de ingresar la factura 2, solo se incremente la factura. GRACIAS POR TUS COMENTARIOS
correlativo documento con ado y mysql
Si quieres usar diferentes tipos de documentos deberias crear un key secundario por tipó de documento para hacer juego con el numero del documento, aunque yo te recomendaria para un mejor control que te crees una tabla de un solo registro, en mi caso lo llamo..CONFIG...y alli crees campos por tipo de documento, FACTURA, PEDIDOS, NOTAS DE ENTREGA, etc...este campo lo tengo de tipo INT de 5o puedes usar DECIMAL de mas cantidad, y lo controlo que cuando voy a grabar el documento X, incremento su valor en la tabla CONFIG y ese valor sera el que le corresponda, asi se le asigna al que grabe de primero, en este caso un sistema de varios usuarios realizando el mismo tipo de documento, espero me hayas entendido y si no, avisame y te mando el sample de como lo hago, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
correlativo documento con ado y mysql
[quote="lafug":2b16k5xm]DANIEL, Probaré eso, pero se podrá hacer diferenciado para tipo de documento dentro de la misma tabla?, es decir, yo tengo en la misma tabla factura y nota de crédito, entonces necesito que se auto-incrementen de manera independiente, por ejemplo si parto con la nota de credito 1 y factura 1, al momento de ingresar la factura 2, solo se incremente la factura. GRACIAS POR TUS COMENTARIOS[/quote:2b16k5xm] solo puede haber un campo auto incrementable en las tablas para darte un mejor soporte es mejor saber las tablas y la cardinalidad que hay entre ellas, con la informacion que colocas intentare darte un ejemplo segun lo que entiendo. existes 2 tablas, tabla_nota_de_credito y tabla_facturas cardinalidad seria: tabla_nota_de_credito (1::n) tabla_facturas tabla_facturas (1::[0-1]) tabla_nota_de_credito Por cada nota de credito existira por lo menos una factura y una factura puede o no tener una nota de credito, teniendo eso claro, podriamos incluir en la tabla_factura un campo llamado nota_de_credito_id que puede ser NULL o contener el id de alguna nota de credito, puedes crear una llave foranea en tabla_factura apuntado a tabla_nota_de_credito, restingiendo el borrado (ON DELETE RESTRICT) eso evita borrar la nota de credito si existe alguna factura asociada, ahora puedes incluir la nota de credito, obtener el id con last_insert_id y asignarselo a la factura (que ya ha sido creada)
correo con blat
Hola de nuevo amigos Estoy utilizando para mandar emails con un adjunto, blat junto con una función sendmail, creo que de Bingen. Realmente soy yo el que recibo el email, ya que el envio me lo hacen mis agentes comerciales. Poco a poco he ido dejando de recibirlos, aunque éstos me dicen que no han cambiado nada en el equipo. Y ésto me lleva a pensar que no es un método muy seguro para enviar correo con adjunto. Sabeis si hay algo para Five que no sea harbour (ya que lo he intentado muchas veces pero imposible migrar), y que mejore y sea más seguro que blat ?. Un saludo
correo con blat
[quote="JoseLuis":1w3qu7wb]Hola de nuevo amigos Estoy utilizando para mandar emails con un adjunto, blat junto con una función sendmail, creo que de Bingen. Realmente soy yo el que recibo el email, ya que el envio me lo hacen mis agentes comerciales. Poco a poco he ido dejando de recibirlos, aunque éstos me dicen que no han cambiado nada en el equipo. Y ésto me lleva a pensar que no es un método muy seguro para enviar correo con adjunto. Sabeis si hay algo para Five que no sea harbour (ya que lo he intentado muchas veces pero imposible migrar), y que mejore y sea más seguro que blat ?. Un saludo[/quote:1w3qu7wb] A modo de información; yo he tenido el mismo problema. Parece ser que al enviar un correo mediante Blat el "camino" que sigue el mensaje no es el mismo que si lo envías por Outlook (vaya barbaridad que acabo de decir). Otra posibilidad es que el mensaje lleve identificación de cual es el medio que lo está enviando (Blat - Outlook). La consecuencia es la misma, es detectado por algún servidor antispam al cual no le gusta la cuenta de envío y evita su envío. Me volví loco intentando averiguar porqué con Outlook todo va bien y con Blat me eran rebotados (como ves no me he curado y escribo barbaridades). Si aún así sigues interesado con Blat (yo lo estoy) tengo una clase (que aun no he compartido) para el manejo de Blat desde FiveWin que incluso informa del éxito o no del envío. Saludos Carlos G.
correo con blat
Fivewidi Por supuesto que estoy interesado, ya que tengo realizadas muchas rutinas de envio con blat. El tema es que cuando estaba a fondo con la programación en Fivewin, me llegó información sobre Blat, y por eso me puse a trabajar con él. Si hubiera otra forma desde Fivewin de enviar correo no me imporatía probar, aunque prefiero ésto ya que como he dicho tengo rutinas de envío en distintos programas. Si me puedes mandar alguna ayudita te lo agracederé Un saludo Jose Luis
correo con blat
Hola de nuevo Creo que se me ha olvidado decir en mi exposición anterior, que utilizo la clase sendmail de Bingen, modificada por Jesus Diez, y que me sale un cuadro de dialogo en el que visualizo nombre del servidor, etc.. Pues bien en éste cuado de dialogo me ofrece la posibilidad de hacer un test de envío, es decir mandar sólamente Asunto y un texto sin adjunto, y ésto sí funciona; es decir éste invento funciona si sólo mando texto. No envía el correo si lleva un adjunto, o por lo menos no llega a su destino, ya que me sale un diálogo que dice "Enviando correo..", pero como no me devuelve nada, ni llega a su destino, pues no se si es que no sale del host, o se pierde por el camino. Además de ésto, habría alguna manera de que como en cualquier programa de correo me enviara confirmación de que ha llegado? Un saludo y gracias Jose Luis
correo con blat
Rectifico, me llega cuando hago Test, pero veo en el outlook, que de: y para: son lo mismo, osea que yo me lo envío y yo lo recibo. Jose Luis
correo con blat
[quote="JoseLuis":13toeitt]Fivewidi Por supuesto que estoy interesado, ya que tengo realizadas muchas rutinas de envio con blat. El tema es que cuando estaba a fondo con la programación en Fivewin, me llegó información sobre Blat, y por eso me puse a trabajar con él. Si hubiera otra forma desde Fivewin de enviar correo no me imporatía probar, aunque prefiero ésto ya que como he dicho tengo rutinas de envío en distintos programas. Si me puedes mandar alguna ayudita te lo agracederé Un saludo Jose Luis[/quote:13toeitt] Aquí va el link para bajar la clase: <!-- m --><a class="postlink" href="http://hyperupload.com/download/0285db1b10/TfBlat.prg.html">http://hyperupload.com/download/0285db1 ... t.prg.html</a><!-- m --> Saludos y suerte. Carlos G.
correo con blat
Me la bajo, pero tiene 0 Kb, y la abro y está vacía. Saludos
correo con blat
Ya tengo la clase en mi poder, pero al intentar mandar un fichero me da errores por todos los sitios. En la clase me viene a titulo de ejemplo que una linea para enviar podria ser: ****************************** oblat := Tfblat():New( "Amiservidor.calimero.com", ; "miemailde@envio.com", ; "c:\utilidades\Blat\Blat.exe", ; "c:\temp\", ; {"fivewidi@jazzfree.com", "mitia@lola.com"}, ; {"cgelabert@laleche.com", "cogeeldinero@ycorre.com"}, ; {"ghermano@laleche.com", "control@emails.com"}, ; "Asuntito prueba mensaje", ; "el mensajito" ; ):Send():End() ********************************* Y sobre ésto tengo varias dudas: Donde dice "Amiservidor.calimero.com", supongo que será mi servidor. Lo que pasa es que yo no se cual podrá ser, ya que como te indico, el programa lo ejecutan mis comerciales y cada uno tendrá el suyo, ¿que tendría que poner ahí para que como hace la clase de bingen lo detecte automáticamente? Y luego está el adjunto.- ¿donde pongo el fichero adjunto?, por ejemplo (c:\impresos\130.pdf) En resumen como quedaría una línea de envío que hiciera lo siguiente: ("mi correo desde el que mando","destino","asunto","comentario","fichero adjunto"). Esto es sólo lo que mando, teniendo en cuenta que no se la variable "mi correo desde el que mando", y si conozco el resto. Yo pongo lo siguiente: oblat := Tfblat():New( , ; "micorreo@telefonica.net", ; "c:\mocwin\Blat.exe", ; "c:\temp\", ; {"destino@yahoo.es"}, ; {"Copia@yahoo.es"}, ; {"Copia146@yahoo.es"}, ; "Asuntito prueba mensaje", ; "el mensajito" ; ):Send():End() Si lo hago así a modo de prueba, me da error send() ********************************* Size: 684,864 bytes Max files handles permited: ( SetHandleCount() ) 91 Time from start: 0 hours 0 mins 0 secs Error occurred at: 25/10/06, 20:50:11 Error description: Error Objects/13 No Command Obj: ARRAY:SEND Stack Calls =========== Called from LOCKERRHAN(0) Called from (b)INITHANDL$(0) Called from TFBLAT:SEND(0) Called from MANDAPDF(31) Called from (b)HAZMENU(307) No se si estaré aburriendo, pero es que lo necesito. Gracias y saludos Jose Luis
correo con blat
También estoy probando con TSMTP, pruebas y pruebas, pero no consigo nada. Yo veo en el foro que mandais ficheros con fivewin, me podeis decir como lo haceis?, ya que estoy dando mas vueltas que un tonto. Saludos
correo con blat
Hola de nuevo Ejecutando blat desde la linea de comandos, me ocurre lo mismo, es decir, que sólo me puedo enviar correos a mí mismo. Blat -to(aquí pongo <!-- e --><a href="mailto:destino@destino.com">destino@destino.com</a><!-- e -->, que es el correo de destino), pues simplemente con ésto, me dice que no conoce ésta dirección. Y yo digo ¿para que quiere conocerla? lo que tiene que hacer es mandarlo. sin embargo si digo blat -to(mi correo) sí lo manda por correo, y al rato recibo un correo, y el remitente soy yo mismo. Será de la configuración? Que hago mal Un saludo
correo con blat
Hola, En otro mail de este foro dejé el código completo de la clase, por favor usa ese. Y para enviar emails, en teroría el siguiente código debería funcionarte: ****************************************** /* Hay un pequeño detalle: New() y Send() devuelven el objeto oTFBlat End() devuelve .T. o .F. */ CursorWait() oBlat := TfBlat():New( AllTrim(cServer), ; AllTrim(cMailsend), ; cUbicacionBlat, ; "C:\TEMP\", ; { AllTrim(cMailsend) }, ; Nil, ; aSelectMail, ; AllTrim(cAssumpte), ; "" ; ) oBlat:FAttach( elficheroadjunto.pdf ) oBlat:lDeleteTemp := .T. oBlat:MakeFBody( cCuerpo ) oBlat:MailFrom( cMailresp ) oBlat:Send() CursorArrow() If !oBlat:lSendOk While !oBlat:lSendOk .and. MsgYesNo( "Mail no tramès, s'ha produit un error. El Vol tornar a trametre?", "Atenció" ) CursorWait() oBlat:SendAgain( ) CursorArrow() End If !oBlat:lSendOk If MsgNoYes( "Error en la tramesa del mail, vols CONSERVAR el mail i reintentar manualment l'enviament?", ; "Atenció" ) MsgAlert( "Per l'enviament manual del mail llença el fitxer: " + oBlat:cFileBat , "Atenció" ) oBlat:lDeleteTemp := .F. Endif EndIf EndIf oBlat:End() ****************************************** Saludos y Suerte Carlos G.
correo con blat
Gracias por tu respuesta Estoy utilizando tu clase, y nada. El problema creo que está en el blat.exe, porque como dije anteriormente, no me deja enviar un email, sin adjunto ni nada desde simbolo del sistema, osea a pelo. Siempre me dice que el email al que mando es desconocido, creo que me dice eso, porque está en Inglés y no lo entiendo muy bien. No se si estará mal registrado blat o que, pero el caso es que no me puedo mandar correo nada mas que a mi mismo. Si con tu clase el envio me lo hago a mi propio correo funciona, como desde el simbolo de sistema, pero no puedo mandar a nadie, y lo he probado desde mi casa y desde mi trabajo con el mismo resultado, no se si es que no sabré instalar blat o que. Desde simbolo de sistema pongo blat -to(correo de destinatario) -body(cuerpo que quiero mandar), y responde: *********************** Sending stdin.txt to (correo de destinatario) Login name is (mi correo) Te SMTP server does not like the sender name. Have you set your mail address correctly? ****************************** Entiendo que me dice que no le gusta el nombre de destino. Hay solucion? Un saludo
correo con blat
Para aclarar lo anterior, en el registro tengo: ************************* Predeterminado: valor no establecido Conexion: Loguin: Pwd: Secure Server:.F. Sender:mi correo@mi correo.com SMTP Port:25 SMTP server:smtp.telefonica.net Try:1 User name: User password: ***************************** Esta esto bien? Saludos[/img]
correo con blat
Creo que si. Yo he conseguido enviar correo incluso sin tener nada en el registro. Por lo que he leído, lo que está en el registro simplemente es para no tener que teclearlo/indicarlo cada vez que se lanza Blat.exe El problema que tenía yo es que mi cuenta era rebotada por estar en un servidor antispam y ¡¡¡A veces si a veces no!!!. Intenta indicar el cláusula 'log' del blat para ver realmente que código/mensaje de error responde. Saludos Carlos G.
correo con blat
el log me dice esto 2006.10.27 17:44:08 (Fri)------------Start of Session----------------- Blat v2.5.0 w/GSS encryption (build : Sep 14 2005 22:46:29) Sending stdin.txt to <!-- e --><a href="mailto:jlglopez@telefonica.net">jlglopez@telefonica.net</a><!-- e --> Login name is <!-- e --><a href="mailto:serviruta@serviruta.e.telefonica.net">serviruta@serviruta.e.telefonica.net</a><!-- e --> The SMTP server does not like the name <!-- e --><a href="mailto:jlglopez@telefonica.net">jlglopez@telefonica.net</a><!-- e -->. Have you set the 'To:' field correctly, or do you need authorization (-u/-pw) ? The SMTP server response was -> 550 5.7.1 Unable to relay for <!-- e --><a href="mailto:jlglopez@telefonica.net">jlglopez@telefonica.net</a><!-- e --> 2006.10.27 17:44:08 (Fri)-------------End of Session------------------ Si me voy a la configuración de outlook en Herramientas->Cuentas->propiedades, está marcada "El servidor requiera autenticación", y en el botón configuración está marcado "Usar la misma confirguración que el servidor de correo entrante". Tiene ésto algo que ver. Porque con ésto he hecho también multitud de pruebas, y siempre que le doy a blat desde sistema, es que no pasa de una milésima de segundo cuando me responde lo de que no le gusta la dirección de correo que le doy, he desactivado el Firewall, y el antivirus, luego de eso no es. Un saludo Jose Luis
correo con blat
Jose Luis Si te sirve te ayuda, hay un foro sobre Blat bastante eficiente (pero en inglés).- Esta es su dirección: <!-- m --><a class="postlink" href="http://tech.groups.yahoo.com/group/blat/">http://tech.groups.yahoo.com/group/blat/</a><!-- m -->
correo con blat
Gracias Manuel Saludos Jose Luis
correo con blat
Hola a todos Parece que voy adelantando algo; si a la función que envia el correo le paso variables con un valor, no me lo envía, pero si en la propia función sustituyo esas variables por valores entre comillas, sí lo envia, aunque haya comprobado que los valores de las variables sean los mismos. Para comprobar si hay algún error en la función que hace realmente el envío, le pido el valor de retorno a WaitRun, y me retorna como valor 24, y comprobando los códigos de retorno deésta función llegan hasta el 21, ¿qué significa el código de retorno 24? Saludos Jose Luis
correo con blat
Me contesto a mi mismo Conseguido!!!!! , tras horas y horas probando y probando, había algo que repetía siempre y no me daba cuenta de ello en todas las máquinas. Y ésto era el directorio donde tenía que bustar los ficheros adjuntos. Los tenía depositados con una profundidad de 6 directorios osea el fichero se llamaba "C:\Programas\empresa\agencia\portes\Ficheros\Pdf\Empres81.Pdf". Ha sido, por probar, cambiar todo a "C:\Pdffiles\Empres81.Pdf", y .... Marchando. Ya puedo disfrutar de lo que queda del fin de semana Saludos y gracias Jose Luis
correr aplicación DBF/CDX en remoto
Buenas tardes, compañeros: Tengo una aplicación DBF/CDX corriendo sin problemas en red local. Ahora me planteo la posibilidad de ofrecer a mis clientes esta misma aplicación pero corriendo en la nube con accesos remotos. Las dudas que me surgen: - Es fiable DBF en remoto? - Quiero hacer los mínimos cambios posibles en los PRG. Se puede? - La velocidad de respuesta en consultas y acceso es buena? ¿Por donde podría empezar? Mil gracias Saludos. LOREN
correr aplicación DBF/CDX en remoto
Yo lo estoy utilizando... en Escritorio Remoto. La verdad es que como velocidad, inmejorable. Corre como en tu máquina Server. Además, hay aplicación RemoteDesktop para móviles o tablets, con lo que puedes utilizarla desde ahí, también. También... funcionando desde MAC El único "defecto" o problema que he encontrado es la impresión. Pues hay que instalar los drivers de la impresora local en el Server del Escritorio Remoto y con todo y con eso, a veces no termina de funcionar correctamente. No se si alguno tiene o se ha encontrado con este problema y ha podido solucionarlo. Yo lo he arreglado instalando impresora virtual PDF en el Server, generar el pdf y salvarlo en local, para imprimirlo con la impresora local.
correr aplicación DBF/CDX en remoto
buenos dias, unos clientes han instalado tsprint y asunto solucionado saludos
correr aplicación DBF/CDX en remoto
Hola. ¿Cuando dices en la nube a qué te refieres, cómo lo tienes montado?
correr aplicación DBF/CDX en remoto
Fernando, buenos dias: Corriendo en la nube me refiero a tener el EXE en el PC local pero las DBF/CDX en un servidor remoto. O en cualquier caso tenerlo todo (EXE / DBF / CDX) en un servidor remoto. La cuestión sería que varios usuarios de una misma empresa, ubicados en distintas delegaciones, pudiesen acceder simultaneamente a los mismos datos. Mil gracias. LORENZO.
correr aplicación DBF/CDX en remoto
Hola de nuevo. Gracias por la respuesta. Entendida la infraestructura, en mi caso yo lo resolvería con una conexión vía VPN.
corrupt library
Just tried to update an existing application to FWH 14.3 with xHB (January 2014) Now I'm getting this: xLINK: fatal error: Corrupt library: 'C:\fwh\lib\libmysql.lib'. What can be done? thanks for help! Dietmar
corrupt library
Dietmar, Surely you are not using a MSVC 98 (this is compatible with xhb.com) library. You may need to create the import library from its DLL using VC98 implib.exe
corrupt library
Surely you are not using a MSVC 98 (this is compatible with xhb.com) library. - I just installed FWH 14.3 and the libs that came with this build. Changed nothing (just tried again). You may need to create the import library from its DLL using VC98 implib.exe - Does this mean FHW is not compatible with xhb any more? Not really, i hope <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Can you please send me a compatible libmysql.lib. Thanks, Dietmar
corrupt library
Dietmar, You can easily build it yourself: 1. Download libmysql.dll from here: [url:3odx9ipr]http&#58;//www&#46;sitasoft&#46;net/dolphin/files/libmysql_dll&#46;zip[/url:3odx9ipr] 2. Use Microsoft VC98 implib32.exe to create mysqldll.lib from it 3. xHb.com uses PellesC which it is only compatible with Microsoft VC 98. If you have PellesC, please check if it provides an implib.exe tool 4. FWH remains fully compatible with xHB.com. Surely you are using a wrong libmysql.lib 5. Please seriously consider to migrate to Harbour and stop depending from a very old Microsoft C compiler version (cause xHb.com) <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
corrupt library
Dietmar, This one should work fine, I just created it for you <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [url:1nhl8jle]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/libmysql_for_xhb&#46;com&#46;zip[/url:1nhl8jle]
corruption detected.
NTX file inconsistently becomes corrupt. Happens to some customers not others.I can't duplicate. Need suggestions. Thanks
corruption detected.
Harvey, Are you using the most recent Harbour/xHarbour compiler version that we provide from FiveTech ? <!-- m --><a class="postlink" href="http://www.fivetechsoft.com/files/harbour.exe">http://www.fivetechsoft.com/files/harbour.exe</a><!-- m --> <!-- m --><a class="postlink" href="http://www.fivetechsoft.com/files/xharbour.exe">http://www.fivetechsoft.com/files/xharbour.exe</a><!-- m -->
corruption detected.
Seem to be using 8/12. Was this problem corrected in the 9/12 build?
cosas del Get
Hola a todos: Podriais indicarme porque cuando pongo un get en un dialogo este aparece como incrustado y cuando lo hago en una Window me aparece plano. Y porque no me actua la Clausula RAISED en un SAY de una Window Gracias
crash in empty TLinkList
Hello, in my code I have these lines (compressed): [code=fw:vd90fsjl]<div class="fw" id="{CB}" style="font-family: monospace;">   oTree := TLinkList<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">if</span> ...someCondition can be <span style="color: #00C800;">false</span>... <br />      ..add some tree <span style="color: #0000ff;">items</span>...<br />   <span style="color: #00C800;">endif</span><br />   oTree:<span style="color: #000000;">Expand</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:vd90fsjl] and crashes with this error: [code=fw:vd90fsjl]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />   Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\fwh\samples\treebrw.exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">Size</span>: <span style="color: #000000;">2</span>,<span style="color: #000000;">947</span>,<span style="color: #000000;">584</span> bytes<br />   Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r1412151448<span style="color: #000000;">&#41;</span><br />   FiveWin  Version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">15.03</span><br />   Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7601</span> Service Pack <span style="color: #000000;">1</span><br /><br />   Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">0</span> secs <br />   Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">03</span>/<span style="color: #000000;">23</span>/<span style="color: #000000;">15</span>, <span style="color: #000000;">12</span>:<span style="color: #000000;">16</span>:<span style="color: #000000;">45</span><br />   Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1004</span>  No exported <span style="color: #00C800;">method</span>: <span style="color: #000000;">NLEVEL</span><br />   Args:<br />     <span style="color: #000000;">&#91;</span>   <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = U   <br /><br />Stack Calls<br />===========<br />   Called <span style="color: #0000ff;">from</span>:  => NLEVEL<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\LINKLIST.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>EVAL<span style="color: #000000;">&#40;</span> <span style="color: #000000;">121</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: .\source\classes\LINKLIST.PRG => TLINKLIST:<span style="color: #000000;">EXPAND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">202</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">XXX</span>.prg => MAKETREE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">42</span> <span style="color: #000000;">&#41;</span><br />   Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">XXX</span>.prg => MAIN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">12</span> <span style="color: #000000;">&#41;</span><br /><br />System<br />======<br />   CPU type: <span style="color: #000000;">Intel</span><span style="color: #000000;">&#40;</span>R<span style="color: #000000;">&#41;</span> Core<span style="color: #000000;">&#40;</span>TM<span style="color: #000000;">&#41;</span><span style="color: #000000;">2</span> Duo CPU     E7400  @ <span style="color: #000000;">2</span>.80GHz <span style="color: #000000;">75</span> Mhz<br />   Hardware memory: <span style="color: #000000;">4095</span> megs<br /><br />   Free System resources: <span style="color: #000000;">90</span> %<br />        GDI    resources: <span style="color: #000000;">90</span> %<br />        User   resources: <span style="color: #000000;">90</span> %<br /><br />   Windows total applications running: <span style="color: #000000;">5</span><br />      <span style="color: #000000;">1</span> ,                                                                                                     <br />      <span style="color: #000000;">2</span> , C:\Windows\syswow64\SHLWAPI.dll                                                                     <br />      <span style="color: #000000;">3</span> , C:\fwh\samples\treebrw.exe                                                                          <br />      <span style="color: #000000;">4</span> DDE <span style="color: #00C800;">Server</span> <span style="color: #0000ff;">Window</span>, C:\Windows\syswow64\ole32.dll                                                                       <br />      <span style="color: #000000;">5</span> GDI+ <span style="color: #0000ff;">Window</span>, C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style="color: #000000;">.1</span><span style="color: #000000;">.7601</span>.18455_none_72d576ad8665e8 <br /><br />Variables in use<br />================<br />   Procedure     Type   Value<br />   ==========================<br />   NLEVEL<br />     Param   <span style="color: #000000;">1</span>:    O    <span style="color: #00C800;">Class</span>: <span style="color: #000000;">ERROR</span><br />   <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>EVAL<br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">1</span>:    U    <br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">2</span>:    U    <br />   TLINKLIST:<span style="color: #000000;">EXPAND</span><br />     Param   <span style="color: #000000;">1</span>:    B    <span style="color: #000000;">&#123;</span>|| ... <span style="color: #000000;">&#125;</span><br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">1</span>:    U    <br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">2</span>:    U    <br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">3</span>:    U    <br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">4</span>:    U    <br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">5</span>:    U    <br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">6</span>:    U    <br />   MAKETREE<br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">1</span>:    N    <span style="color: #000000;">1000</span><br />   MAIN<br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">1</span>:    O    <span style="color: #00C800;">Class</span>: <span style="color: #000000;">TLINKLIST</span><br />     <span style="color: #00C800;">Local</span>   <span style="color: #000000;">2</span>:    U    <br /><br />Linked RDDs<br />===========<br />   DBF<br />   DBFFPT<br />   DBFBLOB<br />   DBFCDX<br />   DBFNTX<br /><br />DataBases in use<br />================<br /><br />Classes in use:<br />===============<br />     <span style="color: #000000;">1</span> ERROR<br />     <span style="color: #000000;">2</span> HBCLASS<br />     <span style="color: #000000;">3</span> HBOBJECT<br />     <span style="color: #000000;">4</span> TLINKLIST<br />     <span style="color: #000000;">5</span> TREG32<br /><br />Memory Analysis<br />===============<br />      <span style="color: #000000;">222</span> <span style="color: #00C800;">Static</span> variables<br /><br />   Dynamic memory consume:<br />      Actual  Value:          <span style="color: #000000;">0</span> bytes<br />      Highest Value:          <span style="color: #000000;">0</span> bytes<br /></div>[/code:vd90fsjl]
crash in export date TXBrwColumn to excel
Hello, Exporting to excel a xBrowse column of type Date, the program crashes in this line: [code=fw:2ym4j4e5]<div class="fw" id="{CB}" style="font-family: monospace;">oSheet:<span style="color: #000000;">Cells</span><span style="color: #000000;">&#40;</span> nRow, nCol <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">NumberFormat</span>   := Lower<span style="color: #000000;">&#40;</span> Set<span style="color: #000000;">&#40;</span> _SET_DATEFORMAT <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span></div>[/code:2ym4j4e5] at begin of the [code=fw:2ym4j4e5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> ToExcel<span style="color: #000000;">&#40;</span> oSheet, nRow, nCol <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TXBrwColumn</div>[/code:2ym4j4e5] It is because I have excel in Italian and the dateFormat is like dd/mm/yyyy. I put here the same fix I see in another place in the same file: [code=fw:2ym4j4e5]<div class="fw" id="{CB}" style="font-family: monospace;">      <span style="color: #00C800;">if</span> lxlEnglish<br />        <span style="color: #00C800;">if</span> ValType<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cEditPicture</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">'C'</span> .and. <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cEditPicture</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> != <span style="color: #ff0000;">'@'</span><br />           oSheet:<span style="color: #000000;">Cells</span><span style="color: #000000;">&#40;</span> nRow,nCol <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">NumberFormat</span> := Lower<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cEditPicture</span> <span style="color: #000000;">&#41;</span><br />        <span style="color: #00C800;">else</span><br />           oSheet:<span style="color: #000000;">Cells</span><span style="color: #000000;">&#40;</span> nRow,nCol <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">NumberFormat</span> := Lower<span style="color: #000000;">&#40;</span> Set<span style="color: #000000;">&#40;</span> _SET_DATEFORMAT <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />        <span style="color: #00C800;">endif</span><br />      <span style="color: #00C800;">endif</span><br /> </div>[/code:2ym4j4e5] I see that for OOCalc export there is a GetNumberFormatId that convert it for localized formats, maybe we can do it for excel too...
crash on TGraph
Hello, I am not sure what happened, but instead of show a graph my application crashed: [code=fw:afoxwf4z]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />   Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Pos\TLPosWin.exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">Size</span>: <span style="color: #000000;">*********</span> bytes<br />   Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r1412151448<span style="color: #000000;">&#41;</span><br />   FiveWin  Version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">15.03</span><br />   Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7601</span> Service Pack <span style="color: #000000;">1</span><br /><br />   Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">4</span> mins <span style="color: #000000;">12</span> secs <br />   Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">02</span>/<span style="color: #000000;">04</span>/<span style="color: #000000;">15</span>, <span style="color: #000000;">12</span>:<span style="color: #000000;">53</span>:<span style="color: #000000;">20</span><br />   Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1132</span>  Limiti superati: <span style="color: #000000;">accesso</span> all<span style="color: #ff0000;">'array<br />   Args:<br />     [   1] = A   { ... } length: 10<br />     [   2] = N   30<br /><br />Stack Calls<br />===========<br />   Called from:  => ARRAY:__OPARRAYINDEX( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\T</span>GRAPH.PRG => (b)TGRAPH_MOUSEMOVE( 1139 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\T</span>GRAPH.PRG => TGRAPH:MOUSEMOVE( 1140 )<br />   Called from:  => TWINDOW:HANDLEEVENT( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TGRAPH:HANDLEEVENT( 1733 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />   Called from:  => DIALOGBOXINDIRECT( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\D</span>IALOG.PRG => TDIALOG:ACTIVATE( 287 )<br />   Called from: St_ABC.prg => GRAF_ABC( 829 )<br />   Called from: St_ABC.prg => LISTABC( 493 )<br />   Called from: C_ListeArticoli.prg => TLISTAARTICOLI:BTNARTREPORTABC_CLICK( 2336 )<br />   Called from: C_ListeArticoli.prg => (b)TLISTAARTICOLI_RENDERDIALOG( 1138 )<br />   Called from: btnbmp.prg => TBTNBMP:CLICK( 608 )<br />   Called from: btnbmp.prg => TBTNBMP:LBUTTONUP( 823 )<br />   Called from: btnbmp.prg => TBTNBMP:LBUTTONDOWN( 763 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TCONTROL:HANDLEEVENT( 1720 )<br />   Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1620 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />   Called from:  => DIALOGBOX( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\D</span>IALOG.PRG => TDIALOG:ACTIVATE( 287 )<br />   Called from: C_ListeArticoli.prg => TLISTAARTICOLI:SHOWDIALOG( 1320 )<br />   Called from: C_ListeArticoli.prg => TLISTEARTICOLI:EDITOBJECT( 110 )<br />   Called from: C_Object.prg => TLISTEARTICOLI:BTNEDIT_CLICK( 845 )<br />   Called from: C_Elenco.prg => TELENCO:BTNEDIT_CLICK( 2431 )<br />   Called from: C_Elenco.prg => (b)TELENCO_INITDIALOG( 382 )<br />   Called from: btnbmp.prg => TBTNBMP:CLICK( 608 )<br />   Called from: btnbmp.prg => TBTNBMP:LBUTTONUP( 823 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TCONTROL:HANDLEEVENT( 1723 )<br />   Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1620 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />   Called from:  => DIALOGBOX( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\D</span>IALOG.PRG => TDIALOG:ACTIVATE( 287 )<br />   Called from: C_Elenco.prg => TELENCO:SHOWDIALOG( 690 )<br />   Called from: TLPosWin.prg => (b)COOLBAR_NEGOZIO( 3386 )<br />   Called from: btnbmp.prg => TBTNBMP:CLICK( 608 )<br />   Called from: btnbmp.prg => TBTNBMP:LBUTTONUP( 820 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TCONTROL:HANDLEEVENT( 1723 )<br />   Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1620 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />   Called from:  => WINRUN( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => TWINDOW:ACTIVATE( 1057 )<br />   Called from: TLPosWin.prg => MAIN( 841 )<br /><br />System<br />======<br />   CPU type: Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz -138176 Mhz<br />   Hardware memory: 4095 megs<br /><br />   Free System resources: 90 %<br />        GDI    resources: 90 %<br />        User   resources: 90 %<br /><br />   Windows total applications running: 7<br />      1 ,                                                                                                     <br />      2 , C:<span style="color: #000000;">\P</span>os<span style="color: #000000;">\T</span>LPosWin.exe                                                                                 <br />      3 , C:<span style="color: #000000;">\P</span>os<span style="color: #000000;">\f</span>reeimage.dll                                                                                <br />      4 , C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\W</span>inSxS<span style="color: #000000;">\x</span>86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e697 <br />      5 , C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\s</span>yswow64<span style="color: #000000;">\S</span>HLWAPI.dll                                                                     <br />      6 DDE Server Window, C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\s</span>yswow64<span style="color: #000000;">\o</span>le32.dll                                                                       <br />      7 GDI+ Window, C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\W</span>inSxS<span style="color: #000000;">\x</span>86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e8 <br /><br />Variables in use<br />================<br />   Procedure     Type   Value<br />   ==========================<br />   ARRAY:__OPARRAYINDEX<br />     Param   1:    O    Class: ERROR<br />   (b)TGRAPH_MOUSEMOVE<br />     Param   1:    N    30<br />     Local   1:    U    <br />     Local   2:    U    <br />   TGRAPH:MOUSEMOVE<br />     Param   1:    N    30<br />     Local   1:    S    <br />     Local   2:    U    <br />     Local   3:    S    <br />     Local   4:    U    <br />     Local   5:    A    Len:   10<br />     Local   6:    N    30<br />   TWINDOW:HANDLEEVENT<br />     Param   1:    N    356<br />     Param   2:    N    813<br />     Param   3:    N    0<br />     Local   1:    O    Class: TGRAPH<br />     Local   2:    N    30<br />     Local   3:    S    <br />     Local   4:    O    Class: TGRAPH<br />     Local   5:    N    356<br />     Local   6:    N    813<br />   TGRAPH:HANDLEEVENT<br />     Param   1:    N    512<br />     Param   2:    N    0<br />     Param   3:    N    23331629<br />   _FWH<br />     Param   1:    N    512<br />     Param   2:    N    0<br />     Param   3:    N    23331629<br />     Local   1:    U    <br />   DIALOGBOXINDIRECT<br />     Param   1:    N    23331629<br />     Param   2:    N    512<br />     Param   3:    N    0<br />     Param   4:    N    23331629<br />     Param   5:    N    588<br />     Local   1:    O    Class: TGRAPH<br />   TDIALOG:ACTIVATE<br />     Param   1:    N    19660800<br />     Param   2:    C    "€ È€     UýŸÿ×'</span>    L I S T A   A - B - C   D A   A R T I C O L O   <span style="color: #000000;">2</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span>   A   A R T I C O L O   <span style="color: #000000;">9</span> <span style="color: #000000;">9</span> <span style="color: #000000;">4</span> <span style="color: #000000;">9</span> <span style="color: #000000;">1</span> <span style="color: #000000;">3</span>      P        ®NÅT G R A P H       <span style="color: #ff0000;">"<br />     Param   3:    N    3409410<br />     Param   4:    O    Class: TDIALOG<br />   GRAF_ABC<br />     Param   1:    U    <br />     Param   2:    U    <br />     Param   3:    B    {|| ... }<br />     Param   4:    L    .F.<br />     Param   5:    U    <br />     Param   6:    L    .T.<br />     Param   7:    U    <br />     Param   8:    U    <br />     Param   9:    U    <br />     Param  10:    L    .F.<br />     Param  11:    L    .F.<br />     Local   1:    N    3409410<br />     Local   2:    S    <br />     Local   3:    O    Class: TDIALOG<br />   LISTABC<br />     Param   1:    N    1<br />     Param   2:    N    10<br />     Param   3:    N    1<br />     Param   4:    N    1<br />     Local   1:    A    Len:   10<br />     Local   2:    A    Len:   10<br />     Local   3:    A    Len:   10<br />     Local   4:    A    Len:   10<br />     Local   5:    A    Len:    3<br />     Local   6:    A    Len:    3<br />     Local   7:    C    "</span>LISTA A-B-C DA ARTICOLO <span style="color: #000000;">200000</span> A ARTICOLO <span style="color: #000000;">994913</span><span style="color: #ff0000;">"<br />     Local   8:    C    "</span> <span style="color: #000000;">0</span><span style="color: #ff0000;">"<br />     Local   9:    C    "</span>    <span style="color: #000000;">0</span>    <span style="color: #000000;">5</span>   <span style="color: #000000;">10</span>   <span style="color: #000000;">15</span>   <span style="color: #000000;">20</span>   <span style="color: #000000;">25</span>   <span style="color: #000000;">30</span>   <span style="color: #000000;">35</span>   <span style="color: #000000;">40</span>   <span style="color: #000000;">45</span>   <span style="color: #000000;">50</span>   <span style="color: #000000;">55</span>   <span style="color: #000000;">60</span>   <span style="color: #000000;">65</span>   <span style="color: #000000;">70</span>   <span style="color: #000000;">75</span>   <span style="color: #000000;">80</span>   <span style="color: #000000;">85</span>   <span style="color: #000000;">90</span>   <span style="color: #000000;">95</span>  <span style="color: #000000;">100</span><span style="color: #ff0000;">"<br />     Local  10:    N    110<br />     Local  11:    N    43<br />     Local  12:    N    21.17<br />     Local  13:    N    10<br />     Local  14:    N    105<br />     Local  15:    N    7.20<br />     Local  16:    N    130<br />     Local  17:    N    200<br />     Local  18:    N    720<br />     Local  19:    N    900<br />     Local  20:    N    100.00<br />     Local  21:    N    54.00<br />     Local  22:    N    21.17<br />     Local  23:    N    0<br />     Local  24:    N    0<br />     Local  25:    N    10.00<br />     Local  26:    N    10.00<br />     Local  27:    N    20.00<br />     Local  28:    N    36.00<br />     Local  29:    N    90.00<br />     Local  30:    O    Class: TDIALOG<br />     Local  31:    O    Class: TGRAPH<br />   TLISTAARTICOLI:BTNARTREPORTABC_CLICK<br />     Param   1:    C    "</span><span style="color: #000000;">000001</span><span style="color: #ff0000;">"<br />     Local   1:    U    <br />     Local   2:    U    <br />     Local   3:    C    "</span>al Valore del margine<span style="color: #ff0000;">"<br />     Local   4:    C    "</span>Intervalli Percentuale: <span style="color: #000000;">10</span><span style="color: #ff0000;">"<br />     Local   5:    C    "</span>C:\Pos\Temp\APERRICO_20150402_12531211.DBF<span style="color: #ff0000;">"<br />     Local   6:    C    "</span>Valore<span style="color: #ff0000;">"<br />     Local   7:    C    "</span>PERE DECANA SALVI             <span style="color: #ff0000;">"<br />     Local   8:    C    "</span>Quantita<span style="color: #ff0000;">"<br />     Local   9:    L    .F.<br />     Local  10:    L    .F.<br />     Local  11:    N    1<br />     Local  12:    N    0<br />     Local  13:    N    0<br />     Local  14:    N    0<br />     Local  15:    N    0.00<br />     Local  16:    N    0<br />     Local  17:    N    0.0000<br />     Local  18:    N    0<br />     Local  19:    N    0.00<br />     Local  20:    N    0.00<br />     Local  21:    N    43<br />     Local  22:    N    1<br />     Local  23:    N    2.16<br />     Local  24:    N    4.00<br />     Local  25:    N    0<br />     Local  26:    N    0.00<br />     Local  27:    O    Class: TREPORT<br />     Local  28:    O    Class: TDIALOG<br />     Local  29:    O    Class: TLISTBOX<br />     Local  30:    A    Len:    6<br />     Local  31:    A    Len:    5<br />     Local  32:    A    Len:    3<br />     Local  33:    A    Len:    5<br />     Local  34:    A    Len:    3<br />     Local  35:    N    1<br />     Local  36:    C    "</span><span style="color: #000000;">000001</span> SOSPESI                       <span style="color: #ff0000;">"<br />     Local  37:    C    "</span><span style="color: #000000;">000001</span> SOSPESI                       <span style="color: #ff0000;">"<br />     Local  38:    L    .T.<br />     Local  39:    C    "</span><span style="color: #ff0000;">"<br />     Local  40:    L    .F.<br />     Local  41:    N    301<br />     Local  42:    N    2<br />     Local  43:    C    "</span>C:\Pos\Temp\APERRICO_20150402_12531009.CDX<span style="color: #ff0000;">"<br />     Local  44:    N    44<br />     Local  45:    N    8<br />     Local  46:    O    Class: TPRINTER<br />     Local  47:    C    "</span>OK MARKET - OTTO SNC * MAGAZZINO  <span style="color: #000000;">1</span>: <span style="color: #000000;">Otto</span> Supermercati Snc * <span style="color: #000000;">02</span>/<span style="color: #000000;">04</span>/<span style="color: #000000;">15</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">53</span><span style="color: #ff0000;">"<br />     Local  48:    C    "</span>TLPosWinReport<span style="color: #ff0000;">"<br />     Local  49:    C    "</span>Lista A-B-C del Venduto<span style="color: #ff0000;">"<br />   (b)TLISTAARTICOLI_RENDERDIALOG<br />     Param   1:    O    Class: TBAR<br />     Param   2:    O    Class: TXBROWSE<br />   TBTNBMP:CLICK<br />     Param   1:    O    Class: TBTNBMP<br />   TBTNBMP:LBUTTONUP<br />   TBTNBMP:LBUTTONDOWN<br />     Param   1:    N    40<br />     Param   2:    N    30<br />     Local   1:    U    <br />     Local   2:    L    .T.<br />   TCONTROL:HANDLEEVENT<br />     Param   1:    N    40<br />     Param   2:    N    30<br />     Param   3:    N    1<br />   TBTNBMP:HANDLEEVENT<br />     Param   1:    N    513<br />     Param   2:    N    1<br />     Param   3:    N    2621470<br />     Local   1:    U    <br />   _FWH<br />     Param   1:    N    513<br />     Param   2:    N    1<br />     Param   3:    N    2621470<br />   DIALOGBOX<br />     Param   1:    N    2621470<br />     Param   2:    N    513<br />     Param   3:    N    1<br />     Param   4:    N    2621470<br />     Param   5:    N    580<br />     Local   1:    O    Class: TBTNBMP<br />   TDIALOG:ACTIVATE<br />     Param   1:    N    19660800<br />     Param   2:    C    "</span>DLG_LISTAARTICOLI<span style="color: #ff0000;">"<br />     Param   3:    N    2295778<br />     Param   4:    O    Class: TDIALOG<br />   TLISTAARTICOLI:SHOWDIALOG<br />     Param   1:    U    <br />     Param   2:    U    <br />     Param   3:    B    {|| ... }<br />     Param   4:    L    .F.<br />     Param   5:    B    {|| ... }<br />     Param   6:    L    .T.<br />     Param   7:    B    {|| ... }<br />     Param   8:    U    <br />     Param   9:    U    <br />     Param  10:    L    .F.<br />     Local   1:    L    .F.<br />     Local   2:    N    2295778<br />     Local   3:    S    <br />     Local   4:    O    Class: TDIALOG<br />   TLISTEARTICOLI:EDITOBJECT<br />     Param   1:    L    .F.<br />     Local   1:    U    <br />     Local   2:    L    .T.<br />     Local   3:    O    Class: TLISTAARTICOLI<br />     Local   4:    L    .F.<br />   TLISTEARTICOLI:BTNEDIT_CLICK<br />     Param   1:    C    "</span>\<span style="color: #000000;">000001</span><span style="color: #ff0000;">"<br />     Local   1:    O    Class: TLISTAARTICOLI<br />   TELENCO:BTNEDIT_CLICK<br />     Param   1:    C    "</span>\<span style="color: #000000;">000001</span><span style="color: #ff0000;">"<br />   (b)TELENCO_INITDIALOG<br />     Local   1:    C    "</span>\<span style="color: #000000;">000001</span><span style="color: #ff0000;">"<br />     Local   2:    O    Class: TTREEVIEW<br />   TBTNBMP:CLICK<br />     Param   1:    O    Class: TBTNBMP<br />   TBTNBMP:LBUTTONUP<br />   TCONTROL:HANDLEEVENT<br />     Param   1:    N    17<br />     Param   2:    N    8<br />     Param   3:    N    0<br />     Local   1:    L    .T.<br />     Local   2:    S    <br />   TBTNBMP:HANDLEEVENT<br />     Param   1:    N    514<br />     Param   2:    N    0<br />     Param   3:    N    1114120<br />     Local   1:    U    <br />   _FWH<br />     Param   1:    N    514<br />     Param   2:    N    0<br />     Param   3:    N    1114120<br />   DIALOGBOX<br />     Param   1:    N    1114120<br />     Param   2:    N    514<br />     Param   3:    N    0<br />     Param   4:    N    1114120<br />     Param   5:    N    39<br />     Local   1:    O    Class: TBTNBMP<br />   TDIALOG:ACTIVATE<br />     Param   1:    N    19660800<br />     Param   2:    C    "</span>DLG_ELENCO<span style="color: #ff0000;">"<br />     Param   3:    N    1903736<br />     Param   4:    O    Class: TDIALOG<br />   TELENCO:SHOWDIALOG<br />     Param   1:    U    <br />     Param   2:    U    <br />     Param   3:    U    <br />     Param   4:    L    .F.<br />     Param   5:    B    {|| ... }<br />     Param   6:    L    .T.<br />     Param   7:    B    {|| ... }<br />     Param   8:    U    <br />     Param   9:    U    <br />     Param  10:    L    .F.<br />     Local   1:    L    .F.<br />     Local   2:    N    1903736<br />     Local   3:    S    <br />     Local   4:    O    Class: TDIALOG<br />   (b)COOLBAR_NEGOZIO<br />     Param   1:    L    .T.<br />     Param   2:    L    .T.<br />     Local   1:    U    <br />     Local   2:    O    Class: TELENCO<br />     Local   3:    C    "</span>Elenco Categorie/classi<span style="color: #ff0000;">"<br />     Local   4:    U    <br />   TBTNBMP:CLICK<br />     Param   1:    O    Class: TBTNBMP<br />   TBTNBMP:LBUTTONUP<br />   TCONTROL:HANDLEEVENT<br />     Param   1:    N    14<br />     Param   2:    N    19<br />     Param   3:    N    0<br />     Local   1:    L    .T.<br />     Local   2:    S    <br />   TBTNBMP:HANDLEEVENT<br />     Param   1:    N    514<br />     Param   2:    N    0<br />     Param   3:    N    917523<br />     Local   1:    U    <br />   _FWH<br />     Param   1:    N    514<br />     Param   2:    N    0<br />     Param   3:    N    917523<br />   WINRUN<br />     Param   1:    N    917523<br />     Param   2:    N    514<br />     Param   3:    N    0<br />     Param   4:    N    917523<br />     Param   5:    N    5<br />     Local   1:    O    Class: TBTNBMP<br />   TWINDOW:ACTIVATE<br />     Param   1:    N    1903736<br />   MAIN<br />     Param   1:    C    "</span><span style="color: #0000ff;">MAXIMIZED</span><span style="color: #ff0000;">"<br />     Param   2:    U    <br />     Param   3:    B    {|| ... }<br />     Param   4:    U    <br />     Param   5:    B    {|| ... }<br />     Param   6:    U    <br />     Param   7:    U    <br />     Param   8:    B    {|| ... }<br />     Param   9:    U    <br />     Param  10:    U    <br />     Param  11:    U    <br />     Param  12:    U    <br />     Param  13:    U    <br />     Param  14:    U    <br />     Param  15:    U    <br />     Param  16:    U    <br />     Param  17:    B    {|| ... }<br />     Param  18:    U    <br />     Param  19:    U    <br />     Param  20:    L    .F.<br />     Local   1:    O    Class: TWINDOW<br />     Local   2:    U    <br />     Local   3:    U    <br /><br />Linked RDDs<br />===========<br />   DBF<br />   DBFFPT<br />   DBFBLOB<br />   DBFCDX<br />   DBFNTX<br /><br />DataBases in use<br />================<br /><br />  1:    CATEGOR                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         96           95      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => CATCOD                             ICATCAT<br />           CATKAPPA                           ICATKAP<br /><br />     Relations in use<br /><br />  2:    CLASSI                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />        529          528      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => CATCOD + CLASCOD                   ICLACLA<br />           CLAKAPPA                           ICLAKAP<br />           REPARTO + CATCOD + CLASCOD         ICLALEVEL<br /><br />     Relations in use<br /><br />  3:    GRUPPI                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         36           35      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => GRUPPO                             IGRUGRU<br />           GRUNAM                             IGRUNAM<br /><br />     Relations in use<br /><br />  4:    FORNIT                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         67           66      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => FORCOD                             IFORFOR<br />           FORNOM                             IFORNOM<br />           VAR_FOR                            IFORVAR<br />           FORPIVA                            IFORPIVA<br />           FORCEDI                            IFORCEDI<br />           SCAFFALE                           IFORSCAF<br /><br />     Relations in use<br /><br />  5:    ACQUISTI                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />      88860        88859      .F.   .T.<br /><br />     Indexes in use                        TagName<br />           FORNITORE + ARTICOLO               IACQFOR<br />        => ARTICOLO + FORNITORE               IACQART<br />           VIS_COFU + FORNITORE + DTOS(DAT_COFICOSFUT<br />           IIF(PR_SOSP=0,"</span>N<span style="color: #ff0000;">","</span>S<span style="color: #ff0000;">") + FORNITORE IPRSOSP<br />           RIF_FORN + RIF_ARTF                IACQRIF<br />           RIF_ARTF + RIF_FORN                IACQARTF<br /><br />     Relations in use<br /><br />  6:    ARTFOR                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />      91502        91501      .F.   .T.<br /><br />     Indexes in use                        TagName<br />           FORNITORE + ARTICOLO               ICOFFOR<br />           ART_FOR+FORNITORE                  ICOFCOF<br />        => ARTICOLO + FORNITORE               ICOFART<br />           Upper(ART_FOR+FORNITORE)           ICOFUPP<br /><br />     Relations in use<br /><br />  7:    SCONTI                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />        349          400      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => FORNITORE + ARTICOLO               ISCOFOR<br />           ARTICOLO + FORNITORE               ISCOART<br /><br />     Relations in use<br /><br />  8:    ARTCAS                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />      96702        96701      .F.   .T.<br /><br />     Indexes in use                        TagName<br />           ART_CAS                            ICOCCAS<br />        => ARTICOLO                           ICOCART<br />           TIPO_COD + ARTICOLO                ICOCTIP<br />           TIPO_COD + ART_CAS                 ICOCTAR<br />           ART_CAS                            ICOCBIL<br />           ART_ECR                            ICOCECR<br />           STATO                              ICOCSTA<br /><br />     Relations in use<br /><br />  9:    PRODUT                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => PRODUTTORE                         IPROCOD<br />           PRODNAM                            IPRONAM<br /><br />     Relations in use<br /><br /> 10:    REPARTI                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          4           33      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => REPARTO                            IREPREP<br />           REPECR                             IREPECR<br />           REPLOC                             IREPLOC<br /><br />     Relations in use<br /><br /> 11:    REKDELETE                          RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1         2746      .F.   .F.<br /><br />     Indexes in use                        TagName<br /><br />     Relations in use<br /><br /> 12:    OBIETTIVI                          RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => PosDef+PosCod+Anno+StrZero(MagazzinIOBBCOD<br />           Anno+StrZero(Magazzino,2)+PosDef+PoIOBBANN<br /><br />     Relations in use<br /><br /> 13:    ACCISE                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1           70      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => ARTICOLO + FORNITORE + StrZero( MAGIACCART<br />           ARTICOLO + FORNITORE + StrZero( MAGIACCDAT<br /><br />     Relations in use<br /><br /> 14:    PROGRESSIVI                        RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            1      .F.   .F.<br /><br />     Indexes in use                        TagName<br /><br />     Relations in use<br /><br /> 15:    SUDDIVISIONILIV                    RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICELIV1                         ISUDCOD<br />           CODICECEDI                         ISUDCEDI<br /><br />     Relations in use<br /><br /> 16:    SUDDIVISIONILIV                    RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICELIV1+CODICELIV2              ISUDCOD<br />           CODICECEDI                         ISUDCEDI<br /><br />     Relations in use<br /><br /> 17:    SUDDIVISIONILIV                    RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICELIV1+CODICELIV2+CODICELIV3   ISUDCOD<br />           CODICECEDI                         ISUDCEDI<br /><br />     Relations in use<br /><br /> 18:    SUDDIVISIONILIV                    RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICELIV1+CODICELIV2+CODICELIV3+COISUDCOD<br />           CODICECEDI                         ISUDCEDI<br /><br />     Relations in use<br /><br /> 19:    SUDDIVISIONILIV                    RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICELIV1+CODICELIV2+CODICELIV3+COISUDCOD<br />           CODICECEDI                         ISUDCEDI<br /><br />     Relations in use<br /><br /> 20:    SUDDIVISIONILIV                    RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICELIV1+CODICELIV2+CODICELIV3+COISUDCOD<br />           CODICECEDI                         ISUDCEDI<br /><br />     Relations in use<br /><br /> 21:    LOTTI                              RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => LOTTO + IDENT                      ILOTTO<br /><br />     Relations in use<br /><br /> 30:    LISTEA_H                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            1      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => CODLISTA + DESCRIZ                 ILHCOD<br />           DESCRIZ + CODLISTA                 ILHDES<br />           DTOS(DATAINI)                      ILHDAT<br /><br />     Relations in use<br /><br /> 31:    LISTEA_R                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         44           43      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODLISTA + ARTICOLO                ILRCOD<br />           ARTICOLO + CODLISTA                ILRART<br /><br />     Relations in use<br /><br /> 32:    TIPOASS                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => TipoAss                            I_CODICE<br /><br />     Relations in use<br /><br /> 33:    SUDCEDI                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />           FORNITORE + TIPOSUD + CODCEDI      ICODCEDI<br />        => FORNITORE + TIPOSUD + CODLOCALE    ICODLOC<br /><br />     Relations in use<br /><br /> 35:    INFOGEN                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1           22      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => StrZero(CodTab,2)+upper(Codice)    ITABCOD<br /><br />     Relations in use<br /><br /> 36:    DATIGEN                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICE+DESCRIZ                     I_CODICE<br /><br />     Relations in use<br /><br /> 60:    MAIL_LOG                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Magazzino + Cod_Doc                I_MAILDOC<br /><br />     Relations in use<br /><br /> 61:    UTENTE                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            1      .F.   .F.<br /><br />     Indexes in use                        TagName<br /><br />     Relations in use<br /><br /> 62:    DB_GEN                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => DistBase                           I_CODICE<br />           DBCedi                             I_DBCEDI<br /><br />     Relations in use<br /><br /> 63:    DB_ART                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => DistBase+Articolo                  I_CODICE<br />           Articolo+DistBase                  I_ARTICOLO<br />           Articolo+Tipo+DistBase             I_TIPART<br />           Tipo+DistBase+Articolo             I_TIPDB<br /><br />     Relations in use<br /><br /> 64:    SEGMENTI                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => SEGMENTO                           ISEG<br />           PADRE                              IPADRE<br /><br />     Relations in use<br /><br /> 65:    INFOETI                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         18        17971      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Articolo                           IETIART<br /><br />     Relations in use<br /><br /> 66:    PAN_GEN                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Paniere                            I_PANIERE<br />           PanCEDI                            I_PANCEDI<br /><br />     Relations in use<br /><br /> 67:    PAN_SUB                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Paniere+SubPan                     I_PANIERE<br />           SubPan                             I_SUBPAN<br />           SubPanCEDI                         I_SUBCEDI<br /><br />     Relations in use<br /><br /> 68:    PAN_ART                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Paniere+SubPan+PosDef+PosCod       I_PANIERE<br />           PosDef+PosCod+Paniere+SubPan       I_POSCOD<br /><br />     Relations in use<br /><br /> 69:    PAN_CAS                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Paniere+SubPan+PosDef+PosCod+PanCASI_PANIERE<br />           PanCAS+Paniere+SubPan+PosDef+PosCodI_PANCAS<br /><br />     Relations in use<br /><br /> 70:    ARCSTA                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          4            3      .T.   .T.<br /><br />     Indexes in use                        TagName<br />           STR( NUMREP, 5 )                   INUMREP<br />           RPT_TIT                            ITITREP<br />        => STR(RPT_GRP,2)+Rpt_Ini+Rpt_Fin     IREPGRP<br /><br />     Relations in use<br /><br /> 71:    ETILAY                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          6            5      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => Eti_Lay                            IETILAY<br /><br />     Relations in use<br /><br /> 72:    LISTEPBH                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODLISTA + DESCRIZ                 ILHCOD<br />           DESCRIZ + CODLISTA                 ILHDES<br />           CP + CODLISTA + DESCRIZ            ILHCP<br />           LISTACEDI + CODLISTA + DESCRIZ     ILHCEDI<br />           CP + POSDEF + POSCOD               ILHCPDEF<br /><br />     Relations in use<br /><br /> 73:    OFF_GEN                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          5            6      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Offerta                            I_CODICE<br />           OffCedi + Categoria                I_CEDI<br />           Stato + Offerta                    I_STATO<br />           Stato + Attiva + Data_Ini          I_STATOATT<br />           ForCod + Stato + Data_Ini          I_FORN<br /><br />     Relations in use<br /><br /> 74:    OFF_VAL                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1          466      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Offerta+PosDef+PosCod+StrZero(SogliI_CODICE<br /><br />     Relations in use<br /><br /> 75:    OFF_ATT                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          2            2      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Offerta  + Articolo                I_OFFERTA<br />           Articolo + Offerta                 I_ARTICOLO<br /><br />     Relations in use<br /><br /> 76:    OFF_MAG                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          6            6      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Offerta+StrZero(Magazzino,2)       I_CODICE<br />           StrZero(Magazzino,2)+Stato+Attiva+OI_STATOATT<br /><br />     Relations in use<br /><br /> 77:    OFF_ARTI                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          3          467      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Offerta+PosDef+PosCod              I_CODICE<br />           PosDef+PosCod+Offerta              I_POSART<br />           Offerta+Stato+PosDef+PosCod        I_STATO<br /><br />     Relations in use<br /><br /> 78:    OFF_MIX                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          3            3      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Offerta+PosDef+PosCod+Articolo+PaniI_CODICE<br />           Offerta+PosKey+Paniere+SubPan+SogliI_POSKEY<br />           OffMix                             I_OFFMIX<br /><br />     Relations in use<br /><br /> 80:    FORNSUD                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />       5464        88859      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Fornitore+CodicePri                IFORSUD<br />           Articolo+Fornitore                 IARTFOR<br /><br />     Relations in use<br /><br /> 82:    INFOREG                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Art_Cas+Raccolta                   I_ARTCAS<br />           Raccolta+Art_Cas                   I_RACCOLTA<br />           Articolo+Art_Cas+Raccolta          I_ARTREG<br /><br />     Relations in use<br /><br /> 83:    OFF_INFO                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Offerta+PosDef+PosCod+Articolo+StrZI_CODICE<br />           Articolo+StrZero(Magazzino,2)      I_ARTICOLO<br />           Offerta+StrZero(Magazzino,2)       I_OFFERTA<br />           Articolo+Offerta+StrZero(Magazzino,I_ARTOFF<br /><br />     Relations in use<br /><br /> 87:    ARTDICT                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />      97248       208287      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Parola + Articolo                  IWORDDIC<br />           Articolo + Parola                  IARTDIC<br /><br />     Relations in use<br /><br /> 88:    FORNDAT                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         32           42      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => FORNITORE                          IFORCOD<br /><br />     Relations in use<br /><br /> 89:    DEPOS                              RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          2            1      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => DEPCOD                             IDEPCOD<br />           DEPCEDI                            IDEPCEDI<br /><br />     Relations in use<br /><br /> 91:    IVA                                RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          6            5      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODICE                             IIVACOD<br />           COD_IVA                            IIVAIVA<br />           VAL_IVA                            IIVAVAL<br /><br />     Relations in use<br /><br /> 93:    ETICTR                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />        223          299      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => ART_BIL                            IETICOB<br />           Art_Cas                            IETICOC<br /><br />     Relations in use<br /><br /> 94:    OFF_ECR                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          9           10      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Offerta + Magazzino + Tipo_Cod + ArI_OFFERTA<br />           Magazzino + Tipo_Cod + Art_Cas + OfI_ARTCAS<br />           Magazzino + Articolo + Offerta     I_ARTICOLO<br /><br />     Relations in use<br /><br /> 96:    INFOCAS                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         58        17701      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Articolo+Cassa+Tipo                ICASART<br /><br />     Relations in use<br /><br /> 97:    LISTEPBR                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CODLISTA + ARTICOLO                ILRCOD<br />           ARTICOLO + CODLISTA                ILRART<br /><br />     Relations in use<br /><br /> 98:    FORN_MAG                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => FORCOD + FORCODMAG                 IFORCOD<br />           FORCOD + MAG                       IFORMAG<br /><br />     Relations in use<br /><br /> 99:    SERVIZI                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1           50      .F.   .F.<br /><br />     Indexes in use                        TagName<br /><br />     Relations in use<br /><br />100: => ABC                                RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         44           43      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => VAL                                ITEMP<br /><br />     Relations in use<br /><br />103:    INSART                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         15          360      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => FORNITORE + CLASSE + DESCRIZ       INSCLA<br />           FORNITORE + DESCRIZ                INSDES<br />           TIPOAGG                            INSTIP<br />           FORNITORE + CODARTFOR              INSFOR<br />           RIF_FORN + RIF_ARTF                INSRIF<br />           FORNITORE+TIPOAGG+CLASSE+DTOS(DATVAIAGFOCL<br />           FORNITORE+TIPOAGG+DTOS(DATVAR)+CLASIAGFODT<br />           RIF_FORN +TIPOAGG+CLASSE+DTOS(DATVAIAGRFCL<br />           RIF_FORN +TIPOAGG+DTOS(DATVAR)+CLASIAGRFDT<br /><br />     Relations in use<br /><br />108:    INSARTCO                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         13          369      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => FORNITORE + CODARTFOR              INSFOR<br />           TIPO_COD + CODICE + FORNITORE      INSTIPCOD<br /><br />     Relations in use<br /><br />111:    FORNRIF                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         27           27      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => FORCOD                             IRIFCOD<br />           FORNUM                             IRIFNUM<br />           FOREXT                             IRIFEXT<br /><br />     Relations in use<br /><br />112:    TMPDOCH                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CodInt                             CODICE<br />           Magaz+Data                         MAGAZ<br /><br />     Relations in use<br /><br />113:    TMPDOCR                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CodInt                             CODICE<br /><br />     Relations in use<br /><br />114:    NRTEXT                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => NRCODICE                           I_CODICE<br /><br />     Relations in use<br /><br />120:    TIPOPR                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => TIPOPR                             ITIPOPR<br />           DESPR                              IDESPR<br /><br />     Relations in use<br /><br />121:    GENERALE                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />        315          314      .F.   .T.<br /><br />     Indexes in use                        TagName<br />        => ARTICOLO                           IGENART<br />           CODICE                             IGENCOD<br />           CODLIV+ARTICOLO                    IGENLIV<br />           TIPOASS+ARTICOLO                   I_TIPOASS<br /><br />     Relations in use<br /><br />125:    FORN_CONTR                         RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CodContr                           ICONTRAT<br />           Fornitore+Contratto                IFORCONT<br />           Anno+Fornitore+Cd_Linea            IANNO<br /><br />     Relations in use<br /><br />126:    FORN_CARTI                         RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CodContr+Articolo                  ICONTRAT<br />           Articolo+Fornitore                 IARTFOR<br />           Fornitore+Articolo                 IFORART<br />           CodContr+Fornitore+Articolo        ICONTART<br /><br />     Relations in use<br /><br />127:    FORN_CMAG                          RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => CodContr+Str(Magazzino,2,0)        ICONTRAT<br /><br />     Relations in use<br /><br />201:    CLIENTI                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            1      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Cliente                            I_CLICOD<br />           Nome+Nome1                         I_CLINOME<br />           PartIva                            I_CLIIVA<br />           VarCli                             I_CLIEXP<br />           CodTessera                         I_TESSERA<br />           CliCedi                            I_CLICEDI<br /><br />     Relations in use<br /><br />202:    CLI_DEST                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Cliente                            I_CLIDEST<br /><br />     Relations in use<br /><br />203:    CLI_REP                            RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Cliente + Reparto                  I_CLIREP<br />           Cliente + Fornitore                I_CLIFOR<br /><br />     Relations in use<br /><br />204:    CLI_LIST                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Cliente+Articolo+dtos(DataIniz)    I_CLILIST<br />           Articolo+Cliente+dtos(DataIniz)    I_CLIARTI<br /><br />     Relations in use<br /><br />205:    CLI_TARG                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Cliente                            I_CLITARGE<br /><br />     Relations in use<br /><br />206:    CLI_VETT                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Cliente                            I_CLIVETT<br /><br />     Relations in use<br /><br />211:    FATH                               RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            2      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Doc_Cod                            I_FHCOD<br />           Magaz + Doc_Tipo + Left(Dtos(Doc_DaI_FHNUM<br />           Magaz + Doc_Tipo + Dtos(Doc_Data)  I_FHDATA<br />           Magaz + Cliente + Doc_Tipo+Dtos(DocI_FHCLI<br />           Magaz + Cliente + Left(dtos(Doc_DatI_FHCLIANN<br />           Magaz + Doc_Tipo + Cliente         I_FHDOC<br />           Magaz + Left(dtos(Doc_Data),4) + clI_FHANNO<br />           Magaz + Left(dTos(Doc_Data),4) + DTI_FHANNDAT<br />           Export                             I_FHEXP<br />           if(empty(Fatturato),"</span><span style="color: #000000;">0</span><span style="color: #ff0000;">","</span><span style="color: #000000;">1</span><span style="color: #ff0000;">") + Doc_I_FHFAT<br />           Cliente + Dtos(Doc_Data)           I_FHCLIDAT<br /><br />     Relations in use<br /><br />212:    FATR                               RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            5      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => Doc_Cod+PD_Cod                     I_FRCOD<br />           PD_Cod +Doc_cod                    I_FRPIEDE<br />           Doc_Cod                            I_FRDOCINS<br />           Doc_Cod+Doc_Riga                   I_FRRIGA<br />           Doc_Cod+Cod_Tipo+Cod_Ean           I_FREAN<br />           Doc_Cod+Articolo                   I_FRART<br /><br />     Relations in use<br /><br />213:    FATP                               RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Doc_Cod+PD_Cod                     I_FPDOC<br />           Rif_Doc                            I_FPBOLLA<br /><br />     Relations in use<br /><br />215:    SCONTR                             RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Magaz+dtos(Data)+Cassa+Numero+RiferI_DATSCO<br />           Doc_Cod                            I_DOCSCO<br /><br />     Relations in use<br /><br />216:    HEADSCONT                          RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            0      .T.   .T.<br /><br />     Indexes in use                        TagName<br />        => Magazzino+dToS(Data)+Ora+Cassa+NumeI_HEADSCO<br />           Magazzino+CodTessera+dToS(Data)+PagI_FILTER<br /><br />     Relations in use<br /><br />231:    SCADH                              RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            1      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => CodScad                            CODICE<br />           Dtos(DataDoc)                      DATA<br />           TipoMov                            TIPOMOV<br />           TipoDoc                            TIPODOC<br />           CodSog                             SOGGETTO<br />           StatoPag                           STATO<br />           Dtos(DataDoc)                      NEWDOC<br />           TipoMov+CodSog+Dtos(DataDoc)+NumDocFINDDOC<br />           Magazzino                          MAGAZ<br />           Magazzino+CodSog+TipoDoc+NumDoc+DtoI_MAGDOC<br />           Magazzino+TipoDoc+Cod_Doc          I_CODDOC<br /><br />     Relations in use<br /><br />232:    SCADR                              RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            1      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => CodScad+NumScad                    CODICE<br />           Dtos(DataScad)                     DATA<br />           StatoPag                           STATO<br />           CodSog                             SOGGETTO<br />           TipoMov                            TIPOMOV<br /><br />     Relations in use<br /><br />233:    SCADP                              RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            2      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => CodScad                            CODICE<br /><br />     Relations in use<br /><br />234:    SOGGETTI                           RddName: DBFCDX<br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />          1            1      .F.   .F.<br /><br />     Indexes in use                        TagName<br />        => CodSog                             CODICE<br />           TipoSog+CodRif                     CODTIPO<br />           TipoSog+PartIva                    IVA<br />           TipoSog+RagSoc+RagExt              NOME<br /><br />     Relations in use<br /><br />Classes in use:<br />===============<br />     1 ERROR<br />     2 HBCLASS<br />     3 HBOBJECT<br />     4 SCALAROBJECT<br />     5 ARRAY<br />     6 BLOCK<br />     7 CHARACTER<br />     8 DATE<br />     9 HASH<br />    10 LOGICAL<br />    11 NIL<br />    12 NUMERIC<br />    13 POINTER<br />    14 CHARACTER<br />    15 NUMERIC<br />    16 ARRAY<br />    17 HASH<br />    18 BLOCK<br />    19 TWINDOW<br />    20 TCONTROL<br />    21 TBTNBMP<br />    22 TPRINTER<br />    23 TINI<br />    24 TSTATICINI<br />    25 TBRUSH<br />    26 TUSERPOS<br />    27 TDIALOG<br />    28 TICON<br />    29 TBITMAP<br />    30 TSAY<br />    31 TGET<br />    32 GET<br />    33 TCLIPGET<br />    34 TCOMBOBOX<br />    35 TBUTTON<br />    36 TFONT<br />    37 TRECT<br />    38 TMSGBAR<br />    39 TMSGITEM<br />    40 TTIMER<br />    41 TREG32<br />    42 TMENU<br />    43 TMENUITEM<br />    44 TBAR<br />    45 TCURSOR<br />    46 TEXPLORERBAR<br />    47 TSCROLLBAR<br />    48 TTASKPANEL<br />    49 TURLLINK<br />    50 TIMAGE<br />    51 TANIMATE<br />    52 TPROGRESS<br />    53 TOBJECTS<br />    54 TBANCHIBILANCIA<br />    55 TCATEGORIE<br />    56 TDISTINTEBASE<br />    57 TFORNITORI<br />    58 TGRUPPI<br />    59 TPRODUTTORI<br />    60 TREPARTI<br />    61 TPANIERI<br />    62 TTIPIPREZZO<br />    63 TLISTEARTICOLI<br />    64 TTIPIASSORTIMENTO<br />    65 TLISTEPREZZIBLOCCATI<br />    66 TSUDDIVISIONILIVELLO1<br />    67 TXMLDOCUMENT<br />    68 TXMLNODE<br />    69 TSTRUCT<br />    70 TOFFERTA<br />    71 TOFFERTE<br />    72 TELENCO<br />    73 TGROUP<br />    74 TTREEVIEW<br />    75 ARTMOD<br />    76 TARTICOLOFORNITORE<br />    77 TOBJECT<br />    78 TFORNITORE<br />    79 TCODICEFORNITORE<br />    80 TLISTINO<br />    81 TMOVIMENTO<br />    82 TXBROWSE<br />    83 TXBRWCOLUMN<br />    84 TCHECKBOX<br />    85 TSPLITTER<br />    86 TCATEGORIA<br />    87 TCLASSI<br />    88 TCLASSE<br />    89 TTVITEM<br />    90 TRADMENU<br />    91 TRADIO<br />    92 TLISTAARTICOLI<br />    93 TLISTAARTICOLIARTICOLO<br />    94 TLISTAPREZZIBLOCCATI<br />    95 TDATEPICK<br />    96 TISCAN<br />    97 TARTICOLOMOVIMENTI<br />    98 TCODICEVENDITA<br />    99 TPREZZI<br />   100 TARTICOLOSTATISTICHE<br />   101 TTIPOPREZZO<br />   102 TLISTBOX<br />   103 TREPORT<br />   104 TPEN<br />   105 TRLINE<br />   106 TRCOLUMN<br />   107 TPREVIEW<br />   108 TIMAGELIST<br />   109 TLISTVIEW<br />   110 TMETAFILE<br />   111 TGRAPH<br /><br />Memory Analysis<br />===============<br />      1048 Static variables<br /><br />   Dynamic memory consume:<br />      Actual  Value:          0 bytes<br />      Highest Value:          0 bytes<br /></span></div>[/code:afoxwf4z] I am sorry, but I don't have more information. Regards, Perry
creación oath_signature en oath 1.0
Hello everyone, I have a problem creating a signature to validate my identity in an oath 1.0 system y have this credentials oauth_consumer_key="8pr53tcagfih9bpvo24m1t8z9xd42tx3", oauth_nonce="W6ndLpigOjP025vmvGSJdqEEylRUusgg", oauth_signature_method="HMAC-SHA256", oauth_timestamp="1697034473", oauth_token="jx9997t7pd3ldvjemmiz9co6qtxj3igk", oauth_version="1.0"' \ and.... Consumer Secret and Access Token Secret I create the oath_signature parmeter with openssl 1- I create a file param.txt with the method, uri and parameters POST&http://testting.ip.xxxxxxxcontent.com/staging.cal/rest/V1/products&oauth_consumer_key=8pr53tcagfih9bpvo24m1t8z9xd42tx3&oauth_nonce=W6ndLpigOjP025vmvGSJdqEEylRUusgg&oauth_signature_method=HMAC-SHA256&oauth_timestamp=1697034473&oauth_token=jx9997t7pd3ldvjemmiz9co6qtxj3igk&oauth_version=1.0 2- I run openssl.exe openssl dgst -hmac "CONSUMER_SECRET&$ACCESS_TOKEN_SECRET" -binary -sha256 < param.txt 3 - i convert de binary result to base64, and the result is not valid ! Is there a way to generate the valid signature in some way? best regards , jorge
creación oath_signature en oath 1.0
Hello, Check out this link and it may help you with your problem. [url] <!-- m --><a class="postlink" href="https://forum.modharbour.app/viewtopic.php?f=25&t=459&p=1394&hilit=TOKEN#p1394">https://forum.modharbour.app/viewtopic. ... OKEN#p1394</a><!-- m --> [/url] It is an excellent contribution to the JSON Web Token (JWT) support Saludos,
creación oath_signature en oath 1.0
David, The problem I had is how I put together the string to be encrypted, when to consider or not the characters that should be converted to hexadecimal, that was solved, both your contribution and openssl work perfectly thanks again best regards
crear DLL
Estimado Jesús Podés usar PELLESC para crear DLL Descargar de Aquí: [url:2bjxf7rd]http&#58;//www&#46;smorgasbordet&#46;com/pellesc/[/url:2bjxf7rd] También lo podes guardar como .RES y se incluye como un .PRG mas. Y te queda portable el EXE.
crear DLL
[quote="acuellar":jz80xbrj]Estimado Jesús Podés usar PELLESC para crear DLL Descargar de Aquí: [url:jz80xbrj]http&#58;//www&#46;smorgasbordet&#46;com/pellesc/[/url:jz80xbrj] También lo podes guardar como .RES y se incluye como un .PRG mas. Y te queda portable el EXE.[/quote:jz80xbrj] Estimado Adhemar, donde bajo el PELLESC.exe para Windows 7 de 32 bits? Gracias. Regards, saludos.
crear DLL
Buenos dias a todos Alguien me puede orientar cómo crear y utilizar una DLL ? Quiero tener en la DLL unas imagenes y luego poderlas utilizar Gracias
crear DLL
Estimado Jesús, buenos dias en la carpeta FWH\DLL tienes el fichero rc2dll32.bat que te construye una DLL a partir de un fichero RC
crear DLL
Buenos dias Antonio Gracias por responder. Primer paso resuleto. Con el fichero bat se genera la DLL Pero, ¿cómo creo el fichero RC ? Con qué herramienta ? Mil gracias
crear DLL
Un fichero RC es un fichero ascii que puedes crear a mano Tienes muchos ejemplos en FWH\samples *.rc Puedes usar cualquier editor de recursos: resedit, etc.
crear DLL
Estimado João El Setup.exe funciona para ambas plataformas.
crear DLL
[quote="acuellar":3r59slgb]Estimado João El Setup.exe funciona para ambas plataformas.[/quote:3r59slgb] No estimado, no funciona: [url:3r59slgb]https&#58;//imgur&#46;com/suNxfK5[/url:3r59slgb] [img:3r59slgb]https&#58;//i&#46;imgur&#46;com/suNxfK5&#46;png[/img:3r59slgb] Gracias, regards, saludos.
crear DLL
[quote="acuellar":3tf1ec3a]Estimado Jesús Podés usar PELLESC para crear DLL Descargar de Aquí: [url:3tf1ec3a]http&#58;//www&#46;smorgasbordet&#46;com/pellesc/[/url:3tf1ec3a] También lo podes guardar como .RES y se incluye como un .PRG mas. Y te queda portable el EXE.[/quote:3tf1ec3a] Buenos dias He instalado PELLES C Pero, y ahora qué ? De momento solo quiero añadir unas imagenes y crear la DLL Me puedes ilustrar en cómo hacerlo ? o tal vez, ¿sabes de algún manual? Gracias
crear DLL
> De momento solo quiero añadir unas imagenes y crear la DLL Que extensión (jpg, jpeg, bmp, gif, etc) tienen las imágenes ?
crear DLL
[quote="Antonio Linares":17gf4tur]> De momento solo quiero añadir unas imagenes y crear la DLL Que extensión (jpg, jpeg, bmp, gif, etc) tienen las imágenes ?[/quote:17gf4tur] Buenos dias Antonio Ahora son .BMPs pero puedo pasarlo a JPG Gracias
crear DLL
[img:2oasqlzi]https&#58;//i&#46;postimg&#46;cc/mZFxwc3V/Prueba&#46;png[/img:2oasqlzi]
crear DLL
Estimado Jesús Como indica Manuel con botón derecho Import con Bitmap para ,BMP Import con Data para .JPG lo cual hace que el .DLL ó .RES sea mas pequeño, En Resource files poner All files