messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2007-01-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I answered 2. myself: wndMain():oWndClient:aWnd[1]:MAXIMIZE()\n(thanks to James Bott's 'bring window to the front')",
"time": "10:39",
"topic": "Closing Windows neatly",
"username": "Ollie"
}
] | Closing Windows neatly |
[
{
"date": "2007-01-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ollie,\n\nBetter check if the table is already in use, and/or disable the menuitems and buttons to reopen a window meanwhile it is open",
"time": "11:05",
"topic": "Closing Windows neatly",
"username": "Antonio Linares"
}
] | Closing Windows neatly |
[
{
"date": "2007-01-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Ollie\":342ast4i]I have a MDI application that opens different databases, say CLIENTS, SUPPLIERS and MANUFACTURERS.\n\nI open each as a MDICHILD. (I use resources, so I have a borderless dialog the same size of the MDICHILD) (as taught to be my Antonio Linares and fwh\\samples\\TestMdi4.prg )\n\n\n1. I want to prevent the user from opening the same table more than once, so I need to check before opening, if the window is defined - ISWINDOW() doesn't seem to be working - is it me? Is that correct way? \n\nHi,\n I use tis code to check if window with the same title is already opened:\n\nfor i := 1 to len(oWnd:oWndclient:aWnd)\n if 'MDICHILD'$oWnd:oWndclient:aWnd[i]:classname()\n jcaption:=alltrim(oWnd:oWndclient:aWnd[i]:cCaption)\n if jcaption==alltrim(newcaption) //Alreadyhave MDI child with this name\n oWnd:oWndclient:aWnd[i]:Setfocus()\n return\n \n\n endif\n endif\nnext\n[/quote:342ast4i]",
"time": "14:25",
"topic": "Closing Windows neatly",
"username": "Taavi"
}
] | Closing Windows neatly |
[
{
"date": "2007-01-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Taavi, I'll give it a try.\n\nAntonio - how can I be sure that the databases are closed no matter how the user closes the screen. \n\nE.g. If he presses the 'close' button, I check that the data is saved and that the tables are closed.\n\nIf he presses the Child 'X' to close or the Application 'X' to close - the checks don't get done.",
"time": "22:52",
"topic": "Closing Windows neatly",
"username": "Ollie"
}
] | Closing Windows neatly |
[
{
"date": "2007-01-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I use a static variable then when i come in i set the var in \"9999\" and later if try to in one more time i see if the var is set to NIL or <> NIL\nthen when i finish restart de var to NIL .....\nthat's my way !!",
"time": "14:54",
"topic": "Closing Windows neatly",
"username": "dbzap"
}
] | Closing Windows neatly |
[
{
"date": "2007-01-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have a same problem\n\nI use this code:\n[code:y6u7hfhv]\n#command OPEN <(db)> ;\n [VIA <rdd>] ;\n [ALIAS <a>] ;\n [<new: NEW>] ;\n [<ex: EXCLUSIVE>] ;\n [<sh: SHARED>] ;\n [<ro: READONLY>] ;\n [INDEX <(index1)> [, <(indexn)>]] ;\n => if Select( <(db)> )==0 ;\n ; dbNetUseArea( <.new.>, <rdd>, <(db)>, <(a)>, if(<.sh.> .or. <.ex.>, !<.ex.>, NIL), <.ro.>, 0 )[; dbSetIndex( <(db)> )];\n ;else ;\n ; dbSelectArea( <(db)> ) ;\n ;endif\n[/code:y6u7hfhv]\n\nIn [b:y6u7hfhv]if Select( <(db)> )[/b:y6u7hfhv] you pass the table name and if is not in memory open or just select the open table.\n\n[code:y6u7hfhv]\n...\nif Select( \"clients\" )==0\n use CLIENTS shared new index ...\nelse\n dbSelectArea( \"clients\" )\nendif\n...\n[/code:y6u7hfhv]",
"time": "16:06",
"topic": "Closing Windows neatly",
"username": "Rochinha"
}
] | Closing Windows neatly |
[
{
"date": "2013-07-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "To All\n\nI have written a Compact and Repair Access database routine under program control however even though I have no active tables, recordsets, or connections open .. I can not seem to close the .Mdb Database and have Access remove the .Ldb. ( at this point I am the only user .. no other connections or network users present ) \n\nI do notice that when my program Quits, all resources, files and databases are closed and the Access .Ldb is removed.\n\nIs there a way under program control to release all Connections to an Access database so I can close the .Ldb ?\n\nAgain, my program does not rely on any active connections but I pass the Ado connection string to open a recordset each time I wish to open a table.\n\nI would be most grateful If anyone knows how I can truly CLOSE a database ( under program control ) and make the .Ldb go away so I can run my Compact and Repair routine?\n\nThanks\nRick Lipkin",
"time": "22:44",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Rick Lipkin"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Rick\n\nIf I remember right, you always open recordset with connection string each time.\nThis is what I observed from your postings.\n\nThat means if you open 5 record sets you have opened 5 independent connections to the MDB.\n\nWhen you close the recordset, you call oRs:Close(), but never close the connection explicitly. That means the connection is still active and open even after you closed recordset. That in turn means if you opened the same recordset 10 times and closed 10 times, there are still 10 independent active -connections open.\n\nIf you adopt the approach of opening recordsets with connection strings, when u close the recordset, please\noRs:Close()\noRs:ActiveConnection:Close()\n\nOR\n\nOpen connection once at the beginning, use the same connection object for all recordsets and finally close the connection object.\n\nEven after that wait for about 100 secs or so before assuming that you are totally detached from the mdb.",
"time": "23:47",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:k1qia0xj]Even after that wait for about 100 secs or so before assuming that you are totally detached from the mdb.[/quote:k1qia0xj]\n\nI assume this is to wait for the write cache to be written to disk. I know the COMMIT command is for DBF's but I wonder if it just forces the write cache for the entire app to be written? Maybe try it.\n\nRegards,\nJames",
"time": "00:28",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "James Bott"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"James Bott\":2kt9ibgj][quote:2kt9ibgj]Even after that wait for about 100 secs or so before assuming that you are totally detached from the mdb.[/quote:2kt9ibgj]\n\nI assume this is to wait for the write cache to be written to disk. I know the COMMIT command is for DBF's but I wonder if it just forces the write cache for the entire app to be written? Maybe try it.\n\nRegards,\nJames[/quote:2kt9ibgj]\nI advised it as matter of caution.\nIn another posting, one of colleagues complained about similar issue regarding SqLite database. In that case, on the advice of EMG, we tried delay of 100 seconds and it worked.",
"time": "01:15",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here is some info by Microsoft:\n\nHow to shut down a custom Access application remotely\n[url:khptd1ia]http://support.microsoft.com/kb/304408[/url:khptd1ia]\n\nThe sample code is in VB but these are the commands I think you need:\n\n Application.Quit acQuitSaveAll\n\nI don't know how to translate them into ADO.\n\nRegards,\nJames",
"time": "01:18",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "James Bott"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "That is not ADO.\nThat is a code inside Access Forms, to close the application. I mean the Access Aplication. \n\nIn ADO we never open the Access Application.",
"time": "01:27",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "NageswaraRao,\n\n[quote=\"nageswaragunupudi\":3r63rzlg]When you close the recordset, you call oRs:Close(), but never close the connection explicitly. That means the connection is still active and open even after you closed recordset.[/quote:3r63rzlg]\n\nAs far as I know, oRs:Close() closes the related connection too.\n\nEMG",
"time": "09:09",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Enrico Maria Giordano"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Rao\n\n[quote:2jvskg15]\nIf you adopt the approach of opening recordsets with connection strings, when u close the recordset, please\noRs:Close()\noRs:ActiveConnection:Close()\n[/quote:2jvskg15]\n\nI tested your above suggestion .. when I open my applications I open a security table ( just once ) and the .ldb was created .. I added the ActiveConnection:CLose() after the recordset close() and INDEED the .ldb went away.\n\nNow I am at a crossroads .. asking myself, what harm is there in leaving a ( single ) active connection open which is no different than opening a connection and passing it to each recordset as I need it ?\n\nMy only concern ( as Rao mentions ) .. everytime I open a recordset does the number of connections continue to add up ?? or is a connection a ( single ) connection and once you open a recordset does the active connections keep increasing or is the same connection recycled with the next open recordset ?\n\nI am going to test my concerns shortly .. the only advantage in creating the ( on-demand ) connection ( just passing the connection 'string' ) each time I open a recordset is that I do not have to keep an active oCn and count on it to be active at any one time in my application ( potentially ) giving me an un-welcomed run-time surprise at any point when I open a new recordset.\n\nDon't know if there is any right or wrong answer here .. my only concern is what if any ramifications there are if the open connections continue to add up each time I open a new recordset and what harm ( pragmatically if any ) does that cause... or perhaps a licensing issue with the number of active connections if active connections are counted as concurrent licenses. In all my years in State government I never had a licensing issue with Sql Server with any of my applications.\n\nRick Lipkin",
"time": "14:15",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Rick Lipkin"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Rick,\n\n[quote=\"Rick Lipkin\":19dyvhlb]I added the ActiveConnection:CLose() after the recordset close() and INDEED the .ldb went away.[/quote:19dyvhlb]\n\nI think the problem is the ownership of oRs variable. Try with a straghtforward code like this:\n\n[code=fw:19dyvhlb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oRs = CREATEOBJECT<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ADODB.Recordset\"</span> <span style=\"color: #000000;\">)</span><br /><br />oRs:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">(</span> ... <span style=\"color: #000000;\">)</span><br /><br />...<br /><br />oRs:<span style=\"color: #000000;\">Close</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span></div>[/code:19dyvhlb]\n\nYou will see that LDB file is automatically closed and deleted. If you are using a browse, it is probably the browse itself that keeps the ownership of oRs variable preventing it to properly close.\n\nEMG",
"time": "14:28",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Enrico Maria Giordano"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico\n\nI tried your suggestion with this code :\n\n[code=fw:3t3x9c17]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oRsUser := CREATEOBJECT<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ADODB.Recordset\"</span> <span style=\"color: #000000;\">)</span><br /><br />*oRsUser := TOleAuto<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ADODB.Recordset\"</span> <span style=\"color: #000000;\">)</span><br />*oRsUser:<span style=\"color: #000000;\">CursorType</span> := <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// opendkeyset</span><br />*oRsUser:<span style=\"color: #000000;\">CursorLocation</span> := <span style=\"color: #000000;\">3</span> <span style=\"color: #B900B9;\">// local cache</span><br />*oRsUser:<span style=\"color: #000000;\">LockType</span> := <span style=\"color: #000000;\">3</span> <span style=\"color: #B900B9;\">// lockoportunistic</span><br /><br />cSQL := <span style=\"color: #ff0000;\">\"SELECT * From [Staff] Order by [Lname]\"</span><br /><br /><span style=\"color: #00C800;\">TRY</span><br /> oRsUser:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">(</span>cSQL,xConnect, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> <br />CATCH oErr<br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Error in Opening Staff table\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span>.F.<span style=\"color: #000000;\">)</span><br />END <span style=\"color: #00C800;\">TRY</span><br /><br />...<br />...<br /><br />oRsUser:<span style=\"color: #000000;\">CLose</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:3t3x9c17]\n\nThe .ldb was created .. but after the close() the .ldb remained <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> .. Do you see anything in the above code you would change ? .. xConnect is just the connection string.\n\nThanks\nRick",
"time": "15:04",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Rick Lipkin"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok, as I said, the problem is the variable oRs ownership. Try the sample below:\n\n[code=fw:djgv9c92]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#define</span> adOpenForwardOnly <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> adOpenKeyset <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> adOpenDynamic <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> adOpenStatic <span style=\"color: #000000;\">3</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> adLockReadOnly <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> adLockPessimistic <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> adLockOptimistic <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> adLockBatchOptimistic <span style=\"color: #000000;\">4</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> adUseNone <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> adUseServer <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> adUseClient <span style=\"color: #000000;\">3</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> TEST<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> INKEY<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> TEST<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oRs := CREATEOBJECT<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ADODB.Recordset\"</span> <span style=\"color: #000000;\">)</span><br /><br /> oRs:<span style=\"color: #000000;\">CursorLocation</span> = adUseClient<br /><br /> oRs:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"SELECT * FROM Clienti ORDER BY Cliente\"</span>, <span style=\"color: #ff0000;\">\"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=clienti.mdb\"</span>, adOpenForwardOnly, adLockReadOnly <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">WHILE</span> !oRs:<span style=\"color: #000000;\">EOF</span><br /> ? oRs:<span style=\"color: #000000;\">Fields</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Cliente\"</span> <span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">Value</span><br /> oRs:<span style=\"color: #000000;\">MoveNext</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDDO</span><br /><br /> oRs:<span style=\"color: #000000;\">Close</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:djgv9c92]\n\nEMG",
"time": "15:54",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Enrico Maria Giordano"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico\n\nUnfortunately modifying my code like yours had no effect on closing the .Ldb. The only difference in my connection string is that I have a password on my .mdb.\n\nHere is my code based on your suggestion.\n\nRick Lipkin\n[code=fw:i8pgb2sj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />xPROVIDER := <span style=\"color: #ff0000;\">\"Microsoft.Jet.OLEDB.4.0\"</span><br />xSOURCE := cDEFA+<span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\G</span>room.mdb\"</span><br />xPASSWORD := <span style=\"color: #ff0000;\">\"xxxxxxxx\"</span><br /><br />xCONNECT := <span style=\"color: #ff0000;\">'Provider='</span>+xPROVIDER+<span style=\"color: #ff0000;\">';Data Source='</span>+xSOURCE+<span style=\"color: #ff0000;\">';Jet OLEDB:Database Password='</span>+xPASSWORD<br /><br />oRsUser := CREATEOBJECT<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ADODB.Recordset\"</span> <span style=\"color: #000000;\">)</span><br /><br />*oRsUser := TOleAuto<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ADODB.Recordset\"</span> <span style=\"color: #000000;\">)</span><br />*oRsUser:<span style=\"color: #000000;\">CursorType</span> := <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// opendkeyset</span><br />oRsUser:<span style=\"color: #000000;\">CursorLocation</span> := <span style=\"color: #000000;\">3</span> <span style=\"color: #B900B9;\">// local cache</span><br />*oRsUser:<span style=\"color: #000000;\">LockType</span> := <span style=\"color: #000000;\">3</span> <span style=\"color: #B900B9;\">// lockoportunistic</span><br /><br />cSQL := <span style=\"color: #ff0000;\">\"SELECT * From [Staff] Order by [Lname]\"</span><br /><br /><span style=\"color: #00C800;\">TRY</span><br /> oRsUser:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">(</span>cSQL,xConnect, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br />CATCH oErr<br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Error in Opening Staff table\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span>.F.<span style=\"color: #000000;\">)</span><br />END <span style=\"color: #00C800;\">TRY</span><br /><br /><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Check ldb\"</span> <span style=\"color: #000000;\">)</span><br />oRsUser:<span style=\"color: #000000;\">CLose</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />SysReFresh<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Check Closed\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">(</span>.f.<span style=\"color: #000000;\">)</span><br /> </div>[/code:i8pgb2sj]",
"time": "16:24",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Rick Lipkin"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Rick,\n\nYou didn't get the point. You must test the LDB when oRs has gone out of scope. Please, test my exact sample changing only the connection string and the query.\n\nEMG",
"time": "16:31",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Enrico Maria Giordano"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Rick,\n\nIs it the same problem that I had in this topic?\nI couldn't delete the file brcause it was not completely closed.\n\n[url:3a7cxtd1]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26787[/url:3a7cxtd1]",
"time": "17:34",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Marc Vanzegbroeck"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Enrico Maria Giordano\":1sw9157w]Rick,\n\nYou didn't get the point. You must test the LDB when oRs has gone out of scope. Please, test my exact sample changing only the connection string and the query.\n\nEMG[/quote:1sw9157w]\nI got your point. I am working on this.\nIt also means \"all references in the memory\" to this recordset object should go out of scope. Right?",
"time": "17:38",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marc\n\nNo, if I recall your issue was with SqlLite ?? not closing when you quit your app. This has to do with how a recordset is defined and created at runtime and as Enrico mentions the runtime scope of the recordset object.\n\nTwo ways you can create a recordset is to Open() with the Sql statement and a connection string, OR a pre-opened global connection OBJECT.\n\nWhat I did not know is that when working with Ms Access .. the .ldb does not necessarily go away when you Close() a recordset specifically created with a connection string. So as you open and close many recordsets, you accumulate many 'active' connections.\n\nWhere this came into focus for me was that I created a Repair and Compact utility for Ms Access ( .mdb ) and to work properly, the .ldb MUST be closed. I searched and searched for any possible recordsets I potentially did not Close() and found none.. so if there are no tables open .. why did the .ldb not go away ?\n\nI went back thru my code and 'found and replaced' all my Recordsets that opened with a connection string and replaced that string parameter with an active global connection object I created at the top of my program.\n\nNOW .. when I go to my 'repair and compact' routine .. all I have to do is close the global connection oCn:CLose() and the .ldb goes away... run my routine and re-establish the global connection oCn... and the application continues to run fine.\n\nAgain .. this is all well and good as long as nothing happens to interrupt the global connection object.\n\nThis has been an interesting learning experience .. \n\nRick Lipkin",
"time": "18:32",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Rick Lipkin"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Marc Vanzegbroeck\":3i11p4po]Rick,\n\nIs it the same problem that I had in this topic?\nI couldn't delete the file brcause it was not completely closed.\n\n[url:3i11p4po]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26787[/url:3i11p4po][/quote:3i11p4po]\n\nMr Mark\n\nUnless we test with simplest possible code, we can not figure out whats going wrong and why. (Note: This is what one can learn from Mr. EMG's postings)\n\nPlease see the code I am about to post now in the thread you referred above. We can erase the file without waiting after closing the connection.",
"time": "18:42",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "NageswaraRao,\n\n[quote=\"nageswaragunupudi\":3eb42cqn]I got your point. I am working on this.\nIt also means \"all references in the memory\" to this recordset object should go out of scope. Right?[/quote:3eb42cqn]\n\nSuppose so.\n\nEMG",
"time": "18:43",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Enrico Maria Giordano"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr EMG\n\n[quote:1t5pgp0t]Suppose so.[/quote:1t5pgp0t]\nIt IS so.\nI am testing. After some preliminary tests, I can now confirm that in fact it is so.\n\nI get back to you with more details later, but broadly what is happening is this.\nAfter we open a recordset, we are not just doing simple operations and closing the recordset. \nWe use the object in browses and various other places. As a result we are creating references to this recordset object in various modules and all of them are not going out of scope.\nBut we are aware of only one variable oRs and even after oRs:Close() and oRs := nil, references to this recset object are remaining in different memory locations in the memory which we are not aware of. Because of this, ActiveConnection of this recordset is not getting closed.\n\nSo, for now, it may be safer to close oRs:ActiveConnection also.\n\nI am now examining our libraries and see what we can do the relinquish all references to the object wherever needed",
"time": "19:15",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-07-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "NageswaraRao,\n\n[quote=\"nageswaragunupudi\":2sa6jvzc]So, for now, it may be safer to close oRs:ActiveConnection also.[/quote:2sa6jvzc]\n\nI'm not so sure. If there is an active reference to oRs somewhere then closing the connection can cause errors elsewhere.\n\nEMG",
"time": "19:20",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Enrico Maria Giordano"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Rick\n\nUsing a single connection and closing the connection while exiting the application surely works well.\n\nBut let us continue testing your former approach.\nAfter opening RecordSet you normally use it for browing.\nAfter you exit browse you write\n-----\noRs:Close()\noRs := nil \n------\nStill oBrw:oRs continues to refer to this recordset object. Even after oBrw goes out of scope, the data oRs of oBrw (not any more visible to us) still contains the reference.\n\nSo, after browsing please do this:\n===============\nAfter browsing in a dialog:\n\nACTIVATE DIALOG\noBrw:oRs := nil\noRs:Close()\noRs := nil\n\nIf you are browing in an MDICHILD:\n\noWnd:bPostEnd := { || oBrw:oRs := nil, oRs:Close(), oRs := nil }\n================\nNow surely the ActiveConnection of the oRs also is closed.\n[b:5k1zfx0x]I have tested this before posting here.[/b:5k1zfx0x]\n\nI am modifying the xbrowse's Destroy() method to set oRs := nil. From the next release onwards xbrowse does not create any problem. Modifying the TDataRow class also. So, FWH library will not stand in your way to achieve closure of ActiveConnection when you close recset.",
"time": "05:49",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "NageswaraRao,\n\n[quote=\"nageswaragunupudi\":ilpp68nu]So, after browsing please do this:\n===============\nAfter browsing in a dialog:\n\nACTIVATE DIALOG\noBrw:oRs := nil\noRs:Close()\noRs := nil\n\nIf you are browing in an MDICHILD:\n\noWnd:bPostEnd := { || oBrw:oRs := nil, oRs:Close(), oRs := nil }\n================\nNow surely the ActiveConnection of the oRs also is closed.[/quote:ilpp68nu]\n\nUnfortunately, not. As I wrote in another thread, even ACTION clause can detach oRs and keep a reference to it alive. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "08:00",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "Enrico Maria Giordano"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2013-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Let us continue the discussion in the other thread",
"time": "10:22",
"topic": "Closing an Access Database ( ldb )- compact and repair",
"username": "nageswaragunupudi"
}
] | Closing an Access Database ( ldb )- compact and repair |
[
{
"date": "2006-07-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello\n\nIn mine aplication , i use \n\nMemowrit(\"C:\\TEMP\\efkes.rtf\",cText)\nShellexecute(0 ,0 , \"C:\\TEMP\\efkes.rtf\" ,0 ,0 , 1) \n\nTo edit a rtf-file\n\nWhen the rtf-file is not closed , and this commands are executed again with a different cText , the editor is activated with the old text file not the new\n\nUsing findwnd from enrico , i continue with :\n\n? \"Attention , Wordpad.exe or winword.exe must be closed correctly\" \n\nDO WHIL .T.\n hWnd := FINDWND( \"EFKES.RTF\" ) \n IF !EMPTY( hWnd ) \n ? \"Temporary rtf-file is not closed : \" + CRLF + GETWINDOWTEXT( hWnd )\n ELSE\n EXIT\nEND\n\nBut , knowing the handle from the editor , can it be closed by FW ?\nIn that case we don't need a looping\n\nFrank",
"time": "10:53",
"topic": "Closing another aplication",
"username": "Frank Demont"
}
] | Closing another aplication |
[
{
"date": "2006-07-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "If you mean the handle of the window then yes:\n\n[code:3mytwqum]#define WM_CLOSE 16\n\nSENDMESSAGE( hWnd, WM_CLOSE )\n\nor\n\nPOSTMESSAGE( hWnd, WM_CLOSE )[/code:3mytwqum]\n\nEMG",
"time": "13:38",
"topic": "Closing another aplication",
"username": "Enrico Maria Giordano"
}
] | Closing another aplication |
[
{
"date": "2006-07-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enricio\n\nthank you very much , as always it works\n\nI hope i am not to late : congratulations to italy with welth cup !!!\n\n\nFrank",
"time": "15:57",
"topic": "Closing another aplication",
"username": "Frank Demont"
}
] | Closing another aplication |
[
{
"date": "2019-03-12",
"forum": "Utilities / Utilidades",
"text": "[url:7ap60e27]http://www.coder.com[/url:7ap60e27]\n\n[url:7ap60e27]https://ide.coder.com/[/url:7ap60e27]\n\n[url:7ap60e27]https://ide.coder.com/ssh[/url:7ap60e27]",
"time": "21:31",
"topic": "Cloud computer - www.coder.com (free!)",
"username": "Antonio Linares"
}
] | Cloud computer - www.coder.com (free!) |
[
{
"date": "2017-05-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio, \n\nthe Cloud server – WINDOWS 2016 SERVER - for our meeting is online. \n\nI would like to ask you to install FIVEWIN.\n\nThen we others can prepare the samples and demos for the meeting\n\nPlease install all the database servers and all what we need.\n\nBest regards,\nOtto",
"time": "21:51",
"topic": "Cloud server – WINDOWS 2016 SERVER - for our meeting is onli",
"username": "Otto"
}
] | Cloud server – WINDOWS 2016 SERVER - for our meeting is onli |
[
{
"date": "2017-05-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\nI added English and Spanish language.\nBest regards,\nOtto",
"time": "23:03",
"topic": "Cloud server – WINDOWS 2016 SERVER - for our meeting is onli",
"username": "Otto"
}
] | Cloud server – WINDOWS 2016 SERVER - for our meeting is onli |
[
{
"date": "2017-05-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I forgot to mention that you have to use RDP to connect.\nBest regards,\nOtto",
"time": "23:27",
"topic": "Cloud server – WINDOWS 2016 SERVER - for our meeting is onli",
"username": "Otto"
}
] | Cloud server – WINDOWS 2016 SERVER - for our meeting is onli |
[
{
"date": "2017-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "TEAM NEWS\n\nDear Otto, \nmany thanks\nFWH is already installed and running\nbest regards\nAntonio\n--------------------------------\nFWH is already installed, same as Visual Studio Community 2017. Thats easy.\nBut I need to use Nox for FiveTouch, or another Android emulator.\n---------------------------------\n>>>>>>>>\nLet us go step by step\nIf you first install FWH binaries and compilers, we can then upload our samples and build them for demonstration\n----------------------------------\nI need to install an Android emulator on it. Usually I install nox:\n<!-- m --><a class=\"postlink\" href=\"https://bitbucket.org/fivetech/fivetouch-public-repository/downloads/nox_setup_v3.8.1.2_full_intl.exe\">https://bitbucket.org/fivetech/fivetouc ... l_intl.exe</a><!-- m -->\nbut it reports a german (?) message and can't install it. I guess it is related to the graphics card.\nI appreciate if you can check it from there, many thanks\nbest regards\nAntonio\n\n----------------------------------\nThis is a very good idea. I will start uploading data and ADS server I will use for demo purposes.\n----------------------------------\nI will take a full WINDOWS SERVER BACKUP first then install the right graphic card driver.\nAt the moment we have Microsoft Standard Driver installed. This is a WINDOWS 2016 Server. I hope we find a Driver.\nBest regards,\nOtto",
"time": "07:34",
"topic": "Cloud server – WINDOWS 2016 SERVER - for our meeting is onli",
"username": "Otto"
}
] | Cloud server – WINDOWS 2016 SERVER - for our meeting is onli |
[
{
"date": "2017-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nMany thanks!",
"time": "07:44",
"topic": "Cloud server – WINDOWS 2016 SERVER - for our meeting is onli",
"username": "Antonio Linares"
}
] | Cloud server – WINDOWS 2016 SERVER - for our meeting is onli |
[
{
"date": "2006-03-16",
"forum": "FiveWin para CA-Clipper",
"text": "Tengo una aplicación, donde la ventana principal tiene un fondo. Me funciona correctamente y lo tengo definido de la manera mas clásica y sencilla:\n\n@ 1, 0 BITMAP oBmp FILE \"fuengi.bmp\" OF oWnd ;\n SIZE 800,495 ADJUST\n\nNecesito ahora cambiar el fondo de esta ventana, dependiendo del usuario que lo use.- Lo he intentado de varias maneras con UPDATE y REFRESH, pero no consigo echarlo andar.\n\n¿Alguna idea?\n\nUn saludo\n\nManuel",
"time": "21:56",
"topic": "Cmbio fondo ventana principal",
"username": "Manuel Valdenebro"
}
] | Cmbio fondo ventana principal |
[
{
"date": "2006-03-16",
"forum": "FiveWin para CA-Clipper",
"text": "Manuel,\n\nHas probado a hacer oBmp:LoadBMP( cBmpFile ) ?",
"time": "23:01",
"topic": "Cmbio fondo ventana principal",
"username": "Antonio Linares"
}
] | Cmbio fondo ventana principal |
[
{
"date": "2006-03-17",
"forum": "FiveWin para CA-Clipper",
"text": "Antonio,\n\nTe explico mas detalladamente:\n\n\nSTATIC oWnd\nstatic cTitle\nstatic cBitmap\nFUNCTION MAIN\n......\ncBitmap := \"fuengi.bmp\"\n.....\n\nACTIVATE WINDOW oWnd MAXIMIZED ;\n ON PAINT PAINTWIN(oWnd) \n\n///\n/// una funcion para poner el BMP segun resolucion pantalla\n///\nSTATIC FUNC PAINTWIN(oWnd)\nLOCAL hDC := oWnd:hDC\nlocal hWnd := oWnd:hWnd\nlocal T:=GetClientRect(hWnd)\nmemvar oBmp\n@ 01,00 BITMAP oBmp FILE cDir + cBitmap OF oWnd SIZE ;\n T[4],T3] ;ADJUST \nRETURN nil\n\n///\n/// cuando cambio de propietario realizo lo siguiente\n// aqui es donde deberia cambiar el bitmap segun propie->LOGO\n/// pero no sale el nuevo bitmap\n//\n\n oBmp:LoadBmp (propie->LOGO)\n oBmp:REFRESH() \n oWnd:cTitle := propie->NOMBRE \n oWnd:Refresh()\n\n\nUn saludo y gracias\n\nManuel",
"time": "20:37",
"topic": "Cmbio fondo ventana principal",
"username": "Manuel Valdenebro"
}
] | Cmbio fondo ventana principal |
[
{
"date": "2020-10-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas tardes \n\nEstoy desarrollando una aplicación que conecta con un Webservice de una aplicación de venta on-line.\n\nHasta el momento he podido integrar todas las opciones que ofrece el servicio, pedidos realizados, empaquetado, etc.\n\nEl problema me viene a la hora de solicitar la emisión de la etiqueta para el transporte, la cual una vez enviada la petición devuelve lo siguiente:\n\n[code=fw:3b52y9b8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">{</span><br /> <span style=\"color: #ff0000;\">\"id\"</span>: <span style=\"color: #000000;\">295208</span>,<br /> <span style=\"color: #ff0000;\">\"fileContents\"</span>: <span style=\"color: #ff0000;\">\"JVBERi0xLjQKJdP0zOEKMSAwIG9iago8PAovQ3JlYX[...]\"</span>,<br /> <span style=\"color: #ff0000;\">\"contentType\"</span>: <span style=\"color: #ff0000;\">\"application/pdf\"</span>,<br /> <span style=\"color: #ff0000;\">\"fileName\"</span>: <span style=\"color: #ff0000;\">\"label_ASUS12_186934_295208_20180712082022.pdf\"</span><br /><span style=\"color: #000000;\">}</span><br /> </div>[/code:3b52y9b8]\n\nMi problema está en que no sé como puedo descargar el fichero PDF para la posterior impresión.\n\nGracias",
"time": "18:48",
"topic": "Cnexion WEB SERVICE",
"username": "PGO"
}
] | Cnexion WEB SERVICE |
[
{
"date": "2020-10-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "He creado una clase la cual llamo oApi\n\ndonde \n\noApi:oHttp:= CreateObject( 'MSXML2.ServerXMLHTTP.6.0' )\n\n\nEl código donde llamo a las etiquetas es\n\n[code=fw:34v8jfv4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br /> cUrl:=cUrl1 + alltrim<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">(</span>oApi:<span style=\"color: #000000;\">aTbr5</span><span style=\"color: #000000;\">[</span>x,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"/label\"</span><br /> oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"POST\"</span> , cUrl, .F. <span style=\"color: #000000;\">)</span><br /> oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">setRequestHeader</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Content-Type\"</span>,<span style=\"color: #ff0000;\">\"application/json\"</span><span style=\"color: #000000;\">)</span><br /> oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">setRequestHeader</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Authorization\"</span>, <span style=\"color: #ff0000;\">\"Bearer \"</span> + oApi:<span style=\"color: #000000;\">vToken</span><span style=\"color: #000000;\">)</span><br /> oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">setRequestHeader</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"labelType\"</span>, <span style=\"color: #ff0000;\">\"pdf\"</span><span style=\"color: #000000;\">)</span> <br /> oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">Send</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">status</span> <> <span style=\"color: #000000;\">200</span><br /> msg<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"No se ha podido Generar la etiqueta\"</span><br /> <span style=\"color: #00C800;\">else</span> <br /> msg<span style=\"color: #000000;\">(</span>oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">ResponseText</span><span style=\"color: #000000;\">)</span><br /> end <span style=\"color: #00C800;\">if</span><br /> </div>[/code:34v8jfv4]\n\nla variable cUrl1 es la que contiene la URL\n\nGracias por tu interes.",
"time": "00:51",
"topic": "Cnexion WEB SERVICE",
"username": "PGO"
}
] | Cnexion WEB SERVICE |
[
{
"date": "2020-10-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Holá, sin código, no és posible tener como ayudar. Post el código, porfa. Gracias, saludos.",
"time": "00:24",
"topic": "Cnexion WEB SERVICE",
"username": "karinha"
}
] | Cnexion WEB SERVICE |
[
{
"date": "2020-10-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mira se ayuda:\n\n[url:z6jhch4z]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=39458[/url:z6jhch4z]\n\nSaludos.",
"time": "03:07",
"topic": "Cnexion WEB SERVICE",
"username": "karinha"
}
] | Cnexion WEB SERVICE |
[
{
"date": "2020-10-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Según lo que yo entiendo el pdf viene en el nodo fileContents codificado en base64\n\n{\n \"id\": 295208,\n \"fileContents\": \"JVBERi0xLjQKJdP0zOEKMSAwIG9iago8PAovQ3JlYX[...]\",\n \"contentType\": \"application/pdf\",\n \"fileName\": \"label_ASUS12_186934_295208_20180712082022.pdf\"\n}\n\nYo lo recuperaría de la siguiente manera:\n\n[code=fw:21vaag9x]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />hRespuesta := hash<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />hb_jsondecode<span style=\"color: #000000;\">(</span>response ,@hRespuesta <span style=\"color: #000000;\">)</span><br />fPdf := hb_base64decode<span style=\"color: #000000;\">(</span>hRespuesta<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"fileContents\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:21vaag9x]",
"time": "15:40",
"topic": "Cnexion WEB SERVICE",
"username": "leandro"
}
] | Cnexion WEB SERVICE |
[
{
"date": "2020-10-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias por vuestra colaboración.\n\nYa me funciona perfectamente\n\nhb_base64decode no me funcionaba (supongo que por la libreria o la versión), pero gracias al foro he encontrado y usado la función Base64ToStr.\n\n[code=fw:1287c9pq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> vRet:=fCrea_array<span style=\"color: #000000;\">(</span>alltrim<span style=\"color: #000000;\">(</span>oApi:<span style=\"color: #000000;\">oHttp</span>:<span style=\"color: #000000;\">ResponseText</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> cPdf:=Base64ToStr_1<span style=\"color: #000000;\">(</span> vRet<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /> handle:=fCreate<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"z:<span style=\"color: #000000;\">\\p</span>rueba.pdf\"</span><span style=\"color: #000000;\">)</span><br /> fwrite<span style=\"color: #000000;\">(</span>handle,cPdf<span style=\"color: #000000;\">)</span><br /> fclose<span style=\"color: #000000;\">(</span>handle<span style=\"color: #000000;\">)</span><br /> </div>[/code:1287c9pq]\n\nUn Saludo",
"time": "18:46",
"topic": "Cnexion WEB SERVICE",
"username": "PGO"
}
] | Cnexion WEB SERVICE |
[
{
"date": "2011-11-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola estoy imprimiendo codigos de barras usando en code 128 de la siguietne manera : \n\nvcodigobarras:=alltrim(transform((cbloque)->numero,\"999999\"))+\"-\"+;\n alltrim(transform((cbloque)->churro,\"99\"))+\"-\"+;\n (alltrim(transform(year((cbloque)->fecha),\"9999\")))\n\ny lo imprimo asi : \n @ 4,1.5 cm_code128 vcodigobarras of oPrn SIZE 2 vertical MODE \"A\"\n\nEl problema que tenia es que cierto codigo de barras el lector no me los leia y lo cambie a : \n @ 4,1.5 cm_code128 vcodigobarras of oPrn SIZE 2 vertical MODE \"B\"\n\nPero ahora codigo que si me leia con la opción \"A\" no me los lee con la opción \"B\".\n\nEJEMPLO : 1167-11-2011 LO LEE CON LA OPCION \"A\" Y NO CON LA OPCION \"B\"\n\n\n\n¿Alguna sugerencia?",
"time": "11:36",
"topic": "Code 128 - Error extraño.",
"username": "Garbi"
}
] | Code 128 - Error extraño. |
[
{
"date": "2011-11-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Como veo que a nadie le ha pasado algo parecido.\nQue Codigo de barras me recomendais usar, pensado que no puede ser muy largo, el code Code3_9 lo he probado pero se me hacer muy largo para imprimir en etiquetas, puesto se sale de la etiqueta y\nteniendo en cuenta que lo tengo que separar en tres partes ej, 1167-11-2011, incluso puede ser 1-1-2012 (dentro de poco), puesto que cada valor me sirve para buscar y hacer otras operaciones.\n\nNecesito la ayuda de vosotros, porque estoy un poco estancado.\n\nGracias.",
"time": "17:42",
"topic": "Code 128 - Error extraño.",
"username": "Garbi"
}
] | Code 128 - Error extraño. |
[
{
"date": "2011-11-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Al final he optado por el codabar, porque aunque tenga que poner un codigo comienzo y otro de terminar creo que funcinara correctamente y el tamaño se ajusta perfectamente al que necesito.\n\nLo comento por si a alguien le sirve.\n\nSaludos y gracias.",
"time": "18:44",
"topic": "Code 128 - Error extraño.",
"username": "Garbi"
}
] | Code 128 - Error extraño. |
[
{
"date": "2010-06-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos amigos,\n\nAlguna forma de imprimir o generar códigos PDF417 o QR Code",
"time": "18:05",
"topic": "Code Bar PDF417 ó QR Code",
"username": "pablovidal"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hay alguna solucion para poder imprimir en PDF417",
"time": "23:48",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\nEn harbour en las contrib hay una libreria para los pdf417\n\n\nAtte.,\n\nLautaro Moreira",
"time": "15:06",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Lautaro"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Lautaro, cual es esa libreria\n\nyo uso xHarbour y no me importaria tratar de pasarla a xharbour,\n\npdf417 no es lo mismo que pdf, \n\nEl pdf417 es un tipo de codigo de barras tridimensional",
"time": "17:31",
"topic": "Code Bar PDF417 ó QR Code",
"username": "pablovidal"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Pablo,\n\nTengo claro que el pdf417 es un codigo de barras bidimensional. Ya me toco darme un round con ese codigo de barras. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\nLa libreria es hbzebra y esta en las contrib de harbour.\n\nSaludos,\n\nLautaro Moreira",
"time": "19:13",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Lautaro"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nPero estube buscando en las contribuciones de harbour y no esta ?\na ver si me la puedes mandar a pabloalbertovidal arroba gmail punto com",
"time": "19:52",
"topic": "Code Bar PDF417 ó QR Code",
"username": "pablovidal"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Lautaro \n\nGracias por la respuesta\n\n\nTienes un pequeño ejemplo para verlo, agradeceria tu apoyo nuevamente",
"time": "20:44",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"pablovidal\":2d51r6pu]Gracias <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nPero estube buscando en las contribuciones de harbour y no esta ?\na ver si me la puedes mandar a pabloalbertovidal arroba gmail punto com[/quote:2d51r6pu]\n\nPablo, elmoiquique\n\nEl codigo si esta dentro de los fuentes de harbour, al parecer es muy facil usarlo\nbusca en harbour\\contrib\\hbzebra\\\n\nhay que enlazar las librerias\n[url=http://www.sitasoft.net/fivewin/files/hbzebra.lib:2d51r6pu]hbzebra.lib[/url:2d51r6pu]\n\ndejo el link del exe\n\n[url:2d51r6pu]http://www.sitasoft.net/fivewin/samples/barcode.zip[/url:2d51r6pu]\n\n[code=fw:2d51r6pu]<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: #00C800;\">function</span> main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">window</span> oWnd<br /> <br /> <span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oWnd;<br /> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">paint</span><span style=\"color: #000000;\">(</span> BarCode<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">function</span> BarCode<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #00C800;\">local</span> hZebra<br /> <span style=\"color: #00C800;\">local</span> cCode := <span style=\"color: #ff0000;\">\"testing from fivewin\"</span><br /> <span style=\"color: #00C800;\">local</span> hBrush := CreateSolidBrush<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /> hZebra := hb_zebra_create_pdf417<span style=\"color: #000000;\">(</span> cCode, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span><br /><br /> hb_zebra_draw<span style=\"color: #000000;\">(</span> hZebra, <span style=\"color: #000000;\">{</span>| x, y, w, h | FillRect<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">{</span> y, x, y + h, x + w <span style=\"color: #000000;\">}</span>, hBrush <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span><br /> <br /> deleteobject<span style=\"color: #000000;\">(</span> hBrush <span style=\"color: #000000;\">)</span><br /> hb_zebra_destroy<span style=\"color: #000000;\">(</span> hZebra <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2d51r6pu]",
"time": "03:26",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Daniel,\n\nUna preguntita, esa lib que pusiste se podra enlazar con xharbour ?",
"time": "13:34",
"topic": "Code Bar PDF417 ó QR Code",
"username": "pablovidal"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Pablo\n\nEs de Harbour <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\ntalves se podria buscar la conversion, pero para eso habria que sentarse un rato",
"time": "13:57",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Daniel Por tu ayuda, es justo lo que necesitaba para mi desarrollo, pero no puedo encontrar las libreria de hbzebra que tu mencionas en harbour, yo tengo el harbour 2.0 y no estan\n\nAgradeceria tu ayuda o bien si me las puedes facilitar por email\n\n<!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e -->\n\nAgradecido por tu tiempo y ayuda\n\ngracias",
"time": "19:58",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos\n\nla libreria esta disponible para la descarga en el post anterior",
"time": "20:01",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel, una consulta como esta libreria es para harbour, intenete cambiar mi aplicacion para harbour y creo que no es el camino ya que tengo que hacer demasiados cambios, tu sabes quien hizo esta libreria o como se puede cambiar a xharbour que creo que es mas facil cambiar una libreria a xharbour que mas de una a harbour..\n\nAdemas tu dices de sentarse un rato a cambiarla, yo podria sentarme hacer eso, ya que lo necesito urgente\n\nAgradeceria tu ayuda y guia para poder hacer esto,,,, NO se si Pablo lo habra hecho o si resolvio el problema de xharbour a harbour",
"time": "21:40",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos...\n\n[quote=\"elmoiquique\":1do258ii]Ademas tu dices de sentarse un rato a cambiarla, yo podria sentarme hacer eso, ya que lo necesito urgente[/quote:1do258ii]\n\ndescargate harbour desde el svn, alli encontraras los fuentes\n\npara cambiarlo solo bastaria con saber un poco de C y manejar el api de ambos compiladores\n\nmi correo es <!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e -->",
"time": "22:04",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"elmoiquique\":1maguo8u]Ademas tu dices de sentarse un rato a cambiarla, yo podria sentarme hacer eso, ya que lo necesito urgente[/quote:1maguo8u]\n\nelmoiquique\nSi quieres entre los dos podriamos hacer los cambios, yo no se mucho de C ni del Api de (x)harbour, pero me interesaria tener la lib.-",
"time": "22:27",
"topic": "Code Bar PDF417 ó QR Code",
"username": "pablovidal"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ok, pablo no hay problemas, estamos casi igual, pero se aprende de a poco\nvoy a bajar lo que me informa Daniel a Ver que me sale y te informo a ver si podemos terminar esta clase juntos, porque de verdad me sacaria bastante de apuro, ya que estoy con la soga al cuello para entregar el sistema de facturacion\n\nsaludos\ny estamos en contacto",
"time": "23:21",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos\n\nHan empezado con esto?\nhay algun avance?",
"time": "22:27",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "???",
"time": "17:40",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estoy trabajando y tengo bastante avanzado,, una consulta existe alguna funcion o comando que me permita crear una imagen a partir de datos entregados, del programa solo me falta generar la imagen",
"time": "17:50",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bien...\n\nosea que ya lograste generar la lib para xHarbour??? de ser asi... postea un link de descarga o bien el codigo modificado <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->",
"time": "19:14",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos\n\n[quote=\"Daniel Garcia-Gil\":2cshjfu0]osea que ya lograste generar la lib para xHarbour??? de ser asi... postea un link de descarga o bien el codigo modificado [/quote:2cshjfu0]\n\n???",
"time": "19:49",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Daniel\n\nTe cuento lo que tengo a ver si me puedes ayudar.\n\nYa tengo el programa que genera los string del PDF417 para xharbour, pero hasta ahora solo he llegado hasta ahi, solo me falta convertirlo en imagen y en eso estado topando, ya que no he podico encontra una funcion que la cadena de string mela transforme en imagen, si yo pesco esa cadena de caracteres y la coloco en notepad me la codifica como necesito.\nTe envie un correo para que veas el programa y ver si me puedes ayudar o dar alguna idea\n\nsaludos\n\nelmo",
"time": "22:40",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola pablo\nHas hecho algo con respecto al codigo PDF417",
"time": "22:59",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos\n\nMi intencion en preguntar tantas veces por este punto era solo saber si habia algun trabajo adelantado para no empezar la conversion y duplicar trabajo\n\nelmoiquique me envio un codigo el cual lo veo bastante complicado y solo genera un tipo de codigo (pdf417), entonces.. para que reinventar la rueda...?\n\na consecuencia me motive a hacer al conversion del codigo de Harbour y portarlo a xHarbour, realmente pense que iba a ser mas complicado, al final salio bastante bien\n\ndejo el link con el codigo fuente modificado para usarlo en xHarbour, un ejemplo y una clase para manejar los codebar que usa la ZEBRA, EAN13, EAN8, UPCA, UPCE, CODE39, ITF, MSI, CODABAR, CODE93, CODE11, CODE128, PDF417, DATAMATRIX\n\ndicha clase crea un BITMAP con el codebar, vean el ejemplo... es solo un prototipo, cualquier mejora la pueden postear...\n\npara usarlo en Harbour solo usen la lib hbzebra.lib\n\nRecuerden estamos aqui para ayudarnos, no se guarden todo y compartan, es para el bienestar de la comunidad y tener herramientas mas solidas\n\nlink de descarga\n\n[url:gcz4jyv0]http://www.sitasoft.net/fivewin/samples/zebra.zip[/url:gcz4jyv0]",
"time": "02:40",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muchas Gracias Daniel",
"time": "15:13",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Patricio Avalos Aguirre"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muy buen aporte, Daniel habia estado varios dias buscando la solucion a mi programa, y con tu ayuda he logrado lo que necesitaba... Gracias por compartir tus conocimientos\n\n\nsaludos",
"time": "17:18",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-02-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenos dias\n\nDaniel, o quien lo sepa:\n\nEste codigo es valido para imprimir en otra impresora que no sea la zebra?, por ejemplo cualquier laser.",
"time": "09:47",
"topic": "Code Bar PDF417 ó QR Code",
"username": "JoseLuis"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel gracias por tu trabajo.\nEstoy intentando, con el codigo que tu has posteado, generar un exe autocontenido que pueda llamarse desde cualquier otro exe independientemente de las versiones con que hayan sido compilados.\n\nPero mi problema es que para que esto funcione necesito grabar en disco el bmp generado.\n\n¿podeis ayudarme en esta tarea?. ¿Como hago para grabar el bmp con el codigo de barras en el disco?\n\nASI SE CREA EL BMP EN DISCO:\n\n\thDib := DibFromBitmap( oCode:hCodeBar )\n\tDibWrite( \"barras.bmp\", hDib )\n\nsaludos shock:",
"time": "11:21",
"topic": "Code Bar PDF417 ó QR Code",
"username": "José Vicente Beltrán"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"JoseLuis\":29ws5jia]Buenos dias\n\nDaniel, o quien lo sepa:\n\nEste codigo es valido para imprimir en otra impresora que no sea la zebra?, por ejemplo cualquier laser.[/quote:29ws5jia]\n\nes independiente, de hecho las pruebas las hice sin tener ninguna impresora instalada...",
"time": "19:04",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel, gracias",
"time": "23:02",
"topic": "Code Bar PDF417 ó QR Code",
"username": "JoseLuis"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Me he bajado las fuentes del link que dejó Daniel. Al compilar me echa este error \n[color=#FF0000:3lzf5kx5]Error E2451 codabar.c 180: Undefined Symbol \"HB_ERR_FUNCNAME\" in function HB_FUN_HB_ZEBRA_CREATE_CODABAR[/color:3lzf5kx5]\nEstoy compilando con xHarbour. Algo estaré haciendo Mal ??? Gracias",
"time": "23:35",
"topic": "Code Bar PDF417 ó QR Code",
"username": "horacio"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos\n\nque version de xharbour estas usando...?",
"time": "02:16",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Daniel por contestar. Uso xHarbour build 1.1.0 Intl. (Simplex)",
"time": "02:21",
"topic": "Code Bar PDF417 ó QR Code",
"username": "horacio"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"horacio\":h0t3masu]Gracias Daniel por contestar. Uso xHarbour build 1.1.0 Intl. (Simplex)[/quote:h0t3masu]\n\nme atrevo a decir que es la version de xharbour... al parecer es algo antigua...\n\nque version de fivewin usas??",
"time": "04:41",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Uso fwh 7.12 \nSaludos",
"time": "11:46",
"topic": "Code Bar PDF417 ó QR Code",
"username": "horacio"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel, gerei o teste que postastes e gerou tudo ok...\nFui tentar gerar uma lib e me deparei com o seguinte erro:\n\n[b:uf1rati3]can't spill register variable: esi (1) pEC\nc:\\tools\\xZebra\\source\\c\\pdf417.c(1230): fatal error: Internal error: best_spillee.\n[/b:uf1rati3]\nEstou utilizando:\nfwh 11.01\nxHarbour Comercial 1.2.1 (Rev. 6633)\nbcc55",
"time": "12:34",
"topic": "Code Bar PDF417 ó QR Code",
"username": "toya"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hello\n\n\nsorry i'm not work with xharbour builder... i cant not test...",
"time": "14:02",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados compadres.\nExelente aportacion , he complilado, y de maravillas. pero \n\nHe impreso una pruebas , pero cuando le metes datos de 50 caracateres o mas, el mismo codigo se desarma, ademas por alguna raxon que no entiendo el \"PDF417\" no funciona en el lector de 2d no logra leerlo, pero el DATAMATRIX que creas, si funciona pero , \n\nObservacion .. EL datamatrix generado yo lo utilizo en un appliacion lo conozco bien , el que genera la libreria Zebra se asemeja mas aun \"PDF417\" que al mismo dataamtrix,\n\nPero funciona, como se puede cambiar el ancho y el largo, en que escala se incrementa el largo y ancho, y por ultimo como porias eliminar HR el txto que contiene el codigo,\nGracias\n\nOchacon\nBusmatic de CR.",
"time": "20:08",
"topic": "Code Bar PDF417 ó QR Code",
"username": "ochacon"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Me podrian decir que es este error y com lo corrijo no me deja continuar tengo\n\nincluido los .c \nla libreria .lib\n la clase .prg\n y noy manera \n\nProyecto: boleteria, Entorno: xHar109:\n[1]:Bcc32.Exe -DHB_API_MACROS -M -c -O2 -e -tWM -DHB_STACK_MACROS -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -IC:\\FWH109\\include -IC:\\XHARBO~2\\Include;C:\\bcc582\\Include -nC:\\PROYEC~1\\TRALAPA\\Obj zebra\\source\\c\\core.c\nBorland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland\nzebra\\source\\c\\core.c:\nError E2451 zebra\\source\\c\\core.c 199: Undefined symbol 'hb_stackST' in function hb_zebra_ret\nError E2451 zebra\\source\\c\\core.c 236: Undefined symbol 'hb_stackST' in function HB_FUN_HB_ZEBRA_GETERROR\nError E2451 zebra\\source\\c\\core.c 245: Undefined symbol 'hb_stackST' in function HB_FUN_HB_ZEBRA_GETCODE\n*** 3 errors in Compile ***\n\n\nElguna Idea que tengais por ahi o posible solucion \n\nGracias",
"time": "01:09",
"topic": "Code Bar PDF417 ó QR Code",
"username": "ochacon"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Perdona que insista Daniel, pero alguien ha hecho algo ya en QR code. Veo que el ejemplo es de codigo de barras pero no de QR Code o me pierdo algo? \n[url:1uwchvrp]http://es.wikipedia.org/wiki/C%C3%B3digo_QR[/url:1uwchvrp]",
"time": "12:00",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Andrés González"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-03-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Daniel Garcia-Gil\":3pcqjrzq]Saludos\n...los codebar que usa la ZEBRA, EAN13, EAN8, UPCA, UPCE, CODE39, ITF, MSI, CODABAR, CODE93, CODE11, CODE128, PDF417, DATAMATRIX\n[/quote:3pcqjrzq]\n\nhasta donde se solo trabaja con eso tipos de codebar <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->",
"time": "17:12",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-08-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Daniel\n\nNecesito tu ayuda, estoy tratando de pasar la imagen que se forma del codigo de barra en la pantalla , he seguido tus consejos de otros post, pero me ha sido imposible, me crea un archivo FILE.BMP, pero que no se puede leer, no se que estoy haciendo mal, te dejo parte del codigo, a ver si me puedes hechar una manito o por ultimo pasarlo directamente a un archivo .BMP o JPG\n\ngracias\n\n\n[code=fw:2xqfijcq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">function</span> BuildCode<span style=\"color: #000000;\">(</span> nCode, cCode, nFlags <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> hDC1 := ovent:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hDC := CreateCompatibleDC<span style=\"color: #000000;\">(</span> hDC1 <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hDib<br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp := CreateCompatibleBitmap<span style=\"color: #000000;\">(</span> hDC1, <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hOldBmp := SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmp <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">default</span> nFlags := <span style=\"color: #000000;\">0</span><br /> <br /> oCode:<span style=\"color: #000000;\">Reset</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> nCode < CODEBAR_PDF417<br /> oCode:<span style=\"color: #000000;\">nHeightCode</span> = oCode:<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">50</span><br /> oCode:<span style=\"color: #000000;\">nWidthCode</span> = <span style=\"color: #000000;\">1.5</span><br /> <span style=\"color: #00C800;\">else</span><br /> oCode:<span style=\"color: #000000;\">nHeightCode</span> = <span style=\"color: #000000;\">3</span><br /> oCode:<span style=\"color: #000000;\">nWidthCode</span> = <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #00C800;\">endif</span><br /> oCode:<span style=\"color: #000000;\">SetType</span><span style=\"color: #000000;\">(</span> nCode <span style=\"color: #000000;\">)</span><br /> oCode:<span style=\"color: #000000;\">SetCode</span><span style=\"color: #000000;\">(</span> cCode <span style=\"color: #000000;\">)</span><br /> oCode:<span style=\"color: #000000;\">SetFlags</span><span style=\"color: #000000;\">(</span> nFlags <span style=\"color: #000000;\">)</span><br /> oCode:<span style=\"color: #000000;\">Build</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> DrawBitmap<span style=\"color: #000000;\">(</span> hDC, oCode:<span style=\"color: #000000;\">hCodeBar</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /> hDib := DibFromBitmap<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> DibWrite<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"file.bmp\"</span> , hDib <span style=\"color: #000000;\">)</span><br /> GloBalFree<span style=\"color: #000000;\">(</span> hDib <span style=\"color: #000000;\">)</span><br /> <br /> ovent:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /> </div>[/code:2xqfijcq]",
"time": "23:06",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-08-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola \n\nTen pendiente de eliminar los Objetos GDI que estes creando, sino te comeras la memoria bastabte rapido\n\n1) Deselecciona y elimina el handle del bitmap que estas creando hBmp \nSelectObject( hDC, hOldBmp )\nDeleteObject( hBmp )\n2) eliminar el hDC que ya no usas con DeleteDC( hDC )\n\nahora prueba esta secuencia\n\n[code=fw:2nuk22ha]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">DrawBitmap<span style=\"color: #000000;\">(</span> hDC, oCode:<span style=\"color: #000000;\">hCodeBar</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br />SelectObject<span style=\"color: #000000;\">(</span> hDC, hOldBmp <span style=\"color: #000000;\">)</span><br />hDib := DibFromBitmap<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br />DibWrite<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"file.bmp\"</span> , hDib <span style=\"color: #000000;\">)</span><br />GloBalFree<span style=\"color: #000000;\">(</span> hDib <span style=\"color: #000000;\">)</span><br /><br />DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br />DeleteDC<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span><br />ovent:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:2nuk22ha]",
"time": "00:11",
"topic": "Code Bar PDF417 ó QR Code",
"username": "Daniel Garcia-Gil"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-08-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Daniel \n\nHice lo que me indicaste, pero aun asi sigue creando el Archivo bmp sin poder leerlo\n\n[code=fw:6whaaldi]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">function</span> BuildCode<span style=\"color: #000000;\">(</span> nCode, cCode, nFlags <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> hDC := oWnd:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hDC1 := CreateCompatibleDC<span style=\"color: #000000;\">(</span> hDC1 <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hDib<br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp := CreateCompatibleBitmap<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hOldBmp := SelectObject<span style=\"color: #000000;\">(</span> hDC1, hBmp <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">default</span> nFlags := <span style=\"color: #000000;\">0</span><br /> <br /> oCode:<span style=\"color: #000000;\">Reset</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> nCode < CODEBAR_PDF417<br /> oCode:<span style=\"color: #000000;\">nHeightCode</span> = oCode:<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">50</span><br /> oCode:<span style=\"color: #000000;\">nWidthCode</span> = <span style=\"color: #000000;\">1.5</span><br /> <span style=\"color: #00C800;\">else</span><br /> oCode:<span style=\"color: #000000;\">nHeightCode</span> = <span style=\"color: #000000;\">3</span><br /> oCode:<span style=\"color: #000000;\">nWidthCode</span> = <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #00C800;\">endif</span><br /> oCode:<span style=\"color: #000000;\">SetType</span><span style=\"color: #000000;\">(</span> nCode <span style=\"color: #000000;\">)</span><br /> oCode:<span style=\"color: #000000;\">SetCode</span><span style=\"color: #000000;\">(</span> cCode <span style=\"color: #000000;\">)</span><br /> oCode:<span style=\"color: #000000;\">SetFlags</span><span style=\"color: #000000;\">(</span> nFlags <span style=\"color: #000000;\">)</span><br /> oCode:<span style=\"color: #000000;\">Build</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> DrawBitmap<span style=\"color: #000000;\">(</span> hDC, oCode:<span style=\"color: #000000;\">hCodeBar</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /> selectObject<span style=\"color: #000000;\">(</span> hdc,hOldbmp <span style=\"color: #000000;\">)</span><br /> hDib := DibFromBitmap<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> DibWrite<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"file.bmp\"</span> , hDib <span style=\"color: #000000;\">)</span><br /> GloBalFree<span style=\"color: #000000;\">(</span> hDib <span style=\"color: #000000;\">)</span><br /> <br /> DeleteObject<span style=\"color: #000000;\">(</span> hbmp <span style=\"color: #000000;\">)</span><br /> DeleteDc <span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span><br /> oWnd:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><br /> </div>[/code:6whaaldi]",
"time": "14:53",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-08-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel\n\nEstuve leyendo el Email, que enviaste y despues de las pruebas que he hecho y llego al mismo resultado, el bmp se crea pero con un formato desconocido...\n\nHabra alguna solucion como por ejemplo pasarlo directamente a un archivo, sin pasar por una ventana, hice este ejemplo aunque igual uso el DIBWRITE, que otro comando se puede usar\n\n\noCode:SetType( nCode )\noCode:SetCode( cCode )\noCode:SetFlags( nFlags )\noCode:Build()\n\n// DrawBitmap( hDC, oCode:hCodeBar, 0, 0 )\nhDib:=( oCode:hCodeBar )\nDibWrite( \"file.bmp\" , hDib )\nGloBalFree( hDib )",
"time": "15:27",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2011-08-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "en definitiva esta mala la funcion DIBWRITE, de la version 10.04, quisiera saber si en la version actual esta corregido este error",
"time": "20:20",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2013-09-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola que tal:\n\nEstoy intentando crear un pdf417 y he visto este post mi pregunta es para elmoiquique:\n\n¿Pudiste crear el archivo BMP? y si es así ¿Cómo?\n\nUn saludo\n\nCarlos",
"time": "08:17",
"topic": "Code Bar PDF417 ó QR Code",
"username": "colthop"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2014-12-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"colthop\":2uirv7fx]Hola que tal:\n\nEstoy intentando crear un pdf417 y he visto este post mi pregunta es para elmoiquique:\n\n¿Pudiste crear el archivo BMP? y si es así ¿Cómo?\n\nUn saludo\n\nCarlos[/quote:2uirv7fx]\nSi finalmente solucione el problema, con una imagen",
"time": "20:45",
"topic": "Code Bar PDF417 ó QR Code",
"username": "elmoiquique"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2014-12-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigos\n\nAlguien tiene un ejemplo de como generar en código QR\n\nGracias.\n\nSaludos,\n\nAdhemar",
"time": "12:11",
"topic": "Code Bar PDF417 ó QR Code",
"username": "acuellar"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2014-12-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"acuellar\":22aus8uq]Amigos\n\nAlguien tiene un ejemplo de como generar en código QR\n\nGracias.\n\nSaludos,\n\nAdhemar[/quote:22aus8uq]\n\n[url:22aus8uq]http://www.pctoledo.com.br/forum/viewtopic.php?f=4&t=9223[/url:22aus8uq]\n\n[url:22aus8uq]http://www.pctoledo.com.br/forum/viewtopic.php?f=4&t=15708[/url:22aus8uq]\n\n[url:22aus8uq]http://www.pctoledo.com.br/forum/viewtopic.php?f=43&t=15693[/url:22aus8uq]\n\nSaludos.",
"time": "12:13",
"topic": "Code Bar PDF417 ó QR Code",
"username": "karinha"
}
] | Code Bar PDF417 ó QR Code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.