messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2008-09-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "George,\r\n\r\nappend from miarchivo.cvs delimited \",\"\r\n\r\no el delimitador que elijas.",
"time": "23:05",
"topic": "Como convertir de CSV a DBF?",
"username": "wmormar"
}
] | Como convertir de CSV a DBF? |
[
{
"date": "2008-09-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias William por tu sugerencia.\r\nYo tenia pensado en crear la estructura del DBF a partir de la lectura del archivo y luego añadir la data como se hace el siguiente codigo. Sin embargo creo es mejor usar el APPEND ya que es super-rapido.\r\n\r\nGeorge\r\n\r\n[quote:2cg71b19]\ninclude 'fivewin.ch' \n#include 'xbrowse.ch' \n\nfunction Main() \n\n local cBuf \n local aData, aHeaders \n\n cBuf := MemoRead( 'input.txt' ) \n // parse and make a multi dimentional array \n if cBuf[ -1 ] == 26 // check and remove Ctrl-Z \n cBuf := Left( cBuf, Len( cBuf ) - 1 ) \n endif \n if Right( cBuf, 2 ) != CRLF \n // pad with CRLF if needed, not to miss the last line \n cBuf += CRLF \n endif \n cBuf := StrTran( cBuf, CRLF, Chr( 10 ) ) \n aData := hb_aTokens( cBuf, Chr(10) ) \n AEval( aData, { |c,i| aData[ i ] := hb_aTokens( c, ';' ) } ) \n aHeaders := aData[ 1 ] \n aData := ADel( aData, 1 ) \n aSize( aData, Len( aData ) - 1 ) \n // Parsing is done \n\n // now view the data quickly in xbrowse before writing in DBF \n xBrowse( aData, ; // data to browse \n \"Parsed Data as Array\", ; // title \n .f., ; // no autosort \n { |oBrw| AEval( oBrw:aCols, { |o,i| o:cHeader := aHeaders[ i ] } ) } ; \n ) // codeblock above assigns header names \n\n // Extending the program to Write DBF \n WriteToDBF( 'INPUT.DBF', aData, aHeaders ) \n\n // Check the DBF \n USE INPUT \n XBrowse() \n\nreturn nil \n\nstatic function WriteToDBF( cDbf, aData, aHeaders ) \n\n local aStruct := {} \n local n, nLen := Len( aData ) \n\n AEval( aHeaders, ; \n { |c| AAdd( aStruct, ; \n { Upper( Left( Trim( c ), 10 ) ), 'C', 2, 0 } ); \n } ) \n // desirable to remove embedded chars not acceptable in fieldnames \n // and to check for duplicates \n // that logic is not included here \n\n for n := 1 to nLen \n AEval( aData[ n ], ; \n { |c,i| c := Trim( c ), ; \n aStruct[ i ][ 3 ] := Max( Len( c ), aStruct[ i ][ 3 ] ), ; \n aData[ n ][ i ] := c ; \n } ) \n next n \n\n dbCreate( cDbf, aStruct ) \n USE ( cDbf ) NEW ALIAS OUT EXCLUSIVE \n\n for n := 1 to nLen \n OUT->( dbAppend() ) \n AEval( aData[ n ], { |c,i| OUT->( FieldPut( i, c ) ) } ) \n next \n\n OUT->( dbCloseArea() ) \n\nreturn nil [/quote:2cg71b19]",
"time": "01:30",
"topic": "Como convertir de CSV a DBF?",
"username": "George"
}
] | Como convertir de CSV a DBF? |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos.\nTengo este Json que recibo de un Api Rest\n[code=fw:ftn4p350]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"order\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"id\"</span>: <span style=\"color: #ff0000;\">\"196\"</span>, <span style=\"color: #ff0000;\">\"nit\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan Valero\"</span>, <span style=\"color: #ff0000;\">\"email\"</span>: <span style=\"color: #ff0000;\">\"[email protected]\"</span>, <span style=\"color: #ff0000;\">\"items\"</span>: <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">14</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">43.26</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"301\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Entrega por un tercero\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">13</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">40.17</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"302\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Tiendas Super\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">15.45</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"303\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"created_at\"</span>: <span style=\"color: #ff0000;\">\"2022-10-20 22:09:00\"</span>, <span style=\"color: #ff0000;\">\"customer_id\"</span>: <span style=\"color: #ff0000;\">\"112\"</span>, <span style=\"color: #ff0000;\">\"person_type\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"increment_id\"</span>: <span style=\"color: #ff0000;\">\"4000000196\"</span>, <span style=\"color: #ff0000;\">\"legalAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Alta Verapaz\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 100\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chisec\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"razon_social\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"taxes_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"total_amount\"</span>: <span style=\"color: #000000;\">98.88</span>, <span style=\"color: #ff0000;\">\"payment_method\"</span>: <span style=\"color: #ff0000;\">\"banktransfer\"</span>, <span style=\"color: #ff0000;\">\"discount_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"shippingAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan 2\"</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 102\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"shipping_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"nombre_comercial\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"nombre_propietario\"</span>: <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"representante_legal\"</span>: <span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span></div>[/code:ftn4p350]\n\nY estoy intentando encontrar sus valores, por lo que he probado convertirlo a Hash, pero no logro obtener ningun valor.\nHe probado de esta forma:\n\n[code=fw:ftn4p350]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">TEXT</span> INTO cJs<br /><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"order\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"id\"</span>: <span style=\"color: #ff0000;\">\"196\"</span>, <span style=\"color: #ff0000;\">\"nit\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan Valero\"</span>, <span style=\"color: #ff0000;\">\"email\"</span>: <span style=\"color: #ff0000;\">\"[email protected]\"</span>, <span style=\"color: #ff0000;\">\"items\"</span>: <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">14</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">43.26</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"301\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Entrega por un tercero\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">13</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">40.17</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"302\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Tiendas Super\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">15.45</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"303\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"created_at\"</span>: <span style=\"color: #ff0000;\">\"2022-10-20 22:09:00\"</span>, <span style=\"color: #ff0000;\">\"customer_id\"</span>: <span style=\"color: #ff0000;\">\"112\"</span>, <span style=\"color: #ff0000;\">\"person_type\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"increment_id\"</span>: <span style=\"color: #ff0000;\">\"4000000196\"</span>, <span style=\"color: #ff0000;\">\"legalAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Alta Verapaz\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 100\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chisec\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"razon_social\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"taxes_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"total_amount\"</span>: <span style=\"color: #000000;\">98.88</span>, <span style=\"color: #ff0000;\">\"payment_method\"</span>: <span style=\"color: #ff0000;\">\"banktransfer\"</span>, <span style=\"color: #ff0000;\">\"discount_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"shippingAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan 2\"</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 102\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"shipping_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"nombre_comercial\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"nombre_propietario\"</span>: <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"representante_legal\"</span>: <span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span><br />ENDTEXT<br /><br />cHs:=<span style=\"color: #000000;\">{</span>=><span style=\"color: #000000;\">}</span><br />hb_jsonDecode<span style=\"color: #000000;\">(</span>cJs,@cHs<span style=\"color: #000000;\">)</span><br />? cHs<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">'order'</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">'id'</span><span style=\"color: #000000;\">]</span> <br /> </div>[/code:ftn4p350]\nY me da: Error BASE/1132 Error de rango: acceso al array\n\nO bien:\n[code=fw:ftn4p350]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">TEXT</span> INTO cJs<br /><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"order\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"id\"</span>: <span style=\"color: #ff0000;\">\"196\"</span>, <span style=\"color: #ff0000;\">\"nit\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan Valero\"</span>, <span style=\"color: #ff0000;\">\"email\"</span>: <span style=\"color: #ff0000;\">\"[email protected]\"</span>, <span style=\"color: #ff0000;\">\"items\"</span>: <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">14</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">43.26</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"301\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Entrega por un tercero\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">13</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">40.17</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"302\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Tiendas Super\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">15.45</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"303\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"created_at\"</span>: <span style=\"color: #ff0000;\">\"2022-10-20 22:09:00\"</span>, <span style=\"color: #ff0000;\">\"customer_id\"</span>: <span style=\"color: #ff0000;\">\"112\"</span>, <span style=\"color: #ff0000;\">\"person_type\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"increment_id\"</span>: <span style=\"color: #ff0000;\">\"4000000196\"</span>, <span style=\"color: #ff0000;\">\"legalAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Alta Verapaz\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 100\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chisec\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"razon_social\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"taxes_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"total_amount\"</span>: <span style=\"color: #000000;\">98.88</span>, <span style=\"color: #ff0000;\">\"payment_method\"</span>: <span style=\"color: #ff0000;\">\"banktransfer\"</span>, <span style=\"color: #ff0000;\">\"discount_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"shippingAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan 2\"</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 102\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"shipping_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"nombre_comercial\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"nombre_propietario\"</span>: <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"representante_legal\"</span>: <span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span><br />ENDTEXT<br /><br />cHs:=<span style=\"color: #000000;\">{</span>=><span style=\"color: #000000;\">}</span><br />hb_jsonDecode<span style=\"color: #000000;\">(</span>cJs,@cHs<span style=\"color: #000000;\">)</span><br /><span style=\"color: #0000ff;\">xbrowse</span><span style=\"color: #000000;\">(</span> cHs <span style=\"color: #000000;\">)</span><br /> </div>[/code:ftn4p350]\nNo obtengo nigun valor con xBrowse()\n\nAlguien me puede indicar como puedo tratar este JSon por favor?\n\nSaludos cordiales.\n\nCarlos",
"time": "00:27",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "csincuir"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos:\nPrueba con hb_jsonDecode\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=34345#p203772\">viewtopic.php?f=3&t=34345#p203772</a><!-- l -->",
"time": "02:01",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "cmsoft"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cesar, gracias por contestar, pero, tambien ya he usado hb_jsonDecode, pero acá me convierte el Json en una cadena con slashes \\\\ nada mas.\n\nSaludos",
"time": "04:32",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "csincuir"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Tal ves mi pregunta esta mal hecha.\n[code=fw:gq68gscj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cHs:=<span style=\"color: #000000;\">{</span>=><span style=\"color: #000000;\">}</span><br />hb_jsonDecode<span style=\"color: #000000;\">(</span>cJs,@cHs<span style=\"color: #000000;\">)</span><br />? ValType<span style=\"color: #000000;\">(</span> cHs <span style=\"color: #000000;\">)</span><br /> </div>[/code:gq68gscj]\n\nLa función hb_jsonDecode() si me convierte el Json a Hash, ya que ValType(cHs) me devuelve \"H\", por lo que la pregunta sería, como hago ahora para obtener los datos del Hash generado?\nya que cHs['order']['id'], me da Error de rango: acceso al array\n\nSaludos\n\nCarlos",
"time": "04:38",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "csincuir"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos, mira a ver si asi lo ves más claro\n\n[code=fw:2lqr5orw]<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> hJs<br /> <span style=\"color: #00C800;\">local</span> cJs<br /><br /> <span style=\"color: #0000ff;\">TEXT</span> INTO cJs<br /> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"order\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"id\"</span>: <span style=\"color: #ff0000;\">\"196\"</span>, <span style=\"color: #ff0000;\">\"nit\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan Valero\"</span>, <span style=\"color: #ff0000;\">\"email\"</span>: <span style=\"color: #ff0000;\">\"[email protected]\"</span>, <span style=\"color: #ff0000;\">\"items\"</span>: <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">14</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">43.26</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"301\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Entrega por un tercero\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">13</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">40.17</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"302\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Tiendas Super\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">15.45</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"303\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"created_at\"</span>: <span style=\"color: #ff0000;\">\"2022-10-20 22:09:00\"</span>, <span style=\"color: #ff0000;\">\"customer_id\"</span>: <span style=\"color: #ff0000;\">\"112\"</span>, <span style=\"color: #ff0000;\">\"person_type\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"increment_id\"</span> : <span style=\"color: #ff0000;\">\"4000000196\"</span>, <span style=\"color: #ff0000;\">\"legalAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Alta Verapaz\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 100\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chisec\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"razon_social\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"taxes_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"total_amount\"</span>: <span style=\"color: #000000;\">98.88</span>, <span style=\"color: #ff0000;\">\"payment_method\"</span>: <span style=\"color: #ff0000;\">\"banktransfer\"</span>, <span style=\"color: #ff0000;\">\"discount_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"shippingAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan 2\"</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 102\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"shipping_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"nombre_comercial\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"nombre_propietario\"</span>: <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"representante_legal\"</span>: <span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span><br /> ENDTEXT<br /><br /> cJs := StrTran<span style=\"color: #000000;\">(</span> cJs, <span style=\"color: #ff0000;\">'{\"order\": '</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span><br /> cJs := <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">(</span> cJs, Len<span style=\"color: #000000;\">(</span> cJs <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /> ? cJs<br /> hb_JsonDecode<span style=\"color: #000000;\">(</span> cJs, @hJs <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">XBrowse</span><span style=\"color: #000000;\">(</span> hJs <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2lqr5orw]",
"time": "04:41",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "cnavarro"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"csincuir\":ad2wzopb]Tal ves mi pregunta esta mal hecha.\n[code=fw:ad2wzopb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cHs:=<span style=\"color: #000000;\">{</span>=><span style=\"color: #000000;\">}</span><br />hb_jsonDecode<span style=\"color: #000000;\">(</span>cJs,@cHs<span style=\"color: #000000;\">)</span><br />? ValType<span style=\"color: #000000;\">(</span> cHs <span style=\"color: #000000;\">)</span><br /> </div>[/code:ad2wzopb]\n\nLa función hb_jsonDecode() si me convierte el Json a Hash, ya que ValType(cHs) me devuelve \"H\", por lo que la pregunta sería, como hago ahora para obtener los datos del Hash generado?\nya que cHs['order']['id'], me da Error de rango: acceso al array\n\nSaludos\n\nCarlos[/quote:ad2wzopb]\n\nAsi:\n[quote:ad2wzopb]\n? hJs[ \"razon_social\" ]\n[/quote:ad2wzopb]",
"time": "04:47",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "cnavarro"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cristobal, eres un genio.\nEstas lineas: \n[code=fw:2jgytlip]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br />cJs := StrTran<span style=\"color: #000000;\">(</span> cJs, <span style=\"color: #ff0000;\">'{\"order\": '</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span><br />cJs := <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">(</span> cJs, Len<span style=\"color: #000000;\">(</span> cJs <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:2jgytlip]\nhicieron la magia:\n[code=fw:2jgytlip]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> cJs := StrTran<span style=\"color: #000000;\">(</span> cJs, <span style=\"color: #ff0000;\">'{\"order\": '</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span><br /> cJs := <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">(</span> cJs, Len<span style=\"color: #000000;\">(</span> cJs <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">//? cJs</span><br /> hb_JsonDecode<span style=\"color: #000000;\">(</span> cJs, @hJs <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">//Aca obtengo ya los datos del Json</span><br /> ? hJs<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"id\"</span><span style=\"color: #000000;\">]</span><br /> ? hJs<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"items\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"sku\"</span><span style=\"color: #000000;\">]</span><br /> </div>[/code:2jgytlip]\nMuchas gracias por tu ayuda.\n\nSaludos cordiales.\n\nCarlos.",
"time": "05:03",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "csincuir"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos, también podría hacerse asi\n[code=fw:3obesbaf]<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> hJs<br /> <span style=\"color: #00C800;\">local</span> cJs<br /><br /> <span style=\"color: #0000ff;\">TEXT</span> INTO cJs<br /> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"order\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"id\"</span>: <span style=\"color: #ff0000;\">\"196\"</span>, <span style=\"color: #ff0000;\">\"nit\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan Valero\"</span>, <span style=\"color: #ff0000;\">\"email\"</span>: <span style=\"color: #ff0000;\">\"[email protected]\"</span>, <span style=\"color: #ff0000;\">\"items\"</span>: <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">14</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">43.26</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"301\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Entrega por un tercero\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">13</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">40.17</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"302\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Tiendas Super\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">15.45</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"303\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"created_at\"</span>: <span style=\"color: #ff0000;\">\"2022-10-20 22:09:00\"</span>, <span style=\"color: #ff0000;\">\"customer_id\"</span>: <span style=\"color: #ff0000;\">\"112\"</span>, <span style=\"color: #ff0000;\">\"person_type\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"increment_id\"</span> : <span style=\"color: #ff0000;\">\"4000000196\"</span>, <span style=\"color: #ff0000;\">\"legalAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Alta Verapaz\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 100\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chisec\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"razon_social\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"taxes_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"total_amount\"</span>: <span style=\"color: #000000;\">98.88</span>, <span style=\"color: #ff0000;\">\"payment_method\"</span>: <span style=\"color: #ff0000;\">\"banktransfer\"</span>, <span style=\"color: #ff0000;\">\"discount_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"shippingAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan 2\"</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 102\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"shipping_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"nombre_comercial\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"nombre_propietario\"</span>: <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"representante_legal\"</span>: <span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span><br /> ENDTEXT<br /><span style=\"color: #B900B9;\">/*<br /> cJs := StrTran( cJs, '{\"order\": ', \"\" )<br /> cJs := Left( cJs, Len( cJs ) - 2 )<br /> ? cJs<br />*/</span><br /> hb_JsonDecode<span style=\"color: #000000;\">(</span> cJs, @hJs <span style=\"color: #000000;\">)</span><br /> ? hJs<span style=\"color: #000000;\">[</span> <span style=\"color: #ff0000;\">\"order\"</span> <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span> <span style=\"color: #ff0000;\">\"razon_social\"</span> <span style=\"color: #000000;\">]</span><br /><br /> <span style=\"color: #0000ff;\">XBrowse</span><span style=\"color: #000000;\">(</span> hJs <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:3obesbaf]",
"time": "11:20",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "cnavarro"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2022-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"cnavarro\":u903kgjv]Carlos, también podría hacerse asi\n[code=fw:u903kgjv]<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> hJs<br /> <span style=\"color: #00C800;\">local</span> cJs<br /><br /> <span style=\"color: #0000ff;\">TEXT</span> INTO cJs<br /> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"order\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"id\"</span>: <span style=\"color: #ff0000;\">\"196\"</span>, <span style=\"color: #ff0000;\">\"nit\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan Valero\"</span>, <span style=\"color: #ff0000;\">\"email\"</span>: <span style=\"color: #ff0000;\">\"[email protected]\"</span>, <span style=\"color: #ff0000;\">\"items\"</span>: <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">14</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">43.26</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"301\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Entrega por un tercero\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Aceros de Guatemala\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">13</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">40.17</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"302\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"sku\"</span>: <span style=\"color: #ff0000;\">\"MUR0491\"</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Block Tapado Liviano de 14 de 14x19x39cm (UN) 25kg/cmu00b2\"</span>, <span style=\"color: #ff0000;\">\"price\"</span>: <span style=\"color: #000000;\">3.09</span>, <span style=\"color: #ff0000;\">\"seller\"</span>: <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"source\"</span>: <span style=\"color: #ff0000;\">\"Tiendas Super\"</span>, <span style=\"color: #ff0000;\">\"quantity\"</span>: <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"entity_id\"</span>: <span style=\"color: #ff0000;\">\"235\"</span>, <span style=\"color: #ff0000;\">\"total_price\"</span>: <span style=\"color: #000000;\">15.45</span>, <span style=\"color: #ff0000;\">\"order_item_id\"</span>: <span style=\"color: #ff0000;\">\"303\"</span>, <span style=\"color: #ff0000;\">\"shipping_method\"</span>: <span style=\"color: #ff0000;\">\"Retiro en tienda\"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"created_at\"</span>: <span style=\"color: #ff0000;\">\"2022-10-20 22:09:00\"</span>, <span style=\"color: #ff0000;\">\"customer_id\"</span>: <span style=\"color: #ff0000;\">\"112\"</span>, <span style=\"color: #ff0000;\">\"person_type\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"increment_id\"</span> : <span style=\"color: #ff0000;\">\"4000000196\"</span>, <span style=\"color: #ff0000;\">\"legalAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Alta Verapaz\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 100\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chisec\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"razon_social\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"taxes_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"total_amount\"</span>: <span style=\"color: #000000;\">98.88</span>, <span style=\"color: #ff0000;\">\"payment_method\"</span>: <span style=\"color: #ff0000;\">\"banktransfer\"</span>, <span style=\"color: #ff0000;\">\"discount_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"shippingAddress\"</span>: <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"city\"</span>: <span style=\"color: #00C800;\">null</span>, <span style=\"color: #ff0000;\">\"name\"</span>: <span style=\"color: #ff0000;\">\"Jhonatan 2\"</span>, <span style=\"color: #ff0000;\">\"region\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span>, <span style=\"color: #ff0000;\">\"street\"</span>: <span style=\"color: #ff0000;\">\"Cll 102\"</span>, <span style=\"color: #ff0000;\">\"country\"</span>: <span style=\"color: #ff0000;\">\"GT\"</span>, <span style=\"color: #ff0000;\">\"zip_code\"</span>: <span style=\"color: #ff0000;\">\"16013\"</span>, <span style=\"color: #ff0000;\">\"telephone\"</span>: <span style=\"color: #ff0000;\">\"31264587\"</span>, <span style=\"color: #ff0000;\">\"municipality\"</span>: <span style=\"color: #ff0000;\">\"Chimaltenango\"</span><span style=\"color: #000000;\">}</span>, <span style=\"color: #ff0000;\">\"shipping_amount\"</span>: <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"nombre_comercial\"</span>: <span style=\"color: #ff0000;\">\"Mi empresa\"</span>, <span style=\"color: #ff0000;\">\"nombre_propietario\"</span>: <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"representante_legal\"</span>: <span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span><br /> ENDTEXT<br /><span style=\"color: #B900B9;\">/*<br /> cJs := StrTran( cJs, '{\"order\": ', \"\" )<br /> cJs := Left( cJs, Len( cJs ) - 2 )<br /> ? cJs<br />*/</span><br /> hb_JsonDecode<span style=\"color: #000000;\">(</span> cJs, @hJs <span style=\"color: #000000;\">)</span><br /> ? hJs<span style=\"color: #000000;\">[</span> <span style=\"color: #ff0000;\">\"order\"</span> <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span> <span style=\"color: #ff0000;\">\"razon_social\"</span> <span style=\"color: #000000;\">]</span><br /><br /> <span style=\"color: #0000ff;\">XBrowse</span><span style=\"color: #000000;\">(</span> hJs <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:u903kgjv][/quote:u903kgjv]\n\nCristobal, de esa forma lo estaba haciendo al inicio, pero como comentaba da Error BASE/1132 Error de rango: acceso al array, al intentar hacer esto: ? hJs[ \"order\" ][ \"razon_social\" ]\nY el XBrowse( hJs ) sale en blanco\n\nPero usando estas dos lineas que me enviaste, todo funciona correctamente.\n[code=fw:u903kgjv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cJs := StrTran<span style=\"color: #000000;\">(</span> cJs, <span style=\"color: #ff0000;\">'{\"order\": '</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span><br />cJs := <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">(</span> cJs, Len<span style=\"color: #000000;\">(</span> cJs <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:u903kgjv]\n\nSaludos cordiales.\n\nCarlos",
"time": "13:56",
"topic": "Como convertir un Json a Hash? (SOLUCIONADO)",
"username": "csincuir"
}
] | Como convertir un Json a Hash? (SOLUCIONADO) |
[
{
"date": "2005-11-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados:\n\nquiero crear una libreria en xHarbour, supongamos para que me devuelva la suma de dos numeros. \n\nComo se hace para crearla?\n\ngracias.",
"time": "00:43",
"topic": "Como crear Librerias",
"username": "goosfancito"
}
] | Como crear Librerias |
[
{
"date": "2005-11-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gustavo,\n\nCreas la función, construyes el OBJ y luego usas TLib.exe (Borland) ó Lib.exe (Microsoft) para generar el fichero .LIB.\n\nEscribe TLib.exe y verás la descripción de cómo usarlo.",
"time": "09:48",
"topic": "Como crear Librerias",
"username": "Antonio Linares"
}
] | Como crear Librerias |
[
{
"date": "2013-02-26",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola FiveWinners.\n\nAlguien conoce el truco para generar botones invisibles?\nEs decir que exista en un dialogo, el area de un boton que sea sensible al mouse, pero que no se muestre la imagen del boton, claro debe tener forma de ajecutar una accion.\n\nAlguien conoce el truco?\n\nSaludos",
"time": "20:30",
"topic": "Como crear botones invisibles?",
"username": "devtuxtla"
}
] | Como crear botones invisibles? |
[
{
"date": "2013-02-26",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola...\nPrueba lo siguiente:\n\n[code=fw:2gy3kqn9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> Btn2 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">201</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #0000ff;\">LEFT</span> TRANSPARENT;<br /> <span style=\"color: #0000ff;\">ACTION</span> TuAcction<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>;<br /> TOOLTIP <span style=\"color: #ff0000;\">\"Tu mensaje\"</span><span style=\"color: #0000ff;\">FONT</span> oFont1<br /> </div>[/code:2gy3kqn9]\n\nSaludos, Esteban.",
"time": "20:46",
"topic": "Como crear botones invisibles?",
"username": "jrestojeda"
}
] | Como crear botones invisibles? |
[
{
"date": "2013-02-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Yo lo hago asi, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\n REDEFINE BTNBMP aBtn[1] ID 200 OF oDlg ;\n action accion()\n aBtn[1]:lBorder := .f.\n aBtn[1]:lTransparent := .t.",
"time": "04:16",
"topic": "Como crear botones invisibles?",
"username": "joseluisysturiz"
}
] | Como crear botones invisibles? |
[
{
"date": "2015-04-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos\n\nHace tiempo pregunté como se podría quitar el menú de la ventana principal que se creaba con \"MENU MenuPrin()\" y me indicasteis que era:\n\noVentPrinc:oMenu:End()\n\nLo que funciona perfectamente ahora quisiera pintar de nuevo el menú y no se como hacerlo me podríais indicarme como se hace.\n\nUn saludo\n\nCarlos",
"time": "11:42",
"topic": "Como crear de nuevo el menu principal",
"username": "colthop"
}
] | Como crear de nuevo el menu principal |
[
{
"date": "2015-04-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ya lo he conseguido por si a alguien le sirve se hace:\n\nSi se genera con WINDOW oWnd MENU MenuPrin()\n\nY se quita se puede volver a poner con:\n\noWnd:SetMenu(MenuPrinc())\n\nUn saludo\n\nCarlos",
"time": "12:40",
"topic": "Como crear de nuevo el menu principal",
"username": "colthop"
}
] | Como crear de nuevo el menu principal |
[
{
"date": "2015-04-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos,\n\nAsi es, gracias por compartirlo <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "13:21",
"topic": "Como crear de nuevo el menu principal",
"username": "Antonio Linares"
}
] | Como crear de nuevo el menu principal |
[
{
"date": "2008-04-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos y gracias anticipadas.\n\n\nHe conseguido con OLE ,abrir un libro Excel, enviar datos, formatear celdas , etc… lo básico, pero ahora mi problema es que no soy capaz de codificar en mi programa los objetos y metodos de MS Excel, para que desde el mismo, se creen dos gráficos incrustados en otra hoja del libro referenciando, es decir, definir el tipo de gráfico, los rangos necesarios con las series de datos, etc...\n\n\nMe podríais ayudar si son tan amables con algún ejemplo. Si el gráfico fuese del tipo \"radar\" mucho mejor.\n\nMuchas gracias por todo.\nRicardo Blanco. <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: -->",
"time": "20:47",
"topic": "Como crear graficos usando ole en excel",
"username": "rlblanco"
}
] | Como crear graficos usando ole en excel |
[
{
"date": "2008-04-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ricardo Blanco:\n\nHola y bienvenido al foro\n\nMe pregunto si sería posible que nos podrías aportarar a la comunidad las funciones basicas para el manejo de Excel desde OLE <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> , ya que muchos como yo estamos probando las diferentes formas de exportar nuestros reportes o listados a Excel y si tienes experiencia en eso pues que mejor que aplicar tus conocimientos en esta area.. <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> \n\nSaludos desde México-.. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "00:21",
"topic": "Como crear graficos usando ole en excel",
"username": "cuatecatl82"
}
] | Como crear graficos usando ole en excel |
[
{
"date": "2008-04-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Victor Manuel\n\nCreo que en este tema no puedo aportar más de lo que se ve por el foro. Todos mis conocimientos para programar OLE como interface con EXCEL los he adquirido mirando aquí.\n\nMi mayor problema es interpretar los ejemplos en visual basic u otros lenguajes que veo en la ayuda de excel e internet y transcribirlos a la sintaxis de Harbour/fivewin, es por ello que no soy capaz de conseguir construir desde cero, es decir dandole todas sus propiedades, rangos, etc..., un gráfico incrustado en una hoja excel dando instrucciones a través de Ole desde mis aplicaciones. \n\nPor si te puede aportar algo,esto es un pequeño fragmento de código a modo de ejemplo de como accedo yo Excel con OLE :\n\n\noExcel:=TOleAuto():New( \"Excel.Application\" ) \noExcel:WorkBooks:Add() \noSheet:= oExcel:Get( \"ActiveSheet\" ) \n\noSheet:= oExcel:sheets:item(1) \noSheet:name:='Radar' \noSheet:= oExcel:sheets:item(2) \noSheet:name:='Datos' \noSheet:activate() \noExcel:visible := .t. \n\noExcel:Sheets( \"Datos\" ):Cells( 1, 1 ):Value := \"AREA\" \noExcel:Sheets( \"Datos\" ):Cells( 3, 1 ):Value := \"NOMBRE PILAR\" \n\noExcel:Sheets( \"Datos\" ):Cells( 2, 4 ):Value := \"NOMBRE PERSONA\" \noExcel:Sheets( \"Datos\" ):Cells( 2, 6 ):Value := \"ROL PERSONA\" \noExcel:Sheets( \"Datos\" ):Cells( 2, 7 ):Value := \"COMPETENCIAS\" \noExcel:Sheets( \"Datos\" ):Cells( 2, 8 ):Value := \"VAL. REQUER.\" \noExcel:Sheets( \"Datos\" ):Cells( 2, 9 ):Value := \"VAL. ACTUAL\" \n\n*oSheet:Range(\"A:A\"):Set(\"ColumnWidth\",32) // AJUSTA TAMAÑO UN RANGO A UN VALOR \n\noExcel:Sheets( \"Datos\" ):Cells( 2, 1 ):Value := XFAM_PRO \noExcel:Sheets( \"Datos\" ):Cells( 4, 1 ):Value := VDEN_PILAR \n\n\nfila := 3\n\nSELECT 15\nREGIS:=RECNO()\nDBGOTOP()\nCANT:=0\nDO WHILE !EOF()\n CANT+=1\n VNOMBRE :=15->MATRIC+' - '+ALLTRIM(APELL1)+' '+SUBSTR(NOMBRE,1,2)+'.' \n VROL :=15->ROL\n \n oExcel:Sheets( \"Datos\" ):Cells( fila, 4):Value := VNOMBRE\n oExcel:Sheets( \"Datos\" ):Cells( fila, 6 ):Value := VROL \n \n XFILTR:=XFAM_PRO + VC_PILAR + 15->MATRIC \n SELECT 16 // WCM_MACO.DBF\n DBGOTOP()\n 16->(ORDSCOPE( TOPSCOPE,NIL ) )\n 16->(ORDSCOPE( BOTTOMSCOPE,NIL ) ) \n DBGOTOP()\n 16->(ORDSCOPE( TOPSCOPE ,XFILTR ) )\n 16->(ORDSCOPE( BOTTOMSCOPE,XFILTR ) ) \n DBGOTOP() \n\n SELECT 16\n DO WHILE !EOF()\n IF 16->REQUERIDO =' '\n *\n ELSE \n oExcel:Sheets( \"Datos\" ):Cells( fila,7 ):Value := 16->COMPET\n oExcel:Sheets( \"Datos\" ):Cells( fila,8 ):Value := 16->REQUERIDO\n oExcel:Sheets( \"Datos\" ):Cells( fila,9 ):Value := 16->NEW_EVALU \n ENDIF\n \n SKIP\n fila+=1\n ENDDO \n \n SELECT 15\n fila+=2\n SKIP\nENDDO\n\noExcel:Sheets( \"Datos\" ):Range(\"A1:I30000\"):Columns:AutoFit() // FIJA AJUSTE TAMAÑO DE RANGO\n\nIF CANT > 0 // DIBUJO LOS RADARES \n \n oExcel:Sheets(1):Select() // me posiciono en la hoja 1 de gráficos.\n\n oGraficos:=oExcel:Sheets(\"Radar\"):ChartObjects()\n\n // oGraficos:Add(izquierda,arriba,ancho,largo);\n oChart:=oGraficos:Add(10,70,350,260)\n \n oChart:activate()\n \n** apartir de aquí mis problemas \n oChart:Chart:ChartWizard(source:=oExcel:Sheets(\"Datos\"):Range(\"H3:H6\"))\n \n oChart:Chart:ChartWizard(gallery:= 4)\n oChart:Chart:ChartWizard(title:=\"New Chart\")\n oChart:ChartType(\"xlRadarMarkers\")\n\nENDIF\n\n**-- más cosas..........\n\noExcel:quit()\n\noExcel:=nil\nSELECT 15\nDBGOTO(REGIS)\nMUESTRA(oLbx)\n\nRETURN NIL\n\n*********************************************\n\n\n\nSaludos.",
"time": "08:58",
"topic": "Como crear graficos usando ole en excel",
"username": "rlblanco"
}
] | Como crear graficos usando ole en excel |
[
{
"date": "2008-04-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "rlblanco yo hago asi:\n\n[code:30srqwvs]\n // INCASSI\n //\n oExcel := TOleAuto():New( \"Excel.Application\" )\n\n // Excel not available\n IF Ole2TxtError() != \"S_OK\"\n MsgStop(\"Excel non disponibile!\", APP_NAME )\n oExcel := NIL\n ENDIF\n\n InfStat(\"Invio dati a Excel (incassi)...\")\n\n // foglio 1\n\n IF lMensile\n cTitolo := \"VENDITA MENSILE - Dal: \" + DTOC( dDataDa ) + \" al: \" + DTOC( dDataA ) + \" - \" + ALLTRIM( oV:cNameDitta )\n ELSE // giornaliero\n cTitolo := \"VENDITA GIORNALIERA - Dal: \" + DTOC( dDataDa ) + \" al: \" + DTOC( dDataA ) + \" - \" + ALLTRIM( oV:cNameDitta )\n ENDIF\n\n oExcel:WorkBooks:Add()\n oExcel:Visible := .F.\n oHoja := oExcel:Get( \"ActiveSheet\" )\n\n oHoja:Cells( 1, 01 ):Value := cTitolo\n oHoja:Cells( 1, 01 ):Font:Bold := .T.\n\n oHoja:Cells( 4, 01 ):Value := \"DATA\"\n oHoja:Cells( 4, 02 ):Value := \"IMPORTO\"\n oHoja:Cells( 4, 01 ):Font:Bold := .T.\n oHoja:Cells( 4, 02 ):Font:Bold := .T.\n\n FOR i := 1 TO LEN( aIncassi )\n oHoja:Cells( i+4, 01 ):Value := aIncassi[i,1]\n oHoja:Cells( i+4, 02 ):Value := aIncassi[i,2]\n oHoja:Cells( i+4, 02 ):Set(\"NumberFormat\",\" #.##0,00;- #.##0,00\")\n NEXT\n oHoja:Columns(\"A:A\"):Set(\"ColumnWidth\", 9.43 )\n\n\n // grafico\n oHoja:Range(\"A4:B\" + NTRIM( LEN( aIncassi ) + 4 ) ):Select()\n oChart := oExcel:Charts:Add()\n oChart:ChartType := 54 // xl3DColumnClustered\n\n //xl3DPie -4102\n //xlColumnClustered 51\n //xlBarClustered 57\n // xl3DColumnClustered 54\n\n oSourceData := oHoja:Range(\"A4:B\" + NTRIM( LEN( aIncassi ) + 4 ))\n oChart:SetSourceData(oSourceData) //, PlotBy := 2 // xlColumns\n\n oChart:HasLegend := .T.\n oChart:Legend:Position := -4107 // xlBottom\n\n oChart:HasTitle := .T.\n oChart:ChartTitle:Characters:Text := cTitolo\n\n //oChartActive := oChart:ChartArea:Select()\n\n\n TRY // non funziona tutto, e se tolgo el try, end, da errori in tutti, però, in questo modo, mette gli importi\n oCh1 := oChart:PlotArea:Select()\n oCh1:RightAngleAxes := .T.\n oCh1:Elevation := 15\n oCh1:Perspective := 30\n oCh1:Rotation := 20\n oCh1:HeightPercent := 100\n oCh1:AutoScaling := .T.\n\n oChart:ApplyDataLabels:Set(\"LegendKey\", .T. )\n oChart:ApplyDataLabels:Set(\"HasLeaderLines\", .T. )\n oChart:ApplyDataLabels:Set(\"ShowValue\", .T. )\n oChart:ApplyDataLabels:Set(\"AutoText\", .T. )\n oChart:ApplyDataLabels:Set(\"ShowBubbleSize\", .F. )\n CATCH\n END\n\n // foglio 2\n InfStat(\"Invio dati a Excel (Articoli più venduti)...\")\n\n aArtAnnoLavoro := ASORT( aArtAnnoLavoro,,, { |x, y| x[2] > y[2] } )\n\n cTitolo := \"Articoli più venduti - \" + ALLTRIM( oV:cNameDitta ) + \" - dal: \" + DTOC( dDataDa ) + \" al: \" + DTOC( dDataA )\n\n oExcel:Sheets(3):Select() // sara il foglio 2, perche il primo è il grafico ;-)\n oHoja := oExcel:Get( \"ActiveSheet\" )\n\n oHoja:Cells( 1, 01 ):Value := cTitolo\n oHoja:Cells( 1, 01 ):Font:Bold := .T.\n\n oHoja:Cells( 4, 01 ):Value := \"ARTICOLO\"\n oHoja:Cells( 4, 02 ):Value := \"IMPORTO\"\n oHoja:Cells( 4, 01 ):Font:Bold := .T.\n oHoja:Cells( 4, 02 ):Font:Bold := .T.\n\n FOR i := 1 TO 10 // LEN( aArtAnnoLavoro )\n oHoja:Cells( i+4, 01 ):Value := ALLTRIM( aArtAnnoLavoro[i,1] ) + \" - \" + ALLTRIM( NameArt( aArtAnnoLavoro[i,1] ) )\n oHoja:Cells( i+4, 02 ):Value := aArtAnnoLavoro[i,2]\n oHoja:Cells( i+4, 02 ):Set(\"NumberFormat\",\" #.##0,00;- #.##0,00\")\n NEXT\n //oHoja:Columns(\"A:A\"):Set(\"ColumnWidth\", 9.43 )\n\n\n // grafico\n oHoja:Range(\"A5:B14\"):Select()\n oChart := oExcel:Charts:Add()\n oChart:ChartType := -4102 // xl3DPie\n oSourceData := oHoja:Range(\"A5:B14\")\n oChart:SetSourceData(oSourceData)\n\n oChart:HasLegend := .T.\n oChart:Legend:Position := -4107 // xlBottom\n\n oChart:HasTitle := .T.\n oChart:ChartTitle:Characters:Text := cTitolo\n\n TRY // non funziona tutto, e se tolgo el try, end, da errori in tutti, però, in questo modo, mette gli importi in ogni fetta della torta...\n oChart:ApplyDataLabels:Set(\"LegendKey\", .T. )\n oChart:ApplyDataLabels:Set(\"HasLeaderLines\", .T. )\n oChart:ApplyDataLabels:Set(\"ShowValue\", .T. )\n oChart:ApplyDataLabels:Set(\"AutoText\", .T. )\n oChart:ApplyDataLabels:Set(\"ShowBubbleSize\", .F. )\n CATCH\n END\n\n\n\n // foglio 3\n InfStat(\"Invio dati a Excel (Articoli più venduti in pezzi)...\")\n\n aArtAnnoLavoro := ASORT( aArtAnnoLavoro,,, { |x, y| x[3] > y[3] } )\n\n cTitolo := \"Articoli più venduti (in pezzi) - \" + ALLTRIM( oV:cNameDitta ) + \" - dal: \" + DTOC( dDataDa ) + \" al: \" + DTOC( dDataA )\n\n oExcel:Sheets(5):Select() // sara il foglio 3, perche il primo è il grafico, secondo il foglio 1, terzo il secondo grafico, quarto il foglio 2 ;-)\n oHoja := oExcel:Get( \"ActiveSheet\" )\n\n oHoja:Cells( 1, 01 ):Value := cTitolo\n oHoja:Cells( 1, 01 ):Font:Bold := .T.\n\n oHoja:Cells( 4, 01 ):Value := \"ARTICOLO\"\n oHoja:Cells( 4, 02 ):Value := \"PEZZI\"\n oHoja:Cells( 4, 01 ):Font:Bold := .T.\n oHoja:Cells( 4, 02 ):Font:Bold := .T.\n\n FOR i := 1 TO 10 // LEN( aArtAnnoLavoro )\n oHoja:Cells( i+4, 01 ):Value := ALLTRIM( aArtAnnoLavoro[i,1] ) + \" - \" + ALLTRIM( NameArt( aArtAnnoLavoro[i,1] ) )\n oHoja:Cells( i+4, 02 ):Value := aArtAnnoLavoro[i,3]\n oHoja:Cells( i+4, 02 ):Set(\"NumberFormat\",\" #.##0,00;- #.##0,00\")\n NEXT\n //oHoja:Columns(\"A:A\"):Set(\"ColumnWidth\", 9.43 )\n\n\n // grafico\n oHoja:Range(\"A5:B14\"):Select()\n oChart := oExcel:Charts:Add()\n oChart:ChartType := -4102 // xl3DPie\n oSourceData := oHoja:Range(\"A5:B14\")\n oChart:SetSourceData(oSourceData)\n\n oChart:HasLegend := .T.\n oChart:Legend:Position := -4107 // xlBottom\n\n oChart:HasTitle := .T.\n oChart:ChartTitle:Characters:Text := cTitolo\n\n TRY // non funziona tutto, e se tolgo el try, end, da errori in tutti, però, in questo modo, mette gli importi in ogni fetta della torta...\n oChart:ApplyDataLabels:Set(\"LegendKey\", .T. )\n oChart:ApplyDataLabels:Set(\"HasLeaderLines\", .T. )\n oChart:ApplyDataLabels:Set(\"ShowValue\", .T. )\n oChart:ApplyDataLabels:Set(\"AutoText\", .T. )\n oChart:ApplyDataLabels:Set(\"ShowBubbleSize\", .F. )\n CATCH\n END\n // FINE più venduti in pezzi\n\n\n oExcel:Visible := .T.\n lUscitaOk := .T.\n\n RECOVER USING lUscitaOk\n lUscitaOk := .F.\n\n END SEQUENCE\n\nRETURN lUscitaOk\n[/code:30srqwvs]\n\n\nEn algunos casos da error, por ese motivo puse el TRY CATCH\nDe repente te sirve para hacerte una idea, no si es lo que tu necesitas.\n\nSaludos.",
"time": "09:36",
"topic": "Como crear graficos usando ole en excel",
"username": "pymsoft"
}
] | Como crear graficos usando ole en excel |
[
{
"date": "2008-04-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola pymsoft.\n\nMuchísimas gracias por el ejemplo, algo así, es lo que echaba en falta para comprender el funcionamiento. Gracias a ello ya he conseguido hacer un gráfico incrustado tipo radar relleno en una hoja.\n He andado loco con los valores de las constantes de excel, así que aquí dejo una muestra para quien las necesite.\n\n' =======================================\n' MS Excel constants\n' ---------------------------------------\nConst xlAll = -4104\nConst xlAutomatic = -4105\nConst xlBoth = 1\nConst xlCenter = -4108\nConst xlChecker = 9\nConst xlCircle = 8\nConst xlCorner = 2\nConst xlCrissCross = 16\nConst xlCross = 4\nConst xlDiamond = 2\nConst xlDistributed = -4117\nConst xlDoubleAccounting = 5\nConst xlFixedValue = 1\nConst xlFormats = -4122\nConst xlGray16 = 17\nConst xlGray8 = 18\nConst xlGrid = 15\nConst xlHigh = -4127\nConst xlInside = 2\nConst xlJustify = -4130\nConst xlLightDown = 13\nConst xlLightHorizontal = 11\nConst xlLightUp = 14\nConst xlLightVertical = 12\nConst xlLow = -4134\nConst xlManual = -4135\nConst xlMinusValues = 3\nConst xlModule = -4141\nConst xlNextToAxis = 4\nConst xlNone = -4142\nConst xlNotes = -4144\nConst xlOff = -4146\nConst xlOn = 1\nConst xlPercent = 2\nConst xlPlus = 9\nConst xlPlusValues = 2\nConst xlSemiGray75 = 10\nConst xlShowLabel = 4\nConst xlShowLabelAndPercent = 5\nConst xlShowPercent = 3\nConst xlShowValue = 2\nConst xlSimple = -4154\nConst xlSingle = 2\nConst xlSingleAccounting = 4\nConst xlSolid = 1\nConst xlSquare = 1\nConst xlStar = 5\nConst xlStError = 4\nConst xlToolbarButton = 2\nConst xlTriangle = 3\nConst xlGray25 = -4124\nConst xlGray50 = -4125\nConst xlGray75 = -4126\nConst xlBottom = -4107\nConst xlLeft = -4131\nConst xlRight = -4152\nConst xlTop = -4160\nConst xl3DBar = -4099\nConst xl3DSurface = -4103\nConst xlBar = 2\nConst xlColumn = 3\nConst xlCombination = -4111\nConst xlCustom = -4114\nConst xlDefaultAutoFormat = -1\nConst xlMaximum = 2\nConst xlMinimum = 4\nConst xlOpaque = 3\nConst xlTransparent = 2\nConst xlBidi = -5000\nConst xlLatin = -5001\nConst xlContext = -5002\nConst xlLTR = -5003\nConst xlRTL = -5004\nConst xlFullScript = 1\nConst xlPartialScript = 2\nConst xlMixedScript = 3\nConst xlMixedAuthorizedScript = 4\nConst xlVisualCursor = 2\nConst xlLogicalCursor = 1\nConst xlSystem = 1\nConst xlPartial = 3\nConst xlHindiNumerals = 3\nConst xlBidiCalendar = 3\nConst xlGregorian = 2\nConst xlComplete = 4\nConst xlScale = 3\nConst xlClosed = 3\nConst xlColor1 = 7\nConst xlColor2 = 8\nConst xlColor3 = 9\nConst xlConstants = 2\nConst xlContents = 2\nConst xlBelow = 1\nConst xlCascade = 7\nConst xlCenterAcrossSelection = 7\nConst xlChart4 = 2\nConst xlChartSeries = 17\nConst xlChartShort = 6\nConst xlChartTitles = 18\nConst xlClassic1 = 1\nConst xlClassic2 = 2\nConst xlClassic3 = 3\nConst xl3DEffects1 = 13\nConst xl3DEffects2 = 14\nConst xlAbove = 0\nConst xlAccounting1 = 4\nConst xlAccounting2 = 5\nConst xlAccounting3 = 6\nConst xlAccounting4 = 17\nConst xlAdd = 2\nConst xlDebugCodePane = 13\nConst xlDesktop = 9\nConst xlDirect = 1\nConst xlDivide = 5\nConst xlDoubleClosed = 5\nConst xlDoubleOpen = 4\nConst xlDoubleQuote = 1\nConst xlEntireChart = 20\nConst xlExcelMenus = 1\nConst xlExtended = 3\nConst xlFill = 5\nConst xlFirst = 0\nConst xlFloating = 5\nConst xlFormula = 5\nConst xlGeneral = 1\nConst xlGridline = 22\nConst xlIcons = 1\nConst xlImmediatePane = 12\nConst xlInteger = 2\nConst xlLast = 1\nConst xlLastCell = 11\nConst xlList1 = 10\nConst xlList2 = 11\nConst xlList3 = 12\nConst xlLocalFormat1 = 15\nConst xlLocalFormat2 = 16\nConst xlLong = 3\nConst xlLotusHelp = 2\nConst xlMacrosheetCell = 7\nConst xlMixed = 2\nConst xlMultiply = 4\nConst xlNarrow = 1\nConst xlNoDocuments = 3\nConst xlOpen = 2\nConst xlOutside = 3\nConst xlReference = 4\nConst xlSemiautomatic = 2\nConst xlShort = 1\nConst xlSingleQuote = 2\nConst xlStrict = 2\nConst xlSubtract = 3\nConst xlTextBox = 16\nConst xlTiled = 1\nConst xlTitleBar = 8\nConst xlToolbar = 1\nConst xlVisible = 12\nConst xlWatchPane = 11\nConst xlWide = 3\nConst xlWorkbookTab = 6\nConst xlWorksheet4 = 1\nConst xlWorksheetCell = 3\nConst xlWorksheetShort = 5\nConst xlAllExceptBorders = 7\nConst xlLeftToRight = 2\nConst xlTopToBottom = 1\nConst xlVeryHidden = 2\nConst xlDrawingObject = 14\nConst xlCreatorCode = 1480803660\nConst xlBuiltIn = 21\nConst xlUserDefined = 22\nConst xlAnyGallery = 23\nConst xlColorIndexAutomatic = -4105\nConst xlColorIndexNone = -4142\nConst xlCap = 1\nConst xlNoCap = 2\nConst xlColumns = 2\nConst xlRows = 1\nConst xlScaleLinear = -4132\nConst xlScaleLogarithmic = -4133\nConst xlAutoFill = 4\nConst xlChronological = 3\nConst xlGrowth = 2\nConst xlDataSeriesLinear = -4132\nConst xlAxisCrossesAutomatic = -4105\nConst xlAxisCrossesCustom = -4114\nConst xlAxisCrossesMaximum = 2\nConst xlAxisCrossesMinimum = 4\nConst xlPrimary = 1\nConst xlSecondary = 2\nConst xlBackgroundAutomatic = -4105\nConst xlBackgroundOpaque = 3\nConst xlBackgroundTransparent = 2\nConst xlMaximized = -4137\nConst xlMinimized = -4140\nConst xlNormal = -4143\nConst xlCategory = 1\nConst xlSeriesAxis = 3\nConst xlValue = 2\nConst xlArrowHeadLengthLong = 3\nConst xlArrowHeadLengthMedium = -4138\nConst xlArrowHeadLengthShort = 1\nConst xlVAlignBottom = -4107\nConst xlVAlignCenter = -4108\nConst xlVAlignDistributed = -4117\nConst xlVAlignJustify = -4130\nConst xlVAlignTop = -4160\nConst xlTickMarkCross = 4\nConst xlTickMarkInside = 2\nConst xlTickMarkNone = -4142\nConst xlTickMarkOutside = 3\nConst xlX = -4168\nConst xlY = 1\nConst xlErrorBarIncludeBoth = 1\nConst xlErrorBarIncludeMinusValues = 3\nConst xlErrorBarIncludeNone = -4142\nConst xlErrorBarIncludePlusValues = 2\nConst xlInterpolated = 3\nConst xlNotPlotted = 1\nConst xlZero = 2\nConst xlArrowHeadStyleClosed = 3\nConst xlArrowHeadStyleDoubleClosed = 5\nConst xlArrowHeadStyleDoubleOpen = 4\nConst xlArrowHeadStyleNone = -4142\nConst xlArrowHeadStyleOpen = 2\nConst xlArrowHeadWidthMedium = -4138\nConst xlArrowHeadWidthNarrow = 1\nConst xlArrowHeadWidthWide = 3\nConst xlHAlignCenter = -4108\nConst xlHAlignCenterAcrossSelection = 7\nConst xlHAlignDistributed = -4117\nConst xlHAlignFill = 5\nConst xlHAlignGeneral = 1\nConst xlHAlignJustify = -4130\nConst xlHAlignLeft = -4131\nConst xlHAlignRight = -4152\nConst xlTickLabelPositionHigh = -4127\nConst xlTickLabelPositionLow = -4134\nConst xlTickLabelPositionNextToAxis = 4\nConst xlTickLabelPositionNone = -4142\nConst xlLegendPositionBottom = -4107\nConst xlLegendPositionCorner = 2\nConst xlLegendPositionLeft = -4131\nConst xlLegendPositionRight = -4152\nConst xlLegendPositionTop = -4160\nConst xlStackScale = 3\nConst xlStack = 2\nConst xlStretch = 1\nConst xlSides = 1\nConst xlEnd = 2\nConst xlEndSides = 3\nConst xlFront = 4\nConst xlFrontSides = 5\nConst xlFrontEnd = 6\nConst xlAllFaces = 7\nConst xlDownward = -4170\nConst xlHorizontal = -4128\nConst xlUpward = -4171\nConst xlVertical = -4166\nConst xlTickLabelOrientationAutomatic = -4105\nConst xlTickLabelOrientationDownward = -4170\nConst xlTickLabelOrientationHorizontal = -4128\nConst xlTickLabelOrientationUpward = -4171\nConst xlTickLabelOrientationVertical = -4166\nConst xlHairline = 1\nConst xlMedium = -4138\nConst xlThick = 4\nConst xlThin = 2\nConst xlDay = 1\nConst xlMonth = 3\nConst xlWeekday = 2\nConst xlYear = 4\nConst xlUnderlineStyleDouble = -4119\nConst xlUnderlineStyleDoubleAccounting = 5\nConst xlUnderlineStyleNone = -4142\nConst xlUnderlineStyleSingle = 2\nConst xlUnderlineStyleSingleAccounting = 4\nConst xlErrorBarTypeCustom = -4114\nConst xlErrorBarTypeFixedValue = 1\nConst xlErrorBarTypePercent = 2\nConst xlErrorBarTypeStDev = -4155\nConst xlErrorBarTypeStError = 4\nConst xlExponential = 5\nConst xlLinear = -4132\nConst xlLogarithmic = -4133\nConst xlMovingAvg = 6\nConst xlPolynomial = 3\nConst xlPower = 4\nConst xlContinuous = 1\nConst xlDash = -4115\nConst xlDashDot = 4\nConst xlDashDotDot = 5\nConst xlDot = -4118\nConst xlDouble = -4119\nConst xlSlantDashDot = 13\nConst xlLineStyleNone = -4142\nConst xlDataLabelsShowNone = -4142\nConst xlDataLabelsShowValue = 2\nConst xlDataLabelsShowPercent = 3\nConst xlDataLabelsShowLabel = 4\nConst xlDataLabelsShowLabelAndPercent = 5\nConst xlDataLabelsShowBubbleSizes = 6\nConst xlMarkerStyleAutomatic = -4105\nConst xlMarkerStyleCircle = 8\nConst xlMarkerStyleDash = -4115\nConst xlMarkerStyleDiamond = 2\nConst xlMarkerStyleDot = -4118\nConst xlMarkerStyleNone = -4142\nConst xlMarkerStylePicture = -4147\nConst xlMarkerStylePlus = 9\nConst xlMarkerStyleSquare = 1\nConst xlMarkerStyleStar = 5\nConst xlMarkerStyleTriangle = 3\nConst xlMarkerStyleX = -4168\nConst xlBMP = 1\nConst xlCGM = 7\nConst xlDRW = 4\nConst xlDXF = 5\nConst xlEPS = 8\nConst xlHGL = 6\nConst xlPCT = 13\nConst xlPCX = 10\nConst xlPIC = 11\nConst xlPLT = 12\nConst xlTIF = 9\nConst xlWMF = 2\nConst xlWPG = 3\nConst xlPatternAutomatic = -4105\nConst xlPatternChecker = 9\nConst xlPatternCrissCross = 16\nConst xlPatternDown = -4121\nConst xlPatternGray16 = 17\nConst xlPatternGray25 = -4124\nConst xlPatternGray50 = -4125\nConst xlPatternGray75 = -4126\nConst xlPatternGray8 = 18\nConst xlPatternGrid = 15\nConst xlPatternHorizontal = -4128\nConst xlPatternLightDown = 13\nConst xlPatternLightHorizontal = 11\nConst xlPatternLightUp = 14\nConst xlPatternLightVertical = 12\nConst xlPatternNone = -4142\nConst xlPatternSemiGray75 = 10\nConst xlPatternSolid = 1\nConst xlPatternUp = -4162\nConst xlPatternVertical = -4166\nConst xlSplitByPosition = 1\nConst xlSplitByPercentValue = 3\nConst xlSplitByCustomSplit = 4\nConst xlSplitByValue = 2\nConst xlHundreds = -2\nConst xlThousands = -3\nConst xlTenThousands = -4\nConst xlHundredThousands = -5\nConst xlMillions = -6\nConst xlTenMillions = -7\nConst xlHundredMillions = -8\nConst xlThousandMillions = -9\nConst xlMillionMillions = -10\nConst xlLabelPositionCenter = -4108\nConst xlLabelPositionAbove = 0\nConst xlLabelPositionBelow = 1\nConst xlLabelPositionLeft = -4131\nConst xlLabelPositionRight = -4152\nConst xlLabelPositionOutsideEnd = 2\nConst xlLabelPositionInsideEnd = 3\nConst xlLabelPositionInsideBase = 4\nConst xlLabelPositionBestFit = 5\nConst xlLabelPositionMixed = 6\nConst xlLabelPositionCustom = 7\nConst xlDays = 0\nConst xlMonths = 1\nConst xlYears = 2\nConst xlCategoryScale = 2\nConst xlTimeScale = 3\nConst xlAutomaticScale = -4105\nConst xlBox = 0\nConst xlPyramidToPoint = 1\nConst xlPyramidToMax = 2\nConst xlCylinder = 3\nConst xlConeToPoint = 4\nConst xlConeToMax = 5\nConst xlColumnClustered = 51\nConst xlColumnStacked = 52\nConst xlColumnStacked100 = 53\nConst xl3DColumnClustered = 54\nConst xl3DColumnStacked = 55\nConst xl3DColumnStacked100 = 56\nConst xlBarClustered = 57\nConst xlBarStacked = 58\nConst xlBarStacked100 = 59\nConst xl3DBarClustered = 60\nConst xl3DBarStacked = 61\nConst xl3DBarStacked100 = 62\nConst xlLineStacked = 63\nConst xlLineStacked100 = 64\nConst xlLineMarkers = 65\nConst xlLineMarkersStacked = 66\nConst xlLineMarkersStacked100 = 67\nConst xlPieOfPie = 68\nConst xlPieExploded = 69\nConst xl3DPieExploded = 70\nConst xlBarOfPie = 71\nConst xlXYScatterSmooth = 72\nConst xlXYScatterSmoothNoMarkers = 73\nConst xlXYScatterLines = 74\nConst xlXYScatterLinesNoMarkers = 75\nConst xlAreaStacked = 76\nConst xlAreaStacked100 = 77\nConst xl3DAreaStacked = 78\nConst xl3DAreaStacked100 = 79\nConst xlDoughnutExploded = 80\nConst xlRadarMarkers = 81\nConst xlRadarFilled = 82\nConst xlSurface = 83\nConst xlSurfaceWireframe = 84\nConst xlSurfaceTopView = 85\nConst xlSurfaceTopViewWireframe = 86\nConst xlBubble = 15\nConst xlBubble3DEffect = 87\nConst xlStockHLC = 88\nConst xlStockOHLC = 89\nConst xlStockVHLC = 90\nConst xlStockVOHLC = 91\nConst xlCylinderColClustered = 92\nConst xlCylinderColStacked = 93\nConst xlCylinderColStacked100 = 94\nConst xlCylinderBarClustered = 95\nConst xlCylinderBarStacked = 96\nConst xlCylinderBarStacked100 = 97\nConst xlCylinderCol = 98\nConst xlConeColClustered = 99\nConst xlConeColStacked = 100\nConst xlConeColStacked100 = 101\nConst xlConeBarClustered = 102\nConst xlConeBarStacked = 103\nConst xlConeBarStacked100 = 104\nConst xlConeCol = 105\nConst xlPyramidColClustered = 106\nConst xlPyramidColStacked = 107\nConst xlPyramidColStacked100 = 108\nConst xlPyramidBarClustered = 109\nConst xlPyramidBarStacked = 110\nConst xlPyramidBarStacked100 = 111\nConst xlPyramidCol = 112\nConst xl3DColumn = -4100\nConst xlLine = 4\nConst xl3DLine = -4101\nConst xl3DPie = -4102\nConst xlPie = 5\nConst xlXYScatter = -4169\nConst xl3DArea = -4098\nConst xlArea = 1\nConst xlDoughnut = -4120\nConst xlRadar = -4151\nConst xlDataLabel = 0\nConst xlChartArea = 2\nConst xlSeries = 3\nConst xlChartTitle = 4\nConst xlWalls = 5\nConst xlCorners = 6\nConst xlDataTable = 7\nConst xlTrendline = 8\nConst xlErrorBars = 9\nConst xlXErrorBars = 10\nConst xlYErrorBars = 11\nConst xlLegendEntry = 12\nConst xlLegendKey = 13\nConst xlShape = 14\nConst xlMajorGridlines = 15\nConst xlMinorGridlines = 16\nConst xlAxisTitle = 17\nConst xlUpBars = 18\nConst xlPlotArea = 19\nConst xlDownBars = 20\nConst xlAxis = 21\nConst xlSeriesLines = 22\nConst xlFloor = 23\nConst xlLegend = 24\nConst xlHiLoLines = 25\nConst xlDropLines = 26\nConst xlRadarAxisLabels = 27\nConst xlNothing = 28\nConst xlLeaderLines = 29\nConst xlDisplayUnitLabel = 30\nConst xlPivotChartFieldButton = 31\nConst xlPivotChartDropZone = 32\nConst xlSizeIsWidth = 2\nConst xlSizeIsArea = 1\nConst xlShiftDown = -4121\nConst xlShiftToRight = -4161\nConst xlShiftToLeft = -4159\nConst xlShiftUp = -4162\nConst xlDown = -4121\nConst xlToLeft = -4159\nConst xlToRight = -4161\nConst xlUp = -4162\nConst xlAverage = -4106\nConst xlCount = -4112\nConst xlCountNums = -4113\nConst xlMax = -4136\nConst xlMin = -4139\nConst xlProduct = -4149\nConst xlStDev = -4155\nConst xlStDevP = -4156\nConst xlSum = -4157\nConst xlVar = -4164\nConst xlVarP = -4165\nConst xlUnknown = 1000\nConst xlChart = -4109\nConst xlDialogSheet = -4116\nConst xlExcel4IntlMacroSheet = 4\nConst xlExcel4MacroSheet = 3\nConst xlWorksheet = -4167\nConst xlColumnHeader = -4110\nConst xlColumnItem = 5\nConst xlDataHeader = 3\nConst xlDataItem = 7\nConst xlPageHeader = 2\nConst xlPageItem = 6\nConst xlRowHeader = -4153\nConst xlRowItem = 4\nConst xlTableBody = 8\nConst xlFormulas = -4123\nConst xlComments = -4144\nConst xlValues = -4163\nConst xlChartAsWindow = 5\nConst xlChartInPlace = 4\nConst xlClipboard = 3\nConst xlInfo = -4129\nConst xlWorkbook = 1\nConst xlDate = 2\nConst xlNumber = -4145\nConst xlText = -4158\nConst xlBitmap = 2\nConst xlPicture = -4147\nConst xlScenario = 4\nConst xlConsolidation = 3\nConst xlDatabase = 1\nConst xlExternal = 2\nConst xlPivotTable = -4148\nConst xlA1 = 1\nConst xlR1C1 = -4150\nConst xlMicrosoftAccess = 4\nConst xlMicrosoftFoxPro = 5\nConst xlMicrosoftMail = 3\nConst xlMicrosoftPowerPoint = 2\nConst xlMicrosoftProject = 6\nConst xlMicrosoftSchedulePlus = 7\nConst xlMicrosoftWord = 1\nConst xlNoButton = 0\nConst xlPrimaryButton = 1\nConst xlSecondaryButton = 2\nConst xlCopy = 1\nConst xlCut = 2\nConst xlFillWithAll = -4104\nConst xlFillWithContents = 2\nConst xlFillWithFormats = -4122\nConst xlFilterCopy = 2\nConst xlFilterInPlace = 1\nConst xlDownThenOver = 1\nConst xlOverThenDown = 2\nConst xlLinkTypeExcelLinks = 1\nConst xlLinkTypeOLELinks = 2\nConst xlColumnThenRow = 2\nConst xlRowThenColumn = 1\nConst xlDisabled = 0\nConst xlErrorHandler = 2\nConst xlInterrupt = 1\nConst xlPageBreakAutomatic = -4105\nConst xlPageBreakManual = -4135\nConst xlPageBreakNone = -4142\nConst xlOLEControl = 2\nConst xlOLEEmbed = 1\nConst xlOLELink = 0\nConst xlLandscape = 2\nConst xlPortrait = 1\nConst xlEditionDate = 2\nConst xlUpdateState = 1\nConst xlLinkInfoStatus = 3\nConst xlCommandUnderlinesAutomatic = -4105\nConst xlCommandUnderlinesOff = -4146\nConst xlCommandUnderlinesOn = 1\nConst xlVerbOpen = 2\nConst xlVerbPrimary = 1\nConst xlCalculationAutomatic = -4105\nConst xlCalculationManual = -4135\nConst xlCalculationSemiautomatic = 2\nConst xlReadOnly = 3\nConst xlReadWrite = 2\nConst xlPublisher = 1\nConst xlSubscriber = 2\nConst xlFitToPage = 2\nConst xlFullPage = 3\nConst xlScreenSize = 1\nConst xlPart = 2\nConst xlWhole = 1\nConst xlMAPI = 1\nConst xlNoMailSystem = 0\nConst xlPowerTalk = 2\nConst xlLinkInfoOLELinks = 2\nConst xlLinkInfoPublishers = 5\nConst xlLinkInfoSubscribers = 6\nConst xlErrDiv0 = 2007\nConst xlErrNA = 2042\nConst xlErrName = 2029\nConst xlErrNull = 2000\nConst xlErrNum = 2036\nConst xlErrRef = 2023\nConst xlErrValue = 2015\nConst xlBIFF = 2\nConst xlPICT = 1\nConst xlRTF = 4\nConst xlVALU = 8\nConst xlExcelLinks = 1\nConst xlOLELinks = 2\nConst xlPublishers = 5\nConst xlSubscribers = 6\nConst xlCellTypeBlanks = 4\nConst xlCellTypeConstants = 2\nConst xlCellTypeFormulas = -4123\nConst xlCellTypeLastCell = 11\nConst xlCellTypeComments = -4144\nConst xlCellTypeVisible = 12\nConst xlCellTypeAllFormatConditions = -4172\nConst xlCellTypeSameFormatConditions = -4173\nConst xlCellTypeAllValidation = -4174\nConst xlCellTypeSameValidation = -4175\nConst xlArrangeStyleCascade = 7\nConst xlArrangeStyleHorizontal = -4128\nConst xlArrangeStyleTiled = 1\nConst xlArrangeStyleVertical = -4166\nConst xlIBeam = 3\nConst xlDefault = -4143\nConst xlNorthwestArrow = 1\nConst xlWait = 2\nConst xlAutomaticUpdate = 4\nConst xlCancel = 1\nConst xlChangeAttributes = 6\nConst xlManualUpdate = 5\nConst xlOpenSource = 3\nConst xlSelect = 3\nConst xlSendPublisher = 2\nConst xlUpdateSubscriber = 2\nConst xlFillCopy = 1\nConst xlFillDays = 5\nConst xlFillDefault = 0\nConst xlFillFormats = 3\nConst xlFillMonths = 7\nConst xlFillSeries = 2\nConst xlFillValues = 4\nConst xlFillWeekdays = 6\nConst xlFillYears = 8\nConst xlGrowthTrend = 10\nConst xlLinearTrend = 9\nConst xlAnd = 1\nConst xlBottom10Items = 4\nConst xlBottom10Percent = 6\nConst xlOr = 2\nConst xlTop10Items = 3\nConst xlTop10Percent = 5\nConst xlClipboardFormatBIFF = 8\nConst xlClipboardFormatBIFF2 = 18\nConst xlClipboardFormatBIFF3 = 20\nConst xlClipboardFormatBIFF4 = 30\nConst xlClipboardFormatBinary = 15\nConst xlClipboardFormatBitmap = 9\nConst xlClipboardFormatCGM = 13\nConst xlClipboardFormatCSV = 5\nConst xlClipboardFormatDIF = 4\nConst xlClipboardFormatDspText = 12\nConst xlClipboardFormatEmbeddedObject = 21\nConst xlClipboardFormatEmbedSource = 22\nConst xlClipboardFormatLink = 11\nConst xlClipboardFormatLinkSource = 23\nConst xlClipboardFormatLinkSourceDesc = 32\nConst xlClipboardFormatMovie = 24\nConst xlClipboardFormatNative = 14\nConst xlClipboardFormatObjectDesc = 31\nConst xlClipboardFormatObjectLink = 19\nConst xlClipboardFormatOwnerLink = 17\nConst xlClipboardFormatPICT = 2\nConst xlClipboardFormatPrintPICT = 3\nConst xlClipboardFormatRTF = 7\nConst xlClipboardFormatScreenPICT = 29\nConst xlClipboardFormatStandardFont = 28\nConst xlClipboardFormatStandardScale = 27\nConst xlClipboardFormatSYLK = 6\nConst xlClipboardFormatTable = 16\nConst xlClipboardFormatText = 0\nConst xlClipboardFormatToolFace = 25\nConst xlClipboardFormatToolFacePICT = 26\nConst xlClipboardFormatVALU = 1\nConst xlClipboardFormatWK1 = 10\nConst xlAddIn = 18\nConst xlCSV = 6\nConst xlCSVMac = 22\nConst xlCSVMSDOS = 24\nConst xlCSVWindows = 23\nConst xlDBF2 = 7\nConst xlDBF3 = 8\nConst xlDBF4 = 11\nConst xlDIF = 9\nConst xlExcel2 = 16\nConst xlExcel2FarEast = 27\nConst xlExcel3 = 29\nConst xlExcel4 = 33\nConst xlExcel5 = 39\nConst xlExcel7 = 39\nConst xlExcel9795 = 43\nConst xlExcel4Workbook = 35\nConst xlIntlAddIn = 26\nConst xlIntlMacro = 25\nConst xlWorkbookNormal = -4143\nConst xlSYLK = 2\nConst xlTemplate = 17\nConst xlCurrentPlatformText = -4158\nConst xlTextMac = 19\nConst xlTextMSDOS = 21\nConst xlTextPrinter = 36\nConst xlTextWindows = 20\nConst xlWJ2WD1 = 14\nConst xlWK1 = 5\nConst xlWK1ALL = 31\nConst xlWK1FMT = 30\nConst xlWK3 = 15\nConst xlWK4 = 38\nConst xlWK3FM3 = 32\nConst xlWKS = 4\nConst xlWorks2FarEast = 28\nConst xlWQ1 = 34\nConst xlWJ3 = 40\nConst xlWJ3FJ3 = 41\nConst xlUnicodeText = 42\nConst xlHtml = 44\nConst xlWebArchive = 45\nConst xlXMLSpreadsheet = 46\nConst xl24HourClock = 33\nConst xl4DigitYears = 43\nConst xlAlternateArraySeparator = 16\nConst xlColumnSeparator = 14\nConst xlCountryCode = 1\nConst xlCountrySetting = 2\nConst xlCurrencyBefore = 37\nConst xlCurrencyCode = 25\nConst xlCurrencyDigits = 27\nConst xlCurrencyLeadingZeros = 40\nConst xlCurrencyMinusSign = 38\nConst xlCurrencyNegative = 28\nConst xlCurrencySpaceBefore = 36\nConst xlCurrencyTrailingZeros = 39\nConst xlDateOrder = 32\nConst xlDateSeparator = 17\nConst xlDayCode = 21\nConst xlDayLeadingZero = 42\nConst xlDecimalSeparator = 3\nConst xlGeneralFormatName = 26\nConst xlHourCode = 22\nConst xlLeftBrace = 12\nConst xlLeftBracket = 10\nConst xlListSeparator = 5\nConst xlLowerCaseColumnLetter = 9\nConst xlLowerCaseRowLetter = 8\nConst xlMDY = 44\nConst xlMetric = 35\nConst xlMinuteCode = 23\nConst xlMonthCode = 20\nConst xlMonthLeadingZero = 41\nConst xlMonthNameChars = 30\nConst xlNoncurrencyDigits = 29\nConst xlNonEnglishFunctions = 34\nConst xlRightBrace = 13\nConst xlRightBracket = 11\nConst xlRowSeparator = 15\nConst xlSecondCode = 24\nConst xlThousandsSeparator = 4\nConst xlTimeLeadingZero = 45\nConst xlTimeSeparator = 18\nConst xlUpperCaseColumnLetter = 7\nConst xlUpperCaseRowLetter = 6\nConst xlWeekdayNameChars = 31\nConst xlYearCode = 19\nConst xlPageBreakFull = 1\nConst xlPageBreakPartial = 2\nConst xlOverwriteCells = 0\nConst xlInsertDeleteCells = 1\nConst xlInsertEntireRows = 2\nConst xlNoLabels = -4142\nConst xlRowLabels = 1\nConst xlColumnLabels = 2\nConst xlMixedLabels = 3\nConst xlSinceMyLastSave = 1\nConst xlAllChanges = 2\nConst xlNotYetReviewed = 3\nConst xlNoIndicator = 0\nConst xlCommentIndicatorOnly = -1\nConst xlCommentAndIndicator = 1\nConst xlCellValue = 1\nConst xlExpression = 2\nConst xlBetween = 1\nConst xlNotBetween = 2\nConst xlEqual = 3\nConst xlNotEqual = 4\nConst xlGreater = 5\nConst xlLess = 6\nConst xlGreaterEqual = 7\nConst xlLessEqual = 8\nConst xlNoRestrictions = 0\nConst xlUnlockedCells = 1\nConst xlNoSelection = -4142\nConst xlValidateInputOnly = 0\nConst xlValidateWholeNumber = 1\nConst xlValidateDecimal = 2\nConst xlValidateList = 3\nConst xlValidateDate = 4\nConst xlValidateTime = 5\nConst xlValidateTextLength = 6\nConst xlValidateCustom = 7\nConst xlIMEModeNoControl = 0\nConst xlIMEModeOn = 1\nConst xlIMEModeOff = 2\nConst xlIMEModeDisable = 3\nConst xlIMEModeHiragana = 4\nConst xlIMEModeKatakana = 5\nConst xlIMEModeKatakanaHalf = 6\nConst xlIMEModeAlphaFull = 7\nConst xlIMEModeAlpha = 8\nConst xlIMEModeHangulFull = 9\nConst xlIMEModeHangul = 10\nConst xlValidAlertStop = 1\nConst xlValidAlertWarning = 2\nConst xlValidAlertInformation = 3\nConst xlLocationAsNewSheet = 1\nConst xlLocationAsObject = 2\nConst xlLocationAutomatic = 3\nConst xlPaper10x14 = 16\nConst xlPaper11x17 = 17\nConst xlPaperA3 = 8\nConst xlPaperA4 = 9\nConst xlPaperA4Small = 10\nConst xlPaperA5 = 11\nConst xlPaperB4 = 12\nConst xlPaperB5 = 13\nConst xlPaperCsheet = 24\nConst xlPaperDsheet = 25\nConst xlPaperEnvelope10 = 20\nConst xlPaperEnvelope11 = 21\nConst xlPaperEnvelope12 = 22\nConst xlPaperEnvelope14 = 23\nConst xlPaperEnvelope9 = 19\nConst xlPaperEnvelopeB4 = 33\nConst xlPaperEnvelopeB5 = 34\nConst xlPaperEnvelopeB6 = 35\nConst xlPaperEnvelopeC3 = 29\nConst xlPaperEnvelopeC4 = 30\nConst xlPaperEnvelopeC5 = 28\nConst xlPaperEnvelopeC6 = 31\nConst xlPaperEnvelopeC65 = 32\nConst xlPaperEnvelopeDL = 27\nConst xlPaperEnvelopeItaly = 36\nConst xlPaperEnvelopeMonarch = 37\nConst xlPaperEnvelopePersonal = 38\nConst xlPaperEsheet = 26\nConst xlPaperExecutive = 7\nConst xlPaperFanfoldLegalGerman = 41\nConst xlPaperFanfoldStdGerman = 40\nConst xlPaperFanfoldUS = 39\nConst xlPaperFolio = 14\nConst xlPaperLedger = 4\nConst xlPaperLegal = 5\nConst xlPaperLetter = 1\nConst xlPaperLetterSmall = 2\nConst xlPaperNote = 18\nConst xlPaperQuarto = 15\nConst xlPaperStatement = 6\nConst xlPaperTabloid = 3\nConst xlPaperUser = 256\nConst xlPasteSpecialOperationAdd = 2\nConst xlPasteSpecialOperationDivide = 5\nConst xlPasteSpecialOperationMultiply = 4\nConst xlPasteSpecialOperationNone = -4142\nConst xlPasteSpecialOperationSubtract = 3\nConst xlPasteAll = -4104\nConst xlPasteAllExceptBorders = 7\nConst xlPasteFormats = -4122\nConst xlPasteFormulas = -4123\nConst xlPasteComments = -4144\nConst xlPasteValues = -4163\nConst xlPasteColumnWidths = 8\nConst xlPasteValidation = 6\nConst xlPasteFormulasAndNumberFormats = 11\nConst xlPasteValuesAndNumberFormats = 12\nConst xlKatakanaHalf = 0\nConst xlKatakana = 1\nConst xlHiragana = 2\nConst xlNoConversion = 3\nConst xlPhoneticAlignNoControl = 0\nConst xlPhoneticAlignLeft = 1\nConst xlPhoneticAlignCenter = 2\nConst xlPhoneticAlignDistributed = 3\nConst xlPrinter = 2\nConst xlScreen = 1\nConst xlColumnField = 2\nConst xlDataField = 4\nConst xlHidden = 0\nConst xlPageField = 3\nConst xlRowField = 1\nConst xlDifferenceFrom = 2\nConst xlIndex = 9\nConst xlNoAdditionalCalculation = -4143\nConst xlPercentDifferenceFrom = 4\nConst xlPercentOf = 3\nConst xlPercentOfColumn = 7\nConst xlPercentOfRow = 6\nConst xlPercentOfTotal = 8\nConst xlRunningTotal = 5\nConst xlFreeFloating = 3\nConst xlMove = 2\nConst xlMoveAndSize = 1\nConst xlMacintosh = 1\nConst xlMSDOS = 3\nConst xlWindows = 2\nConst xlPrintSheetEnd = 1\nConst xlPrintInPlace = 16\nConst xlPrintNoComments = -4142\nConst xlPriorityHigh = -4127\nConst xlPriorityLow = -4134\nConst xlPriorityNormal = -4143\nConst xlLabelOnly = 1\nConst xlDataAndLabel = 0\nConst xlDataOnly = 2\nConst xlOrigin = 3\nConst xlButton = 15\nConst xlBlanks = 4\nConst xlFirstRow = 256\nConst xlRangeAutoFormat3DEffects1 = 13\nConst xlRangeAutoFormat3DEffects2 = 14\nConst xlRangeAutoFormatAccounting1 = 4\nConst xlRangeAutoFormatAccounting2 = 5\nConst xlRangeAutoFormatAccounting3 = 6\nConst xlRangeAutoFormatAccounting4 = 17\nConst xlRangeAutoFormatClassic1 = 1\nConst xlRangeAutoFormatClassic2 = 2\nConst xlRangeAutoFormatClassic3 = 3\nConst xlRangeAutoFormatColor1 = 7\nConst xlRangeAutoFormatColor2 = 8\nConst xlRangeAutoFormatColor3 = 9\nConst xlRangeAutoFormatList1 = 10\nConst xlRangeAutoFormatList2 = 11\nConst xlRangeAutoFormatList3 = 12\nConst xlRangeAutoFormatLocalFormat1 = 15\nConst xlRangeAutoFormatLocalFormat2 = 16\nConst xlRangeAutoFormatLocalFormat3 = 19\nConst xlRangeAutoFormatLocalFormat4 = 20\nConst xlRangeAutoFormatReport1 = 21\nConst xlRangeAutoFormatReport2 = 22\nConst xlRangeAutoFormatReport3 = 23\nConst xlRangeAutoFormatReport4 = 24\nConst xlRangeAutoFormatReport5 = 25\nConst xlRangeAutoFormatReport6 = 26\nConst xlRangeAutoFormatReport7 = 27\nConst xlRangeAutoFormatReport8 = 28\nConst xlRangeAutoFormatReport9 = 29\nConst xlRangeAutoFormatReport10 = 30\nConst xlRangeAutoFormatClassicPivotTable = 31\nConst xlRangeAutoFormatTable1 = 32\nConst xlRangeAutoFormatTable2 = 33\nConst xlRangeAutoFormatTable3 = 34\nConst xlRangeAutoFormatTable4 = 35\nConst xlRangeAutoFormatTable5 = 36\nConst xlRangeAutoFormatTable6 = 37\nConst xlRangeAutoFormatTable7 = 38\nConst xlRangeAutoFormatTable8 = 39\nConst xlRangeAutoFormatTable9 = 40\nConst xlRangeAutoFormatTable10 = 41\nConst xlRangeAutoFormatPTNone = 42\nConst xlRangeAutoFormatNone = -4142\nConst xlRangeAutoFormatSimple = -4154\nConst xlAbsolute = 1\nConst xlAbsRowRelColumn = 2\nConst xlRelative = 4\nConst xlRelRowAbsColumn = 3\nConst xlTabular = 0\nConst xlOutline = 1\nConst xlAllAtOnce = 2\nConst xlOneAfterAnother = 1\nConst xlNotYetRouted = 0\nConst xlRoutingComplete = 2\nConst xlRoutingInProgress = 1\nConst xlAutoActivate = 3\nConst xlAutoClose = 2\nConst xlAutoDeactivate = 4\nConst xlAutoOpen = 1\nConst xlDoNotSaveChanges = 2\nConst xlSaveChanges = 1\nConst xlExclusive = 3\nConst xlNoChange = 1\nConst xlShared = 2\nConst xlLocalSessionChanges = 2\nConst xlOtherSessionChanges = 3\nConst xlUserResolution = 1\nConst xlNext = 1\nConst xlPrevious = 2\nConst xlByColumns = 2\nConst xlByRows = 1\nConst xlSheetVisible = -1\nConst xlSheetHidden = 0\nConst xlSheetVeryHidden = 2\nConst xlPinYin = 1\nConst xlStroke = 2\nConst xlCodePage = 2\nConst xlSyllabary = 1\nConst xlAscending = 1\nConst xlDescending = 2\nConst xlSortRows = 2\nConst xlSortColumns = 1\nConst xlSortLabels = 2\nConst xlSortValues = 1\nConst xlErrors = 16\nConst xlLogical = 4\nConst xlNumbers = 1\nConst xlTextValues = 2\nConst xlSubscribeToPicture = -4147\nConst xlSubscribeToText = -4158\nConst xlSummaryAbove = 0\nConst xlSummaryBelow = 1\nConst xlSummaryOnLeft = -4131\nConst xlSummaryOnRight = -4152\nConst xlSummaryPivotTable = -4148\nConst xlStandardSummary = 1\nConst xlTabPositionFirst = 0\nConst xlTabPositionLast = 1\nConst xlDelimited = 1\nConst xlFixedWidth = 2\nConst xlTextQualifierDoubleQuote = 1\nConst xlTextQualifierNone = -4142\nConst xlTextQualifierSingleQuote = 2\nConst xlWBATChart = -4109\nConst xlWBATExcel4IntlMacroSheet = 4\nConst xlWBATExcel4MacroSheet = 3\nConst xlWBATWorksheet = -4167\nConst xlNormalView = 1\nConst xlPageBreakPreview = 2\nConst xlCommand = 2\nConst xlFunction = 1\nConst xlNotXLM = 3\nConst xlGuess = 0\nConst xlNo = 2\nConst xlYes = 1\nConst xlInsideHorizontal = 12\nConst xlInsideVertical = 11\nConst xlDiagonalDown = 5\nConst xlDiagonalUp = 6\nConst xlEdgeBottom = 9\nConst xlEdgeLeft = 7\nConst xlEdgeRight = 10\nConst xlEdgeTop = 8\nConst xlNoButtonChanges = 1\nConst xlNoChanges = 4\nConst xlNoDockingChanges = 3\nConst xlToolbarProtectionNone = -4143\nConst xlNoShapeChanges = 2\nConst xlDialogOpen = 1\nConst xlDialogOpenLinks = 2\nConst xlDialogSaveAs = 5\nConst xlDialogFileDelete = 6\nConst xlDialogPageSetup = 7\nConst xlDialogPrint = 8\nConst xlDialogPrinterSetup = 9\nConst xlDialogArrangeAll = 12\nConst xlDialogWindowSize = 13\nConst xlDialogWindowMove = 14\nConst xlDialogRun = 17\nConst xlDialogSetPrintTitles = 23\nConst xlDialogFont = 26\nConst xlDialogDisplay = 27\nConst xlDialogProtectDocument = 28\nConst xlDialogCalculation = 32\nConst xlDialogExtract = 35\nConst xlDialogDataDelete = 36\nConst xlDialogSort = 39\nConst xlDialogDataSeries = 40\nConst xlDialogTable = 41\nConst xlDialogFormatNumber = 42\nConst xlDialogAlignment = 43\nConst xlDialogStyle = 44\nConst xlDialogBorder = 45\nConst xlDialogCellProtection = 46\nConst xlDialogColumnWidth = 47\nConst xlDialogClear = 52\nConst xlDialogPasteSpecial = 53\nConst xlDialogEditDelete = 54\nConst xlDialogInsert = 55\nConst xlDialogPasteNames = 58\nConst xlDialogDefineName = 61\nConst xlDialogCreateNames = 62\nConst xlDialogFormulaGoto = 63\nConst xlDialogFormulaFind = 64\nConst xlDialogGalleryArea = 67\nConst xlDialogGalleryBar = 68\nConst xlDialogGalleryColumn = 69\nConst xlDialogGalleryLine = 70\nConst xlDialogGalleryPie = 71\nConst xlDialogGalleryScatter = 72\nConst xlDialogCombination = 73\nConst xlDialogGridlines = 76\nConst xlDialogAxes = 78\nConst xlDialogAttachText = 80\nConst xlDialogPatterns = 84\nConst xlDialogMainChart = 85\nConst xlDialogOverlay = 86\nConst xlDialogScale = 87\nConst xlDialogFormatLegend = 88\nConst xlDialogFormatText = 89\nConst xlDialogParse = 91\nConst xlDialogUnhide = 94\nConst xlDialogWorkspace = 95\nConst xlDialogActivate = 103\nConst xlDialogCopyPicture = 108\nConst xlDialogDeleteName = 110\nConst xlDialogDeleteFormat = 111\nConst xlDialogNew = 119\nConst xlDialogRowHeight = 127\nConst xlDialogFormatMove = 128\nConst xlDialogFormatSize = 129\nConst xlDialogFormulaReplace = 130\nConst xlDialogSelectSpecial = 132\nConst xlDialogApplyNames = 133\nConst xlDialogReplaceFont = 134\nConst xlDialogSplit = 137\nConst xlDialogOutline = 142\nConst xlDialogSaveWorkbook = 145\nConst xlDialogCopyChart = 147\nConst xlDialogFormatFont = 150\nConst xlDialogNote = 154\nConst xlDialogSetUpdateStatus = 159\nConst xlDialogColorPalette = 161\nConst xlDialogChangeLink = 166\nConst xlDialogAppMove = 170\nConst xlDialogAppSize = 171\nConst xlDialogMainChartType = 185\nConst xlDialogOverlayChartType = 186\nConst xlDialogOpenMail = 188\nConst xlDialogSendMail = 189\nConst xlDialogStandardFont = 190\nConst xlDialogConsolidate = 191\nConst xlDialogSortSpecial = 192\nConst xlDialogGallery3dArea = 193\nConst xlDialogGallery3dColumn = 194\nConst xlDialogGallery3dLine = 195\nConst xlDialogGallery3dPie = 196\nConst xlDialogView3d = 197\nConst xlDialogGoalSeek = 198\nConst xlDialogWorkgroup = 199\nConst xlDialogFillGroup = 200\nConst xlDialogUpdateLink = 201\nConst xlDialogPromote = 202\nConst xlDialogDemote = 203\nConst xlDialogShowDetail = 204\nConst xlDialogObjectProperties = 207\nConst xlDialogSaveNewObject = 208\nConst xlDialogApplyStyle = 212\nConst xlDialogAssignToObject = 213\nConst xlDialogObjectProtection = 214\nConst xlDialogCreatePublisher = 217\nConst xlDialogSubscribeTo = 218\nConst xlDialogShowToolbar = 220\nConst xlDialogPrintPreview = 222\nConst xlDialogEditColor = 223\nConst xlDialogFormatMain = 225\nConst xlDialogFormatOverlay = 226\nConst xlDialogEditSeries = 228\nConst xlDialogDefineStyle = 229\nConst xlDialogGalleryRadar = 249\nConst xlDialogEditionOptions = 251\nConst xlDialogZoom = 256\nConst xlDialogInsertObject = 259\nConst xlDialogSize = 261\nConst xlDialogMove = 262\nConst xlDialogFormatAuto = 269\nConst xlDialogGallery3dBar = 272\nConst xlDialogGallery3dSurface = 273\nConst xlDialogCustomizeToolbar = 276\nConst xlDialogWorkbookAdd = 281\nConst xlDialogWorkbookMove = 282\nConst xlDialogWorkbookCopy = 283\nConst xlDialogWorkbookOptions = 284\nConst xlDialogSaveWorkspace = 285\nConst xlDialogChartWizard = 288\nConst xlDialogAssignToTool = 293\nConst xlDialogPlacement = 300\nConst xlDialogFillWorkgroup = 301\nConst xlDialogWorkbookNew = 302\nConst xlDialogScenarioCells = 305\nConst xlDialogScenarioAdd = 307\nConst xlDialogScenarioEdit = 308\nConst xlDialogScenarioSummary = 311\nConst xlDialogPivotTableWizard = 312\nConst xlDialogPivotFieldProperties = 313\nConst xlDialogOptionsCalculation = 318\nConst xlDialogOptionsEdit = 319\nConst xlDialogOptionsView = 320\nConst xlDialogAddinManager = 321\nConst xlDialogMenuEditor = 322\nConst xlDialogAttachToolbars = 323\nConst xlDialogOptionsChart = 325\nConst xlDialogVbaInsertFile = 328\nConst xlDialogVbaProcedureDefinition = 330\nConst xlDialogRoutingSlip = 336\nConst xlDialogMailLogon = 339\nConst xlDialogInsertPicture = 342\nConst xlDialogGalleryDoughnut = 344\nConst xlDialogChartTrend = 350\nConst xlDialogWorkbookInsert = 354\nConst xlDialogOptionsTransition = 355\nConst xlDialogOptionsGeneral = 356\nConst xlDialogFilterAdvanced = 370\nConst xlDialogMailNextLetter = 378\nConst xlDialogDataLabel = 379\nConst xlDialogInsertTitle = 380\nConst xlDialogFontProperties = 381\nConst xlDialogMacroOptions = 382\nConst xlDialogWorkbookUnhide = 384\nConst xlDialogWorkbookName = 386\nConst xlDialogGalleryCustom = 388\nConst xlDialogAddChartAutoformat = 390\nConst xlDialogChartAddData = 392\nConst xlDialogTabOrder = 394\nConst xlDialogSubtotalCreate = 398\nConst xlDialogWorkbookTabSplit = 415\nConst xlDialogWorkbookProtect = 417\nConst xlDialogScrollbarProperties = 420\nConst xlDialogPivotShowPages = 421\nConst xlDialogTextToColumns = 422\nConst xlDialogFormatCharttype = 423\nConst xlDialogPivotFieldGroup = 433\nConst xlDialogPivotFieldUngroup = 434\nConst xlDialogCheckboxProperties = 435\nConst xlDialogLabelProperties = 436\nConst xlDialogListboxProperties = 437\nConst xlDialogEditboxProperties = 438\nConst xlDialogOpenText = 441\nConst xlDialogPushbuttonProperties = 445\nConst xlDialogFilter = 447\nConst xlDialogFunctionWizard = 450\nConst xlDialogSaveCopyAs = 456\nConst xlDialogOptionsListsAdd = 458\nConst xlDialogSeriesAxes = 460\nConst xlDialogSeriesX = 461\nConst xlDialogSeriesY = 462\nConst xlDialogErrorbarX = 463\nConst xlDialogErrorbarY = 464\nConst xlDialogFormatChart = 465\nConst xlDialogSeriesOrder = 466\nConst xlDialogMailEditMailer = 470\nConst xlDialogStandardWidth = 472\nConst xlDialogScenarioMerge = 473\nConst xlDialogProperties = 474\nConst xlDialogSummaryInfo = 474\nConst xlDialogFindFile = 475\nConst xlDialogActiveCellFont = 476\nConst xlDialogVbaMakeAddin = 478\nConst xlDialogFileSharing = 481\nConst xlDialogAutoCorrect = 485\nConst xlDialogCustomViews = 493\nConst xlDialogInsertNameLabel = 496\nConst xlDialogSeriesShape = 504\nConst xlDialogChartOptionsDataLabels = 505\nConst xlDialogChartOptionsDataTable = 506\nConst xlDialogSetBackgroundPicture = 509\nConst xlDialogDataValidation = 525\nConst xlDialogChartType = 526\nConst xlDialogChartLocation = 527\nConst xlDialogPhonetic = 538\nConst xlDialogChartSourceData = 540\nConst xlDialogSeriesOptions = 557\nConst xlDialogPivotTableOptions = 567\nConst xlDialogPivotSolveOrder = 568\nConst xlDialogPivotCalculatedField = 570\nConst xlDialogPivotCalculatedItem = 572\nConst xlDialogConditionalFormatting = 583\nConst xlDialogInsertHyperlink = 596\nConst xlDialogProtectSharing = 620\nConst xlDialogOptionsME = 647\nConst xlDialogPublishAsWebPage = 653\nConst xlDialogNewWebQuery = 667\nConst xlDialogImportTextFile = 666\nConst xlDialogExternalDataProperties = 530\nConst xlDialogWebOptionsGeneral = 683\nConst xlDialogWebOptionsFiles = 684\nConst xlDialogWebOptionsPictures = 685\nConst xlDialogWebOptionsEncoding = 686\nConst xlDialogWebOptionsFonts = 687\nConst xlDialogPivotClientServerSet = 689\nConst xlDialogPropertyFields = 754\nConst xlDialogSearch = 731\nConst xlDialogEvaluateFormula = 709\nConst xlDialogDataLabelMultiple = 723\nConst xlDialogChartOptionsDataLabelMultiple = 724\nConst xlDialogErrorChecking = 732\nConst xlDialogWebOptionsBrowsers = 773\nConst xlDialogCreateList = 796\nConst xlDialogPermission = 832\nConst xlDialogMyPermission = 834\nConst xlPrompt = 0\nConst xlConstant = 1\nConst xlRange = 2\nConst xlParamTypeUnknown = 0\nConst xlParamTypeChar = 1\nConst xlParamTypeNumeric = 2\nConst xlParamTypeDecimal = 3\nConst xlParamTypeInteger = 4\nConst xlParamTypeSmallInt = 5\nConst xlParamTypeFloat = 6\nConst xlParamTypeReal = 7\nConst xlParamTypeDouble = 8\nConst xlParamTypeVarChar = 12\nConst xlParamTypeDate = 9\nConst xlParamTypeTime = 10\nConst xlParamTypeTimestamp = 11\nConst xlParamTypeLongVarChar = -1\nConst xlParamTypeBinary = -2\nConst xlParamTypeVarBinary = -3\nConst xlParamTypeLongVarBinary = -4\nConst xlParamTypeBigInt = -5\nConst xlParamTypeTinyInt = -6\nConst xlParamTypeBit = -7\nConst xlParamTypeWChar = -8\nConst xlButtonControl = 0\nConst xlCheckBox = 1\nConst xlDropDown = 2\nConst xlEditBox = 3\nConst xlGroupBox = 4\nConst xlLabel = 5\nConst xlListBox = 6\nConst xlOptionButton = 7\nConst xlScrollBar = 8\nConst xlSpinner = 9\nConst xlSourceWorkbook = 0\nConst xlSourceSheet = 1\nConst xlSourcePrintArea = 2\nConst xlSourceAutoFilter = 3\nConst xlSourceRange = 4\nConst xlSourceChart = 5\nConst xlSourcePivotTable = 6\nConst xlSourceQuery = 7\nConst xlHtmlStatic = 0\nConst xlHtmlCalc = 1\nConst xlHtmlList = 2\nConst xlHtmlChart = 3\nConst xlReport1 = 0\nConst xlReport2 = 1\nConst xlReport3 = 2\nConst xlReport4 = 3\nConst xlReport5 = 4\nConst xlReport6 = 5\nConst xlReport7 = 6\nConst xlReport8 = 7\nConst xlReport9 = 8\nConst xlReport10 = 9\nConst xlTable1 = 10\nConst xlTable2 = 11\nConst xlTable3 = 12\nConst xlTable4 = 13\nConst xlTable5 = 14\nConst xlTable6 = 15\nConst xlTable7 = 16\nConst xlTable8 = 17\nConst xlTable9 = 18\nConst xlTable10 = 19\nConst xlPTClassic = 20\nConst xlPTNone = 21\nConst xlCmdCube = 1\nConst xlCmdSql = 2\nConst xlCmdTable = 3\nConst xlCmdDefault = 4\nConst xlCmdList = 5\nConst xlGeneralFormat = 1\nConst xlTextFormat = 2\nConst xlMDYFormat = 3\nConst xlDMYFormat = 4\nConst xlYMDFormat = 5\nConst xlMYDFormat = 6\nConst xlDYMFormat = 7\nConst xlYDMFormat = 8\nConst xlSkipColumn = 9\nConst xlEMDFormat = 10\nConst xlODBCQuery = 1\nConst xlDAORecordset = 2\nConst xlWebQuery = 4\nConst xlOLEDBQuery = 5\nConst xlTextImport = 6\nConst xlADORecordset = 7\nConst xlEntirePage = 1\nConst xlAllTables = 2\nConst xlSpecifiedTables = 3\nConst xlHierarchy = 1\nConst xlMeasure = 2\nConst xlSet = 3\nConst xlWebFormattingAll = 1\nConst xlWebFormattingRTF = 2\nConst xlWebFormattingNone = 3\nConst xlDisplayShapes = -4104\nConst xlHide = 3\nConst xlPlaceholders = 2\nConst xlAtTop = 1\nConst xlAtBottom = 2\nConst xlPivotTableVersion2000 = 0\nConst xlPivotTableVersion10 = 1\nConst xlPivotTableVersionCurrent = -1\nConst xlPrintErrorsDisplayed = 0\nConst xlPrintErrorsBlank = 1\nConst xlPrintErrorsDash = 2\nConst xlPrintErrorsNA = 3\nConst xlPivotCellValue = 0\nConst xlPivotCellPivotItem = 1\nConst xlPivotCellSubtotal = 2\nConst xlPivotCellGrandTotal = 3\nConst xlPivotCellDataField = 4\nConst xlPivotCellPivotField = 5\nConst xlPivotCellPageFieldItem = 6\nConst xlPivotCellCustomSubtotal = 7\nConst xlPivotCellDataPivotField = 8\nConst xlPivotCellBlankCell = 9\nConst xlMissingItemsDefault = -1\nConst xlMissingItemsNone = 0\nConst xlMissingItemsMax = 32500\nConst xlDone = 0\nConst xlCalculating = 1\nConst xlPending = 2\nConst xlNoKey = 0\nConst xlEscKey = 1\nConst xlAnyKey = 2\nConst xlSortNormal = 0\nConst xlSortTextAsNumbers = 1\nConst xlUpdateLinksUserSetting = 1\nConst xlUpdateLinksNever = 2\nConst xlUpdateLinksAlways = 3\nConst xlLinkStatusOK = 0\nConst xlLinkStatusMissingFile = 1\nConst xlLinkStatusMissingSheet = 2\nConst xlLinkStatusOld = 3\nConst xlLinkStatusSourceNotCalculated = 4\nConst xlLinkStatusIndeterminate = 5\nConst xlLinkStatusNotStarted = 6\nConst xlLinkStatusInvalidName = 7\nConst xlLinkStatusSourceNotOpen = 8\nConst xlLinkStatusSourceOpen = 9\nConst xlLinkStatusCopiedValues = 10\nConst xlWithinSheet = 1\nConst xlWithinWorkbook = 2\nConst xlNormalLoad = 0\nConst xlRepairFile = 1\nConst xlExtractData = 2\nConst xlAsRequired = 0\nConst xlAlways = 1\nConst xlNever = 2\nConst xlEvaluateToError = 1\nConst xlTextDate = 2\nConst xlNumberAsText = 3\nConst xlInconsistentFormula = 4\nConst xlOmittedCells = 5\nConst xlUnlockedFormulaCells = 6\nConst xlEmptyCellReferences = 7\nConst xlListDataValidation = 8\nConst xlDataLabelSeparatorDefault = 1\nConst xlIndicatorAndButton = 0\nConst xlDisplayNone = 1\nConst xlButtonOnly = 2\nConst xlRangeValueDefault = 10\nConst xlRangeValueXMLSpreadsheet = 11\nConst xlRangeValueMSPersistXML = 12\nConst xlSpeakByRows = 0\nConst xlSpeakByColumns = 1\nConst xlFormatFromLeftOrAbove = 0\nConst xlFormatFromRightOrBelow = 1\nConst xlArabicNone = 0\nConst xlArabicStrictAlefHamza = 1\nConst xlArabicStrictFinalYaa = 2\nConst xlArabicBothStrict = 3\nConst xlQueryTable = 0\nConst xlPivotTableReport = 1\nConst xlCalculatedMember = 0\nConst xlCalculatedSet = 1\nConst xlHebrewFullScript = 0\nConst xlHebrewPartialScript = 1\nConst xlHebrewMixedScript = 2\nConst xlHebrewMixedAuthorizedScript = 3\nConst xlSrcExternal = 0\nConst xlSrcRange = 1\nConst xlSrcXml = 2\nConst xlTextVisualLTR = 1\nConst xlTextVisualRTL = 2\nConst xlListDataTypeNone = 0\nConst xlListDataTypeText = 1\nConst xlListDataTypeMultiLineText = 2\nConst xlListDataTypeNumber = 3\nConst xlListDataTypeCurrency = 4\nConst xlListDataTypeDateTime = 5\nConst xlListDataTypeChoice = 6\nConst xlListDataTypeChoiceMulti = 7\nConst xlListDataTypeListLookup = 8\nConst xlListDataTypeCheckbox = 9\nConst xlListDataTypeHyperLink = 10\nConst xlListDataTypeCounter = 11\nConst xlListDataTypeMultiLineRichText = 12\nConst xlTotalsCalculationNone = 0\nConst xlTotalsCalculationSum = 1\nConst xlTotalsCalculationAverage = 2\nConst xlTotalsCalculationCount = 3\nConst xlTotalsCalculationCountNums = 4\nConst xlTotalsCalculationMin = 5\nConst xlTotalsCalculationMax = 6\nConst xlTotalsCalculationStdDev = 7\nConst xlTotalsCalculationVar = 8\nConst xlXmlLoadPromptUser = 0\nConst xlXmlLoadOpenXml = 1\nConst xlXmlLoadImportToList = 2\nConst xlXmlLoadMapXml = 3\nConst xlSmartTagControlSmartTag = 1\nConst xlSmartTagControlLink = 2\nConst xlSmartTagControlHelp = 3\nConst xlSmartTagControlHelpURL = 4\nConst xlSmartTagControlSeparator = 5\nConst xlSmartTagControlButton = 6\nConst xlSmartTagControlLabel = 7\nConst xlSmartTagControlImage = 8\nConst xlSmartTagControlCheckbox = 9\nConst xlSmartTagControlTextbox = 10\nConst xlSmartTagControlListbox = 11\nConst xlSmartTagControlCombo = 12\nConst xlSmartTagControlActiveX = 13\nConst xlSmartTagControlRadioGroup = 14\nConst xlListConflictDialog = 0\nConst xlListConflictRetryAllConflicts = 1\nConst xlListConflictDiscardAllConflicts = 2\nConst xlListConflictError = 3\nConst xlXmlExportSuccess = 0\nConst xlXmlExportValidationFailed = 1\nConst xlXmlImportSuccess = 0\nConst xlXmlImportElementsTruncated = 1\nConst xlXmlImportValidationFailed = 2",
"time": "15:39",
"topic": "Como crear graficos usando ole en excel",
"username": "rlblanco"
}
] | Como crear graficos usando ole en excel |
[
{
"date": "2008-04-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "me alegro que te haya servido el ejemplo\n\nsaludos",
"time": "17:49",
"topic": "Como crear graficos usando ole en excel",
"username": "pymsoft"
}
] | Como crear graficos usando ole en excel |
[
{
"date": "2014-09-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola foro,\n\nComo hago para crear la lib TSBrowse con Harbour y MSVC? Necesito hacer esto aqui en mi app.\n\nGracias de antemano,",
"time": "19:55",
"topic": "Como crear la lib TSbrowse con Harbour y MSVC?",
"username": "Kleyber"
}
] | Como crear la lib TSbrowse con Harbour y MSVC? |
[
{
"date": "2014-09-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "que version de tsbrowse",
"time": "01:31",
"topic": "Como crear la lib TSbrowse con Harbour y MSVC?",
"username": "carlos vargas"
}
] | Como crear la lib TSbrowse con Harbour y MSVC? |
[
{
"date": "2014-09-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos,\n\nGracias por responder. Yo utilizo la versón 6.0, pero estoy deseando pasar a la versión 9.0... que me dices? Es seguro? Por el momento solo deseo crear la lib que tengo en xHarbour + BCC con Harbour + MSVC.\n\nSaludos,\n\nPS.: Estoy en linea en Google Talk",
"time": "12:13",
"topic": "Como crear la lib TSbrowse con Harbour y MSVC?",
"username": "Kleyber"
}
] | Como crear la lib TSbrowse con Harbour y MSVC? |
[
{
"date": "2014-09-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos,\n\nNo he conseguido crear con lo que me enviaste pues me falta el fichero .ENV de xmate que tiene la configuración para Harbour y MSVC. Puedes enviarmela?",
"time": "14:23",
"topic": "Como crear la lib TSbrowse con Harbour y MSVC?",
"username": "Kleyber"
}
] | Como crear la lib TSbrowse con Harbour y MSVC? |
[
{
"date": "2010-07-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenos dias.. \n\nAlguien tiene un ejemplo como crear un archivo con formato RTF que incluya por ejemplo: \n\n El Logo de la empresa \n Titulo y subtitulo del reporte (arial de 24ptos)\n Una relelacion de Productos con sus titulos de detalle en negrita de cuatro columnas : Codigo, Descripcion, Observaciones y Precio \n( nota : las observaciones puede tener dos o mas lineas) \n\nEs posible esto ??\n\n\n\nLubin",
"time": "22:25",
"topic": "Como crear un reporte en formato Rtf (SIN RESOLVER)",
"username": "lubin"
}
] | Como crear un reporte en formato Rtf (SIN RESOLVER) |
[
{
"date": "2023-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenos días para todos\n\nQueremos crear un proceso que se ejecute todo el tiempo, nos gustaría hacerlo como un servicio de windows, algo similar a lo que hace mysql. Pero no sabemos cual es el camino?\n\nAsumimos que debemos tener un exe, pero como se hace para activarlo y desactivarlo, que tambien salga en la configuración del windows?\n\n[img:2tgwjlsf]https://hymplus.com/forofw/servicio.png[/img:2tgwjlsf]",
"time": "15:41",
"topic": "Como crear un servicio de windows",
"username": "leandro"
}
] | Como crear un servicio de windows |
[
{
"date": "2023-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Leandro:\nMira este link a ver si te es de utilidad\n[url:283yhitk]https://learn.microsoft.com/es-es/troubleshoot/windows-client/deployment/create-user-defined-service[/url:283yhitk]",
"time": "17:56",
"topic": "Como crear un servicio de windows",
"username": "cmsoft"
}
] | Como crear un servicio de windows |
[
{
"date": "2023-04-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigo buenos días, muchas gracias por la ayuda.\n\nBuscando en el foro encontré varios post que habían hecho con anterioridad, voy a revisarlas a ver que solución encuentro. El tema que mas preocupa es que parece que todo esto esta escrito en harbour y nosotros usamos xharbour.\n\n[url:gck1uioe]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37183&p=222119&hilit=windows+service&sid=44c61e70e378c65cc7f50edc3c430988&sid=af6c71cf3417d24e0c3c30ce5da764af#p222119[/url:gck1uioe]\n[url:gck1uioe]https://forums.fivetechsupport.com/viewtopic.php?f=6&t=32147&p=188240&hilit=servicio+windows&sid=35e26bdbdaedf076522bce8d24b768c5&sid=af6c71cf3417d24e0c3c30ce5da764af#p188240[/url:gck1uioe]",
"time": "16:40",
"topic": "Como crear un servicio de windows",
"username": "leandro"
}
] | Como crear un servicio de windows |
[
{
"date": "2023-04-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Leandro:\nPor lo que leí en el link que te pasé, hablaba de como poner un programa (un exe) como servicio.\nCreo que independientemente de con qué esté hecho.",
"time": "16:45",
"topic": "Como crear un servicio de windows",
"username": "cmsoft"
}
] | Como crear un servicio de windows |
[
{
"date": "2023-04-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Si tienes toda la razón, voy a crear un pequeño ejecutable para hacer la prueba de funcionamiento, otro de los problemas es que necesitamos que ese servicio se instale de manera automática, sin intervención del usuario.",
"time": "16:52",
"topic": "Como crear un servicio de windows",
"username": "leandro"
}
] | Como crear un servicio de windows |
[
{
"date": "2023-04-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Para eso puedes hacerlo mediante comandos de consola de windows desde dentro de tu programa\nPor ejemplo con net start > servicios.txt puedes guardar los servicios que estan corriendo en windows, y ver luego el archivo servicios.txt si existe tu servicio, y sino, instalarlo. Y así cualquier otro comando de windows.\nPor ejemplo, si quiero saber si está instalado MySQL en la terminal, hago lo siguiente:\n[code=fw:oweli2z4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'fivewin.ch'</span><br /><br /><span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">LOCAL</span> cComando , cRta<br />cComando := <span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\w</span>indows<span style=\"color: #000000;\">\\s</span>ystem32<span style=\"color: #000000;\">\\n</span>et.exe start > .<span style=\"color: #000000;\">\\s</span>ervicios.txt\"</span><br />MemoWrit<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'servicios.bat'</span>,cComando<span style=\"color: #000000;\">)</span><br />DELETE FILE servicios.txt<br />WaitRun<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">'servicios.bat'</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br />cRta := MemoRead<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"servicios.txt\"</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">IF</span> !<span style=\"color: #ff0000;\">\"MySQL\"</span>$cRta<br /> MsgStop<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"MySQL Error\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">//O instalar el servicio</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"MySQL Ok\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// Seguir con tu logica</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span></div>[/code:oweli2z4]",
"time": "17:29",
"topic": "Como crear un servicio de windows",
"username": "cmsoft"
}
] | Como crear un servicio de windows |
[
{
"date": "2023-04-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cesar muchas gracias por la ayuda... tu código funciono de maravilla. \n\nEl problema es que parece que ese POST que me recomendaste ya es algo antiguo, o no tengo los ejecutables necesarios para hacerlo, ya que al intentar correr el ejemplo no funciona, estuve buscando dentro de la carpeta los exe, pero no están. \n\n[code=fw:2mh4d4h8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">C:\\Users>C:\\Program Files\\<span style=\"color: #0000ff;\">Resource</span> Kit\\Instsrv.exe Notepad C:\\Program Files\\<span style=\"color: #0000ff;\">Resource</span> Kit\\Srvany.exe<br /><span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\P</span>rogram\"</span> no se reconoce como un comando interno o externo,<br />programa o archivo por lotes ejecutable.</div>[/code:2mh4d4h8]\n\nAbusando de tu confianza y conocimiento, me podrías indicar como puedo crear el servicio con las instrucciones que sugieres. <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \n\nDe antemano gracias",
"time": "19:48",
"topic": "Como crear un servicio de windows",
"username": "leandro"
}
] | Como crear un servicio de windows |
[
{
"date": "2023-04-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Leandro, yo nunca lo he hecho, solo busque en google.\nProbé intentando crearlo con el siguiente comando:\n[code=fw:1hf04g8u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />sc.exe create prueba binpath= <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh21<span style=\"color: #000000;\">\\s</span>amples<span style=\"color: #000000;\">\\l</span>eandro.exe\"</span><br /> </div>[/code:1hf04g8u]\nTienes que ejecutarlo con privilegios de administrador\nEl servicio lo crea pero no pude ponerlo a correr",
"time": "21:41",
"topic": "Como crear un servicio de windows",
"username": "cmsoft"
}
] | Como crear un servicio de windows |
[
{
"date": "2006-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Quiero crear una DLL via fw+h. \nEsta Harbour preparado para crear DLL no como \"contenedor de RC\" sino como \"contenedor de funciones\".\nGracias de antemano.\nSi tienen algun ejemplo quedaria agradecido.",
"time": "17:51",
"topic": "Como crear una DLL de funciones con FW+H",
"username": "dbzap"
}
] | Como crear una DLL de funciones con FW+H |
[
{
"date": "2006-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Sí se puede. Existen tres formas. Lee el siguiente documento:\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/01cdd50783/windll.txt.html\">http://hyperupload.com/download/01cdd50 ... l.txt.html</a><!-- m -->",
"time": "20:37",
"topic": "Como crear una DLL de funciones con FW+H",
"username": "Antonio Linares"
}
] | Como crear una DLL de funciones con FW+H |
[
{
"date": "2007-05-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio, no puedo bajar el archivo, no lo encuentra, de que otro lado puedo conseguirlo ?\nGracias Miguel",
"time": "17:51",
"topic": "Como crear una DLL de funciones con FW+H",
"username": "infosys"
}
] | Como crear una DLL de funciones con FW+H |
[
{
"date": "2007-05-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "<!-- m --><a class=\"postlink\" href=\"http://rapidshare.com/files/32208291/windll.txt.html\">http://rapidshare.com/files/32208291/windll.txt.html</a><!-- m -->",
"time": "17:54",
"topic": "Como crear una DLL de funciones con FW+H",
"username": "Antonio Linares"
}
] | Como crear una DLL de funciones con FW+H |
[
{
"date": "2007-05-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ok, lo revisaremos\nLo unico raro es que quizas el tiempo que tomaste fue algo excesivo.\nSaludos",
"time": "14:54",
"topic": "Como crear una DLL de funciones con FW+H",
"username": "dbzap"
}
] | Como crear una DLL de funciones con FW+H |
[
{
"date": "2007-05-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Julio,\n\nEse documento, junto a otros, estan disponibles en el CVS de Harbour\n\nTe contestamos el 16 de Mayo del año pasado, quizá no vistes nuestro post",
"time": "17:42",
"topic": "Como crear una DLL de funciones con FW+H",
"username": "Antonio Linares"
}
] | Como crear una DLL de funciones con FW+H |
[
{
"date": "2007-06-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola amigos del foro,\n\nEstoy utilizando el ejemplo icopyfil.prg para cargar y descargar archivos de un sitio web y funciona bien pero no encuentro el metodo para crear una nueva carpeta. Podria alguien indicarme la manera de hacer esto (Harbour), gracias.\n\nSaludos\n\nAlvaro Urdaneta\n[/url]",
"time": "01:41",
"topic": "Como crear una carpeta con Tftp",
"username": "Alvaro Urdaneta"
}
] | Como crear una carpeta con Tftp |
[
{
"date": "2013-03-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos, estoy tratando de crear una .lib de la clase tsbutton, tengo los obj, pero no encuentro aqui en el foro algo ya escrito al respecto.\nSi alguien sabe como hacerlo o ya la tiene como lib, desde ya agradecido.\n\nJorge Jaurena",
"time": "19:24",
"topic": "Como crear una libreria?",
"username": "Jorge Jaurena"
}
] | Como crear una libreria? |
[
{
"date": "2013-03-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Jorge...\n¿Cómo andás tanto tiempo?\nBuscá acá en el foro el programa ExplorerLib de Andrés Reyes. Tal vez sea lo que estás queriendo hacer.\nSaludos, Esteban.",
"time": "20:27",
"topic": "Como crear una libreria?",
"username": "jrestojeda"
}
] | Como crear una libreria? |
[
{
"date": "2013-03-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jorge,\n\nCon Borland es tan sencillo como:\n\nc:\\bcc582\\bin\\tlib.exe mylib.lib -+ modulo.obj",
"time": "22:57",
"topic": "Como crear una libreria?",
"username": "Antonio Linares"
}
] | Como crear una libreria? |
[
{
"date": "2013-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio, todo bien con el tlib.exe, pero me complico un poco el armado de la liberia SButtonH, tengo los prg que compilo sin problemas, pero hay un BPAINT.C que tengo que incluir y el BCC582 me da error al compilarlo, esto es lo ultimo que me falta para poder estrenar mi nuevo FWH.\n\nError E2209 C\\BPAINT.C 5: Unable to open include file 'WinTen.h'\nError E2209 C\\BPAINT.C 7: Unable to open include file 'ClipApi.h'\nError E2141 C\\BPAINT.C 33: Declaration syntax error\n\nNo se si esos dos .h habra que incluirlos y la lina 33 es la segunda del siguiente bloque.\n\n#ifndef __HARBOUR__\n CLIPPER SBtnPaint( PARAMS ) // ( hWnd, hBitmaP, lPressed,\n // hFont, cText, nPos, nClrText, ClrBack,\n // lMouseOver, lOpaque, hBrush, nRows, lW97,\n // lAdjust, lMenu, lMenuPress, lFocused,\n // nShape, lBorder, lBox, nClip, nClrTo, lHorz, lRound )\n#else\n HARBOUR HB_FUN_SBTNPAINT( PARAMS )\n#endif\n\nMuchas Gracias.\nJorge Jaurena",
"time": "00:12",
"topic": "Como crear una libreria?",
"username": "Jorge Jaurena"
}
] | Como crear una libreria? |
[
{
"date": "2013-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jorge,\n\nPuedes copiar aqui el contenido de bpaint.c ? gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "08:28",
"topic": "Como crear una libreria?",
"username": "Antonio Linares"
}
] | Como crear una libreria? |
[
{
"date": "2013-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "No me permite ya que es demasiado largo. Te lo envio por mail.\n\nGracias\nJorge Jaurena",
"time": "15:35",
"topic": "Como crear una libreria?",
"username": "Jorge Jaurena"
}
] | Como crear una libreria? |
[
{
"date": "2013-03-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jorge,\n\nCon estas modificaciones ha compilado bien haciendo:\nc:\\bcc582\\bin\\bcc32 -c -Ic:\\harbour\\include -Ic:\\fwh\\include BPAINT.C\n\n[url:1tfi39wa]https://code.google.com/p/fivewin-contributions/downloads/detail?name=bpaint.zip&can=2&q=[/url:1tfi39wa]",
"time": "16:02",
"topic": "Como crear una libreria?",
"username": "Antonio Linares"
}
] | Como crear una libreria? |
[
{
"date": "2007-10-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Como crear un Boton con el Color de Texto y Fondo que desee, por ejm :\nFondo Rojo con Texto Negro.\n\n\nProbe con el comando @ nRow, nCol BUTTON ...... y no se puede cambiar\nel color. Lo toma predeterminado de Windows.\n\nMaster Antonio, me dice que pruebe con el comando @ nRow, nCol BTNBMP ... pero tampoco veo el atributo COLOR.\n\nGracias por la atencion prestada,\n\nRegards, \n\nSaludos,",
"time": "18:00",
"topic": "Como creo un Boton con el Color de Texto y Fondo que desee",
"username": "albeiroval"
}
] | Como creo un Boton con el Color de Texto y Fondo que desee |
[
{
"date": "2007-10-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "@ nRow, nCol BTNBMP oBtn ...\n\noBtn:SetColor( nColorTexto, nClrFondo )",
"time": "22:25",
"topic": "Como creo un Boton con el Color de Texto y Fondo que desee",
"username": "Antonio Linares"
}
] | Como creo un Boton con el Color de Texto y Fondo que desee |
[
{
"date": "2007-10-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":38mllowe]@ nRow, nCol BTNBMP oBtn ...\n\noBtn:SetColor( nColorTexto, nClrFondo )[/quote:38mllowe]\n\nMAESTRO ANTONIO...\n\nPUEDO HACER ESTO CON BUTTONBMP TANBIÉN??? \n\nUSO DESDE RECURSOS DEL WORKSHOP.EXE the best.\n\n\nGracias,\n\nRegards, saludos.",
"time": "15:01",
"topic": "Como creo un Boton con el Color de Texto y Fondo que desee",
"username": "karinha"
}
] | Como creo un Boton con el Color de Texto y Fondo que desee |
[
{
"date": "2009-03-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigso tengo un funcion por ejemplo\n\nFunc sumar( a , b )\nretu(a+b)\n \nComo hago para pasar esa funcion a un dll\n\n\ny luego como invoco ese dll desde otro ejecutable\n\nsera algo como \nDLL function sumar( a , b )\n\n\nAhora esto es mas rapido que hacer en un ejecutable y pasarle\nparametros con .\n\nGracias por la ayuda\n\n\n\n\n\n\n\n\n\n\nla necesida de crear una dll",
"time": "18:34",
"topic": "Como creo una dll con mi codigo y como lo uso con otros exes",
"username": "Vladimir Zorrilla"
}
] | Como creo una dll con mi codigo y como lo uso con otros exes |
[
{
"date": "2009-03-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Vladimir,\n\nPuedes crear dos tipos de DLL:\n\n1: Solo contiene pcode y usa la \"maquina virtual\" de Harbour contenida en el EXE.\n\n2: Es una DLL autocontenida que puede usarse desde cualquier EXE, escrito en cualquier lenguaje.\n\nCual de esas dos opciones te interesa ?\n\nExiste una tercera opcion que es usar un EXE que solo contiene pcode y usa la \"maquina virtual\" que esta dentro de una DLL. Son EXEs muy pequenos, ya que solo contienen pcode.",
"time": "22:57",
"topic": "Como creo una dll con mi codigo y como lo uso con otros exes",
"username": "Antonio Linares"
}
] | Como creo una dll con mi codigo y como lo uso con otros exes |
[
{
"date": "2009-03-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias por contestar\n\nEsta seria la opcion que me interesa.\n\n2: Es una DLL autocontenida que puede usarse desde cualquier EXE, escrito en cualquier lenguaje.\n\n\nMuchas Gracias",
"time": "02:59",
"topic": "Como creo una dll con mi codigo y como lo uso con otros exes",
"username": "Vladimir Zorrilla"
}
] | Como creo una dll con mi codigo y como lo uso con otros exes |
[
{
"date": "2009-03-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Vladimir,\n\nLa opción 2 la hemos comentado recientemente a fondo en:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=14863\">viewtopic.php?f=3&t=14863</a><!-- l -->\n\nRevisa FWH\\samples\\babu.prg y babudll.prg",
"time": "11:47",
"topic": "Como creo una dll con mi codigo y como lo uso con otros exes",
"username": "Antonio Linares"
}
] | Como creo una dll con mi codigo y como lo uso con otros exes |
[
{
"date": "2015-01-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas Antonio y resto\n\nDisculpen responder a un tema tan viejo pero estoy buscando información sobre el punto 1 y no la localizo:\n\n1: Solo contiene pcode y usa la \"maquina virtual\" de Harbour contenida en el EXE.\n\nEncontre el tema: <!-- l --><a class=\"postlink-local\" href=\"http://fivetechsupport.com/forums/viewtopic.php?f=6&t=15374&start=15\">viewtopic.php?f=6&t=15374&start=15</a><!-- l --> pero guao al parecer hay que programar practicamente en C y no es lo que busco.\n\nMi idea es tener funciones en DLL que van a ejecutarse unicamete con mi EXE. Esas funciones deben poder llamar otras funciones que estan en el EXE, o sea, que el codigo de la DLL se comporte como si fuese parte del mismo EXE\n\nGracias de antemano por su tiempo.",
"time": "00:49",
"topic": "Como creo una dll con mi codigo y como lo uso con otros exes",
"username": "hidroxid"
}
] | Como creo una dll con mi codigo y como lo uso con otros exes |
[
{
"date": "2015-01-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "hidroxid.\nTodo esto lo tome de samples hace algunos meses y estuve jugando un poco. Espero te sea de alguna utilidad.\n\n[code=fw:1dwyozr6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Build a DLL from this code using: buildhd.bat mydll</span><br /><span style=\"color: #B900B9;\">// Please review TESTMYDL.prg to see how to use this DLL.</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Inside DLL main()\"</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: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">function</span> OneParam<span style=\"color: #000000;\">(</span> x <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> x <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">function</span> OtraMas<span style=\"color: #000000;\">(</span> x <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> cTxt := x+<span style=\"color: #ff0000;\">\" (un texto recibido mas uno agregado)\"</span><br /><br /> MsgStop<span style=\"color: #000000;\">(</span> cTxt <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP <br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h> <br /><span style=\"color: #00D7D7;\">#include</span> <hbapiitm.h> <br /><br />__declspec<span style=\"color: #000000;\">(</span> dllexport <span style=\"color: #000000;\">)</span> LONG pascal DOPROC<span style=\"color: #000000;\">(</span> char * cProcName, char * cParam <span style=\"color: #000000;\">)</span> <br /><span style=\"color: #000000;\">{</span> <br /> PHB_ITEM pItem = hb_itemPutC<span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NULL</span>, cParam <span style=\"color: #000000;\">)</span>; <br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> cProcName <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> hb_itemDoC<span style=\"color: #000000;\">(</span> cProcName, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">(</span> PHB_ITEM <span style=\"color: #000000;\">)</span> pItem, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>; <br /> hb_itemRelease<span style=\"color: #000000;\">(</span> pItem <span style=\"color: #000000;\">)</span>; <br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span> <br /> MessageBox<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"inside the DLL\"</span>, <span style=\"color: #ff0000;\">\"DOPROC\"</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span>; <br /><span style=\"color: #000000;\">}</span> <br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP <br /><br /> </div>[/code:1dwyozr6]\n\n\n[code=fw:1dwyozr6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Calling a Harbour DLL</span><br /><span style=\"color: #B900B9;\">// Please review samples\\MyDLL.prg and build it before</span><br /><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> cString := <span style=\"color: #ff0000;\">\"Hola a todo el mundo!\"</span><br /> <span style=\"color: #00C800;\">local</span> c1 := <span style=\"color: #ff0000;\">\"Primer texto\"</span><br /><br /> DOPROC<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ONEPARAM\"</span>, cString <span style=\"color: #000000;\">)</span><br /><br /> DOPROC<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"OTRAMAS\"</span>, c1 <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Todo correcto, hasta el momento.\"</span> <span style=\"color: #000000;\">)</span> <br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br />DLL <span style=\"color: #00C800;\">FUNCTION</span> DOPROC<span style=\"color: #000000;\">(</span> cProc AS LPSTR, cText AS LPSTR <span style=\"color: #000000;\">)</span> AS LONG PASCAL LIB <span style=\"color: #ff0000;\">\"MYDLL.dll\"</span></div>[/code:1dwyozr6]\n\n\n\n[code=fw:1dwyozr6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style=\"color: #00C800;\">for</span> xHarbour <span style=\"color: #000000;\">12.04</span> - Apr. <span style=\"color: #000000;\">2012</span> xHarbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />ECHO ³ <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2012</span> <span style=\"color: #00C800;\">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br /><span style=\"color: #00C800;\">if</span> A%<span style=\"color: #000000;\">1</span> == A GOTO :<span style=\"color: #000000;\">SINTAX</span><br /><span style=\"color: #00C800;\">if</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.prg GOTO :<span style=\"color: #000000;\">NOEXIST</span><br /><br />ECHO Compiling...<br /><br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%FWDIR%\"</span> == <span style=\"color: #ff0000;\">\"\"</span> set FWDIR=C:\\FWH1204\\<br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%XHDIR%\"</span> == <span style=\"color: #ff0000;\">\"\"</span> set XHDIR=c:\\xharbour_BCC582_20120330<br />rem <span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%2\"</span> == <span style=\"color: #ff0000;\">\"/b\"</span> set GT=gtwin<br />rem <span style=\"color: #00C800;\">if</span> not <span style=\"color: #ff0000;\">\"%2\"</span> == <span style=\"color: #ff0000;\">\"/b\"</span> set GT=gtgui<br />set GT=gtgui<br /><br />set hdir=%XHDIR%<br />set hdirl=%hdir%\\lib<br />set bcdir=c:\\bcc582<br />set fwh=%FWDIR%<br /><br />%hdir%\\bin\\harbour %<span style=\"color: #000000;\">1</span> /n /i%fwh%\\include;%hdir%\\include /w /p %<span style=\"color: #000000;\">2</span> %<span style=\"color: #000000;\">3</span> > comp.log<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO COMPILEERRORS<br />@type comp.log<br /><br />echo -O2 -e%<span style=\"color: #000000;\">1</span>.exe -I%hdir%\\include -I%bcdir%\\include %<span style=\"color: #000000;\">1</span>.c > b32.bc<br />%bcdir%\\bin\\bcc32 -M -c -v @b32.bc<br />:<span style=\"color: #000000;\">ENDCOMPILE</span><br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc %bcdir%\\bin\\brc32 -r -I%bcdir%\\include %<span style=\"color: #000000;\">1</span><br /><br />echo %bcdir%\\lib\\c0w32.obj + > b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.obj, + >> b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.exe, + >> b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.map, + >> b32.bc<br />echo %fwh%\\lib\\Fivehx.lib %fwh%\\lib\\FiveHC.lib + >> b32.bc<br />echo %hdirl%\\rtl.lib + >> b32.bc<br />echo %hdirl%\\vm.lib + >> b32.bc<br />echo %hdirl%\\%GT%.lib + >> b32.bc<br />echo %hdirl%\\lang.lib + >> b32.bc<br />echo %hdirl%\\macro.lib + >> b32.bc<br />echo %hdirl%\\rdd.lib + >> b32.bc<br />echo %hdirl%\\dbfntx.lib + >> b32.bc<br />echo %hdirl%\\dbfcdx.lib + >> b32.bc<br />echo %hdirl%\\dbffpt.lib + >> b32.bc<br />echo %hdirl%\\hbsix.lib + >> b32.bc<br />echo %hdirl%\\debug.lib + >> b32.bc<br />echo %hdirl%\\common.lib + >> b32.bc<br />echo %hdirl%\\pp.lib + >> b32.bc<br />echo %hdirl%\\pcrepos.lib + >> b32.bc<br />echo %hdirl%\\ct.lib + >> b32.bc<br />echo %hdirl%\\zlib.lib + >> b32.bc<br />echo %hdirl%\\hbzip.lib + >> b32.bc<br />echo %hdirl%\\png.lib + >> b32.bc<br /><br />rem Uncomment these two lines <span style=\"color: #0000ff;\">to</span> use Advantage RDD<br />rem echo %hdir%\\lib\\rddads.lib + >> b32.bc<br />rem echo %hdir%\\lib\\Ace32.lib + >> b32.bc<br /><br />echo %bcdir%\\lib\\cw32.lib + >> b32.bc<br />echo %bcdir%\\lib\\import32.lib + >> b32.bc<br />echo %bcdir%\\lib\\uuid.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\odbc32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\rasapi32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\nddeapi.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\msimg32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\psapi.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\gdiplus.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\iphlpapi.lib, >> b32.bc<br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.res echo %<span style=\"color: #000000;\">1</span>.res >> b32.bc<br /><br />rem uncomment this line <span style=\"color: #0000ff;\">to</span> use the debugger and comment the following one<br /><span style=\"color: #00C800;\">if</span> %GT% == gtwin %bcdir%\\bin\\ilink32 -Gn -Tpe -s -v @b32.bc<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br /><span style=\"color: #00C800;\">if</span> %GT% == gtgui %bcdir%\\bin\\ilink32 -Gn -aa -Tpe -s -v @b32.bc<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br />ECHO * Application successfully built *<br />%<span style=\"color: #000000;\">1</span><br />GOTO EXIT<br />ECHO<br /><br />rem delete temporary files<br />@del %<span style=\"color: #000000;\">1</span>.c<br /><br />:<span style=\"color: #000000;\">COMPILEERRORS</span><br />@type comp.log<br />ECHO * Compile errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">LINKERROR</span><br />ECHO * Linking errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">SINTAX</span><br />ECHO SYNTAX: <span style=\"color: #000000;\">Build</span> <span style=\"color: #000000;\">[</span>Program<span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">{</span>-- No especifiques la extensi¢n PRG<br />ECHO <span style=\"color: #000000;\">{</span>-- Don<span style=\"color: #ff0000;\">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT<br /><br />PAUSE</span></div>[/code:1dwyozr6]\n\n\n[code=fw:1dwyozr6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style=\"color: #00C800;\">for</span> xHarbour <span style=\"color: #000000;\">11.09</span> - Sep. <span style=\"color: #000000;\">2012</span> xHarbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />ECHO ³ <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2012</span> <span style=\"color: #00C800;\">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br /><span style=\"color: #00C800;\">if</span> A%<span style=\"color: #000000;\">1</span> == A GOTO :<span style=\"color: #000000;\">SINTAX</span><br /><span style=\"color: #00C800;\">if</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.prg GOTO :<span style=\"color: #000000;\">NOEXIST</span><br /><br />ECHO Building <span style=\"color: #00C800;\">self</span> contained DLL<br />ECHO Compiling...<br /><br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%FWDIR%\"</span> == <span style=\"color: #ff0000;\">\"\"</span> set FWDIR=c:\\fwh1204\\<br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%XHDIR%\"</span> == <span style=\"color: #ff0000;\">\"\"</span> set XHDIR=c:\\xharbour_bcc582_20120330<br />rem <span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%2\"</span> == <span style=\"color: #ff0000;\">\"/b\"</span> set GT=gtwin<br />rem <span style=\"color: #00C800;\">if</span> not <span style=\"color: #ff0000;\">\"%2\"</span> == <span style=\"color: #ff0000;\">\"/b\"</span> set GT=gtgui<br />set GT=gtgui<br /><br />set hdir=%XHDIR%<br />set hdirl=%hdir%\\lib<br />set bcdir=c:\\bcc582<br />set fwh=%FWDIR%<br /><br />%hdir%\\bin\\harbour %<span style=\"color: #000000;\">1</span> /n /i%fwh%\\include;%hdir%\\include /w /p %<span style=\"color: #000000;\">2</span> %<span style=\"color: #000000;\">3</span> > comp.log<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO COMPILEERRORS<br />@type comp.log<br /><br />echo -O2 -e%<span style=\"color: #000000;\">1</span>.exe -I%hdir%\\include -I%bcdir%\\include %<span style=\"color: #000000;\">1</span>.c > b32.bc<br />%bcdir%\\bin\\bcc32 -M -c -v @b32.bc<br />:<span style=\"color: #000000;\">ENDCOMPILE</span><br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc %bcdir%\\bin\\brc32 -r -I%bcdir%\\include %<span style=\"color: #000000;\">1</span><br /><br />echo %bcdir%\\lib\\c0d32.obj + > b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.obj, + >> b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.dll, + >> b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.map, + >> b32.bc<br />echo %fwh%\\lib\\Fivehx.lib %fwh%\\lib\\FiveHC.lib + >> b32.bc<br />echo %hdirl%\\rtl.lib + >> b32.bc<br />echo %hdirl%\\vm.lib + >> b32.bc<br />echo %hdirl%\\%GT%.lib + >> b32.bc<br />echo %hdirl%\\lang.lib + >> b32.bc<br />echo %hdirl%\\macro.lib + >> b32.bc<br />echo %hdirl%\\rdd.lib + >> b32.bc<br />echo %hdirl%\\dbfntx.lib + >> b32.bc<br />echo %hdirl%\\dbfcdx.lib + >> b32.bc<br />echo %hdirl%\\dbffpt.lib + >> b32.bc<br />echo %hdirl%\\hbsix.lib + >> b32.bc<br />echo %hdirl%\\debug.lib + >> b32.bc<br />echo %hdirl%\\common.lib + >> b32.bc<br />echo %hdirl%\\pp.lib + >> b32.bc<br />echo %hdirl%\\pcrepos.lib + >> b32.bc<br />echo %hdirl%\\ct.lib + >> b32.bc<br />echo %hdirl%\\zlib.lib + >> b32.bc<br />echo %hdirl%\\hbzip.lib + >> b32.bc<br /><br />rem Uncomment these two lines <span style=\"color: #0000ff;\">to</span> use Advantage RDD<br />rem echo %hdir%\\lib\\rddads.lib + >> b32.bc<br />rem echo %hdir%\\lib\\Ace32.lib + >> b32.bc<br /><br />echo %bcdir%\\lib\\cw32.lib + >> b32.bc<br />echo %bcdir%\\lib\\import32.lib + >> b32.bc<br />echo %bcdir%\\lib\\uuid.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\odbc32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\rasapi32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\nddeapi.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\msimg32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\psapi.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\gdiplus.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\iphlpapi.lib, >> b32.bc<br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.res echo %<span style=\"color: #000000;\">1</span>.res >> b32.bc<br /><br /><span style=\"color: #00C800;\">if</span> %GT% == gtgui %bcdir%\\bin\\ilink32 -Gn -Tpd -s -v @b32.bc<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br />ECHO * DLL successfully built *<br />GOTO EXIT<br />ECHO<br /><br />rem delete temporary files<br />@del %<span style=\"color: #000000;\">1</span>.c<br /><br />:<span style=\"color: #000000;\">COMPILEERRORS</span><br />@type comp.log<br />ECHO * Compile errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">LINKERROR</span><br />ECHO * Linking errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">SINTAX</span><br />ECHO SYNTAX: <span style=\"color: #000000;\">Build</span> <span style=\"color: #000000;\">[</span>Program<span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">{</span>-- No especifiques la extensi¢n PRG<br />ECHO <span style=\"color: #000000;\">{</span>-- Don<span style=\"color: #ff0000;\">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT<br /><br />PAUSE</span></div>[/code:1dwyozr6]",
"time": "05:20",
"topic": "Como creo una dll con mi codigo y como lo uso con otros exes",
"username": "FranciscoA"
}
] | Como creo una dll con mi codigo y como lo uso con otros exes |
[
{
"date": "2019-07-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos al forum\n\nCom creo una libreria con MinGW gcc y Visual Studio\n\nGracias",
"time": "02:43",
"topic": "Como creo una librerias con MinGW gcc y Visual Studio",
"username": "ruben Dario"
}
] | Como creo una librerias con MinGW gcc y Visual Studio |
[
{
"date": "2019-07-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ruben,\n\nsabes hacerlo usando Borland ?\n\nCon estos compiladores es igual, salvo que el manejador de librerias de mingw es ar.exe:\n\n...\\bin\\ar rc libreria modulo.obj\n\ny para Visual Studio:\n\n...\\lib.exe lib\\libreria out\\libreria modulo.obj",
"time": "11:10",
"topic": "Como creo una librerias con MinGW gcc y Visual Studio",
"username": "Antonio Linares"
}
] | Como creo una librerias con MinGW gcc y Visual Studio |
[
{
"date": "2013-10-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Alguem tem algum exemplo de como criar um WebService em Harbour ou xHarbour?\n\nNão é para conectar em um WebService, mas sim criar um novo, que consome metodos HTTP GET e POST.",
"time": "14:52",
"topic": "Como criar um WebService",
"username": "digordo"
}
] | Como criar um WebService |
[
{
"date": "2013-10-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=152371#p152371\">viewtopic.php?p=152371#p152371</a><!-- l -->",
"time": "19:10",
"topic": "Como criar um WebService",
"username": "Antonio Linares"
}
] | Como criar um WebService |
[
{
"date": "2011-05-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Como de puede cargar varios DLL.\nActualmente cargo Uno asi SET RESOURCES TO \"winsistema.dll\"",
"time": "23:05",
"topic": "Como de puede cargar varios DLL.",
"username": "ruben Dario"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ruben,\n\nPuedes cargar otra DLL usando el mismo comando nuevamente:\n\nSET RESOURCES TO \"otra.dll\"",
"time": "05:59",
"topic": "Como de puede cargar varios DLL.",
"username": "Antonio Linares"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio\n\nAntes yo intente asi, pero no mantiene las dos.\n\nno se puede obtener los recursos de la primera.\n\nSaludos,\n\nAdhemar",
"time": "14:50",
"topic": "Como de puede cargar varios DLL.",
"username": "acuellar"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "No lo he probado. ¿Y si se intenta asi?:\n\nhDll1:=LoadLibray(\"Libdll1\")\nhDll2:=LoadLibray(\"Libdll2\")\n\nFreeLibrary(\"hDll1\")\nFreeLibrary(\"hDll2\")\n\nSaludos.",
"time": "15:28",
"topic": "Como de puede cargar varios DLL.",
"username": "FranciscoA"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos, no seria mas facil si las cargas a un ARRAY\n\naLib[n]\n\naLib[1]:=LoadLibray(\"Libdll1\")\naLib[2]:=LoadLibray(\"Libdll2\")\naLib[n]:=LoadLibray(\"Libdlln\")",
"time": "19:56",
"topic": "Como de puede cargar varios DLL.",
"username": "joseluisysturiz"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Holas,,,\nSET RESOURCES TO \"una.dll\", \"otra.dll\", \"unamas.dll\"\n\nSalu2",
"time": "02:46",
"topic": "Como de puede cargar varios DLL.",
"username": "Willi Quintana"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Si, asi es, es la forma correcta de usar varias DLLs simultaneamente, gracias Willi! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "07:47",
"topic": "Como de puede cargar varios DLL.",
"username": "Antonio Linares"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Como indica Willi no funciona\n\nSólo se pueden obtener los recursos de la primera.\n\nSaludos,\n\nAdhemar",
"time": "13:21",
"topic": "Como de puede cargar varios DLL.",
"username": "acuellar"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Si solamente se pueden obtener los recursos de la primera. segun la prueba que hice,\n\n\nAtt.\n\nRuben Dario\n\n\nSaludos,",
"time": "17:37",
"topic": "Como de puede cargar varios DLL.",
"username": "ruben Dario"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hice pruebas y efectivamente estan activos los de la ultima DLL cargada.",
"time": "18:01",
"topic": "Como de puede cargar varios DLL.",
"username": "wmormar"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2011-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Holas,,,\nrecuerdo haber usado de este modo creo con clipper...SET RESOURCES TO \"una.dll\", \"otra.dll\", \"unamas.dll\", en todo caso esto si funciona:\n[code=fw:3de3q8m4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />SET <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #0000ff;\">TO</span> primera.dll<br />Funcion xxxxxxx<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />...<br />..<br />.<br />hOldRes := GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// guardamos la dll inicial</span><br />SetResources<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"nuevadll.dll\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// cargamos una nueva</span><br />. <span style=\"color: #B900B9;\">// utilizamos la nueva dll</span><br />..<br />...<br />SetResources<span style=\"color: #000000;\">(</span>hOldRes<span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// volvemos a cargar la dll inicial</span><br />.<br />..<br />...<br /> </div>[/code:3de3q8m4]",
"time": "19:53",
"topic": "Como de puede cargar varios DLL.",
"username": "Willi Quintana"
}
] | Como de puede cargar varios DLL. |
[
{
"date": "2007-10-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Como se Define el tipo de papel que voy a Utilizar si es Carta o Oficio.\nLa Orientacion si es Horizontal o Vertical , y direccionarlo a una impresora especifica en este caso tengo una red y son varias impresoras.",
"time": "00:01",
"topic": "Como definir el tamaño del papel y Oridentaciion al REPORTE",
"username": "ruben Dario"
}
] | Como definir el tamaño del papel y Oridentaciion al REPORTE |
[
{
"date": "2007-10-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mas Informacion\n\n<!-- m --><a class=\"postlink\" href=\"http://fivetechsoft.com/forums/viewtopic.php?t=5795&highlight=papel\">http://fivetechsoft.com/forums/viewtopi ... ight=papel</a><!-- m -->",
"time": "01:51",
"topic": "Como definir el tamaño del papel y Oridentaciion al REPORTE",
"username": "Vital"
}
] | Como definir el tamaño del papel y Oridentaciion al REPORTE |
[
{
"date": "2014-12-03",
"forum": "FiveLinux / FiveDroid (Android)",
"text": "La idea es:\n\nfMyFunc_C (“MiTabla”) \n?MiTabla->MiCampo1 \n?MiCampo2\n\n# Pragma BEGINDUMP \n\n HB_FUNC (fMyFunc_C) \n {\n \nQue debo hacer acá para que se generen/creen/definan las variables MiCampo1 y MiCampo2, y al retornar de esta función no de error, variable MiCampo1 no exite.\n } \n# Pragma ENDDUMP \n\nSe agradece cualquier ayuda.",
"time": "13:59",
"topic": "Como definir/crear/inicializar variable desde una función",
"username": "jgayoso"
}
] | Como definir/crear/inicializar variable desde una función |
[
{
"date": "2014-12-03",
"forum": "FiveLinux / FiveDroid (Android)",
"text": "Ya estoy revisando el código de Jorge para buscarle la solución <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "17:03",
"topic": "Como definir/crear/inicializar variable desde una función",
"username": "Antonio Linares"
}
] | Como definir/crear/inicializar variable desde una función |
[
{
"date": "2014-10-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "¿Al exportar que? ¿En que formato?\n¿Donde lo ves y no se ve como debiera?",
"time": "14:20",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "Carlos Mora"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2014-10-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos ;\n\nNecesito una orientacion, como puedo setear para que al compilar el programa, quede creado en formato ISO-8859-1.\n\nRequiero hacer esto en xHarbour, pero no se que funciones hay que poner al inicio del programa, alguien las sabe ?\n\nEsto lo necesito para que los archivos que exporte el sistema en texto plano , vayan también en ese formato y en español.\n\nQue reconozcan los caracteres como Ñ, ñ , y acentos . Me está provocando problemas al exportar. <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nSaludos,",
"time": "23:12",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "jcaro"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2014-10-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Carlos , gracias por responder.\n\nEstoy creando unos xml, los cuales en su encabezado llevan definido el \n\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> , pero aun asi, me reclaman que no va ese formato , por eso para asegurarme\n\nrequiero que mi ejecutable haya sido tambien creado en este formato ISO-8859-1.\n\nBuscando en un foro del google en ingles , encontre estas funciones , \n\n\nREQUEST HB_LANG_DE // request German language \nHB_SetCodePage( \"DE\" ) // Queries or changes the current code page. \nHB_LangSelect( \"DE\" ) // Select a specific nation message module \nSet Date German // Assigns a date format GERMAN dd.mm.yy \n\nPero cuales son los comandos para dejarlos en español y en esa ISO que menciono.\n\nSi alguien sabe, que lo comente por favor.\n\nSaludos,",
"time": "14:36",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "jcaro"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2014-10-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Que significa \"no va\"? Ellos no pueden leer ese encoding? El contenido del fichero no esta realmente en ISOxxxx? \n\nno entiendo cual es el problema concreto.",
"time": "14:47",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "Carlos Mora"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2014-10-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos , me dicen que aunque el archivo tiene su encoding, por no estar mi ejecutable creado en este mismo formato, lo\n\nque exporta , ( en este caso el xml ), igual se ve afectado , por ello requiero asegurarme que mi ejecutable, este en el mismo formato.\n\nNo se si ahora me explico mejor.",
"time": "15:12",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "jcaro"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2014-10-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "jcaro,\n\nNo necesariamente tienes que colocar tu EXE con ese tipo de codificacion.\n\nEl cambiar la codificacion solo al momento de crear el XML, despues regresar la codificacion a como la tenias inicialmente.\n\ny efectivamente debes usar las funciones que comentas anteriormente.",
"time": "02:54",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "wmormar"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2014-10-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Completamente de acuerdo con Willy, no tiene nada que ver.\nEl problema no se puede resolver si no vemos un ejemplo para saber donde está el problema. Lo que te dicen los alemanes dice donde está el problema, pero a partir de ahí solo estamos especulando, solo se puede responder si muestras algo de código, un ejemplo del fichero o algo de donde tirar, seguir con especulaciones me parece poco razonable.\n\nMuéstranos algo. Si subes un fichero de ejemplo podremos saber si hay algo bien o mal. Si ellos lo usna en UTF-8 te remito a la solución de las funciones de conversión, que es la solución que parece ser la más adecuada.",
"time": "12:01",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "Carlos Mora"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2014-10-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias por las respuestas, lo voy a resolver solo desde el XML. \n\nAtte.,",
"time": "18:10",
"topic": "Como dejar el sistema en ISO-8859-1",
"username": "jcaro"
}
] | Como dejar el sistema en ISO-8859-1 |
[
{
"date": "2010-02-06",
"forum": "FiveWin para Pocket PC",
"text": "Ola. Bom dia.\n\nTres Questoes :\n\n1 - Como desbilitar a BarTitle de uma Dialog?\n\nPretendo fazer o meu proprio teclado.... numa dialog sem bartitle.\n\n2 Num get é possivel executar uma acção quando clicka nesse get ? Uma clausula do tipo \"GotFocus e LostFocus\" ?\nAssim quando o operador clica num determinado get poderia activar/desactivar automaticamente um teclado personalizado.\n Isto é possivel em FWPPC?\n\n3 - Como desactivar o Icon do teclado do Win Mobile na Barra inferior?\n\nDesculpem tantas questoes, mas é que comecei agora a desnvolver com FWPPC e tenho muito pouco tempo.\n\nQualquer ajuda é muito preciosa.\nMuito obrigado.\nCumprimento",
"time": "10:54",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "PeterBaga"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-06",
"forum": "FiveWin para Pocket PC",
"text": "Pedro,\n\n1) Si el diálogo lo creas desde código puedes usar la claúsula STYLE:\n[code=fw:33hhgjr2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">40</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Dialog\"</span> <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_VISIBLE, WS_OVERLAPPEDWINDOW <span style=\"color: #000000;\">)</span><br /> </div>[/code:33hhgjr2]\nSi el diálogo está definido en tu fichero RC de recursos, cámbiale el estilo para sólo use:\nWS_VISIBLE, WS_OVERLAPPEDWINDOW",
"time": "20:37",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "Antonio Linares"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-06",
"forum": "FiveWin para Pocket PC",
"text": "2) Todos los controles admiten estos codeblocks:\n\noControl:bGotFocus y oControl:bLostFocus\n\nasi, puedes hacer:\n\noGet:bLostFocus = { || ... tu código }\noGet:bGotFocus = { || ... tu código }",
"time": "20:39",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "Antonio Linares"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-06",
"forum": "FiveWin para Pocket PC",
"text": "Pedro,\n\n3) Puedes usar la función SHFullScreen( hWnd, nMode )\n[url:20v7yzoe]http://msdn.microsoft.com/en-us/library/aa453694.aspx[/url:20v7yzoe]\n\n#define SHFS_HIDESIPBUTTON 8\n\nSHFullScreen( oWnd:hWnd, SHFS_HIDESIPBUTTON )",
"time": "20:46",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "Antonio Linares"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-07",
"forum": "FiveWin para Pocket PC",
"text": "Antonio. \nMuito Obrigado pelo excelente apoio que me esta a ser muito importante.\n\nVou ja experimentar as tuas dicas.\n\nCordiais cumprimentos.",
"time": "20:31",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "PeterBaga"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-07",
"forum": "FiveWin para Pocket PC",
"text": "Antonio, Desculpa insistir mas é que tentei usar en mi codigo:\n[code=fw:1muhoutv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">40</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Dialog\"</span> <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_VISIBLE, WS_OVERLAPPEDWINDOW <span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:1muhoutv]\n\nCompila bien. mas en elprograma da un erro :\n\nWS_VISIBLE - vARIABLE DOES NOT EXIST.\n\nFalta-me algum define ou include?\n\nGracias",
"time": "21:20",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "PeterBaga"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-07",
"forum": "FiveWin para Pocket PC",
"text": "Hola Peter\n\nagrega al principio del prg\n\n#define WS_VISIBLE 0x10000000",
"time": "21:41",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "Daniel Garcia-Gil"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-08",
"forum": "FiveWin para Pocket PC",
"text": "Daniel.\n\nMuchas Gracias por feed back.\n\nCumprimentos.",
"time": "00:51",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "PeterBaga"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-08",
"forum": "FiveWin para Pocket PC",
"text": "Daniel. desculpa e para :\n\nWS_OVERLAPPEDWINDOW \n\nqual o valor de define?\n\nonde puedo consultar estas variaveis?\n\nGracias.",
"time": "00:55",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "PeterBaga"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2010-02-08",
"forum": "FiveWin para Pocket PC",
"text": "Peter..\n\n\nbusca en \\include\\winapi.ch alli estan todos los valores...\n\nprueba con agregar esa cabecera en el prg\n#include \"winapi.ch\"\nsino te funciona agrega los valores de cada define",
"time": "01:04",
"topic": "Como desabilitar BarTitle de uma Dialog=",
"username": "Daniel Garcia-Gil"
}
] | Como desabilitar BarTitle de uma Dialog= |
[
{
"date": "2008-04-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "En alguna parte del foro ya se contesto esto, pero no lo ubico; quisiera saber como puedo hacer para desabilitar que en un dialogo al presionar ENTER en cualquier control asuma que se presiono el boton \"Aceptar\" o \"OK\". Esto porque requiero que en un Listbox que esta en el dialogo al presionar ENTER se ejecute una función, pero siempre se ejecuta el Button por omisión.\n\nSaludos\n\nFernando Espinoza",
"time": "16:41",
"topic": "Como desabilitar el Return por omisión en un dialogo",
"username": "fespinoza"
}
] | Como desabilitar el Return por omisión en un dialogo |
[
{
"date": "2008-04-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Fernando:\n\nEso lo debes solucionar en los recursos, en el botón que se activa cuando oprimes ENTER cambia la propiedad DEFAULT PUSHBUTTON por PUSHBUTTON.\n\nSaludos",
"time": "18:26",
"topic": "Como desabilitar el Return por omisión en un dialogo",
"username": "Armando"
}
] | Como desabilitar el Return por omisión en un dialogo |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.