messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2012-11-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\n\nQuisiera mandar un archivo por correo desde mi aplicación no se si se pueda los ejemplos no funcionan <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \n\nalguien tendrá algo que funcione y quisiera compartir <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: --> \n\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "05:27", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "AIDA" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2012-11-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Aida:\n\nYo los envio de la siguiente manera:\n[code=fw:27v4qi08]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">loCfg := CREATEOBJECT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CDO.Configuration\"</span> <span style=\"color: #000000;\">&#41;</span><br />  WITH OBJECT loCfg:<span style=\"color: #000000;\">Fields</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpserver\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := xmailserv<br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpserverport\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := xmailpuer<br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/sendusing\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := <span style=\"color: #000000;\">2</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := .T.<br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpusessl\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := .T.<br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/sendusername\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := xemail<br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/sendpassword\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := xmailcont<br />  :<span style=\"color: #0000ff;\">Update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />  END WITH<br />  loMsg := CREATEOBJECT <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CDO.Message\"</span> <span style=\"color: #000000;\">&#41;</span><br />  WITH OBJECT loMsg<br />  :<span style=\"color: #000000;\">Configuration</span> = loCfg<br />  :<span style=\"color: #0000ff;\">From</span>          = alltrim<span style=\"color: #000000;\">&#40;</span>envimail->dSend<span style=\"color: #000000;\">&#41;</span><br />  :<span style=\"color: #0000ff;\">To</span>            = alltrim<span style=\"color: #000000;\">&#40;</span>envimail->dTocl<span style=\"color: #000000;\">&#41;</span><br />  :<span style=\"color: #0000ff;\">Subject</span>       = alltrim<span style=\"color: #000000;\">&#40;</span>envimail->cSubject<span style=\"color: #000000;\">&#41;</span><br />  :<span style=\"color: #000000;\">TextBody</span>      = alltrim<span style=\"color: #000000;\">&#40;</span>envimail->cText<span style=\"color: #000000;\">&#41;</span><br />  :<span style=\"color: #000000;\">AddAttachment</span> = alltrim<span style=\"color: #000000;\">&#40;</span>envimail->cFile<span style=\"color: #000000;\">&#41;</span><br />  :<span style=\"color: #000000;\">Send</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />  END WITH</div>[/code:27v4qi08]\n\nLos campos del acceso: \nxmailserv : Servidor smpt.\nxmailpuer: Puerto del servidor. (lo mas habitual 25)\nxemail: correo el que se envia el email.\nxmailcont: Contraseña de acceso.\n\nCreo una base de datos con los campos:\ndSend: email de envio.\ndTocl: Email a quien envias\ncSubject: Asunto del email\ncText: texto del Email.\ncFile: Archivo ajunto.\n\nEspero que te sirva.\n\nUn saludo\n\nCarlos", "time": "10:16", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "colthop" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2012-11-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias veré como funciona <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "04:46", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "AIDA" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2012-11-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Funcionaaaaaa!!! <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n[img:32v553vn]http&#58;//i950&#46;photobucket&#46;com/albums/ad343/elrinconcito/gifs/Dibujos-Animados/Daisy/GIF005&#46;gif[/img:32v553vn]\n\nMuchas gracias!!! <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: --> \n\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "05:15", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "AIDA" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2012-11-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Este és muy bueno:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=1063\">http://www.fivewin.com.br/exibedicas.asp?id=1063</a><!-- m -->\n\nSalud2", "time": "15:35", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "karinha" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2012-11-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias esta genial <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \nyo estaba haciendo algo parecido me ayudara mucho como ejemplo <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: --> \n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "20:10", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "AIDA" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-04-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Holas Aida, Holas Kariha,\n\nintento bajar este ejemplo: <!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=1063\">http://www.fivewin.com.br/exibedicas.asp?id=1063</a><!-- m -->\n\npero el link esta roto, alguien tiene este ejemplo para envios de email?\n\nsaludos, gracias.", "time": "01:19", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "sysctrl2" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-04-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Mas, para la lectura\n\n[url:uvern0e1]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=14663&start=30&hilit=cdosys[/url:uvern0e1]\n\n[url:uvern0e1]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=14663&start=30&hilit=cdosys[/url:uvern0e1]", "time": "13:02", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "MarioG" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-04-05", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"sysctrl2\":2nt52llr]Holas Aida, Holas Kariha,\n\nintento bajar este ejemplo: <!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=1063\">http://www.fivewin.com.br/exibedicas.asp?id=1063</a><!-- m -->\n\npero el link esta roto, alguien tiene este ejemplo para envios de email?\n\nsaludos, gracias.[/quote:2nt52llr]\n\nHolá friend, cual és tú email para envio de los ejemplos?\n\nsalu2", "time": "14:57", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "karinha" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-04-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Karinha;\nSi tu intención es hacerlo público lo podes subir a [url:16165leo]https&#58;//www&#46;box&#46;com/[/url:16165leo] \n\ngracias, Saludos", "time": "15:39", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "MarioG" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-04-05", "forum": "FiveWin para Harbour/xHarbour", "text": "KarinHa, gracias por tu apoyo,\n\nserias ta amable de enviarme el ejemplo:\n\n<!-- e --><a href=\"mailto:SysCtrlSoftware@gmail.com\">SysCtrlSoftware@gmail.com</a><!-- e -->\n<!-- e --><a href=\"mailto:SysCtrl@prodigy.net.mx\">SysCtrl@prodigy.net.mx</a><!-- e -->\n\nMarioG, el ejemplo era publico pero algo paso en la pagina de fw brasil que el link esta roto,\n\nla verdad el ejemplo esta muy bueno quizas por eso lo bajaron jeje\n\nsaludos.", "time": "18:51", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "sysctrl2" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nPerdón estaba un poco desconectada aquí esta el RMAIL.PRG\n\n<!-- m --><a class=\"postlink\" href=\"http://www.4shared.com/file/7lfwfPBD/RMAIL.html\">http://www.4shared.com/file/7lfwfPBD/RMAIL.html</a><!-- m -->\n\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "01:52", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "AIDA" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Aida, Gracias, \nmas vale tarde que nunca jeje.\n\nsaludos.\n\nCesar.", "time": "03:15", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "sysctrl2" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-07", "forum": "FiveWin para Harbour/xHarbour", "text": "No me funciona, no puedo abrir el puerto para enviar...", "time": "17:49", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "Leo" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Aida;\ngracias por tu aporte\n\nTe sugiero este sitio para subir/almacenar archivos: [urlvhttps://www.box.com/home/][/url]\nEs mucho menos complicado que 4Sahred <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n\nSaludos", "time": "00:37", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "MarioG" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Con el permiso de su creador: aqui esta rMail.prg\ny como dice Antonio, de esta forma el codigo siempre estara\ndisponible.\nsaludos..\n[code=fw:haxapu1p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">***************************************************************<br />* Enviando emails &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* Desenvolvedor: <span style=\"color: #000000;\">Ricardo</span> de Moura Marques &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* email: <span style=\"color: #000000;\">ricardomouramarques</span>@hotmail.com &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* Agradecimentos ao Alessandro Seribeli Barreto - <span style=\"color: #ff0000;\">\"Ale SB\"</span> &nbsp; &nbsp;*<br />* pelo código inicial, sem o qual, esse projeto &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* não seria possível &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />***************************************************************<br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'inkey.ch'</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fileio.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"common.ch\"</span><br /><span style=\"color: #00D7D7;\">#define</span> &nbsp;linebuff &nbsp;<span style=\"color: #000000;\">1024</span><br /><span style=\"color: #00C800;\">static</span> &nbsp; lEof:=.F.<br />&nbsp;<br /><span style=\"color: #00C800;\">Static</span> cAttach := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">Static</span> aAttach := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext := <span style=\"color: #ff0000;\">''</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext := <span style=\"color: #ff0000;\">'<html xmlns=\"http://www.w3.org/1999/xhtml\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<head>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<title>Untitled Document</title>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<style type=\"text/css\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<!--'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'.style1 {'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;font-family: Arial, Helvetica, sans-serif;'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;font-size: 13px;'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'}'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'.style2 {font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; }'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'.style3 {color: #FFFFFF}'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'.style4 {font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #FFFFFF; }'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'-->'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</style>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</head>'</span>+CRLF<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<body>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"left\"><strong>Data de emiss&atilde;o: 23-08-2012 Hor&aacute;rio: 12:25:36 </strong></div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"center\"><strong>Tabela de pre&ccedil;os </strong></div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\" border=\"1\" cellpadding=\"0\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td width=\"18%\"><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"left\">C&oacute;digo</div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td width=\"58%\"><div align=\"left\" class=\"style1\">Descri&ccedil;&atilde;o do Produto </div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td width=\"24%\"><div align=\"left\" class=\"style1\">Pre&ccedil;o</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// aqui entra os dados dos produtos...................................</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\" border=\"1\" bgcolor=\"#6C88A1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td width=\"18%\"><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"left\" class=\"style3\">12345</div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td width=\"58%\"><div align=\"left\" class=\"style4\">Teste do produto </div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td width=\"24%\"><div align=\"left\" class=\"style4\">125,35</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\" border=\"0\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td width=\"18%\"><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"left\"></div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// aqui entra os dados da empresa.....................................</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td><div align=\"left\" class=\"style2\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"center\">Nome da Empresa </div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"center\"><strong>Endere&ccedil;o:</strong> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, 1254 </div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"center\"><strong>Bairro:</strong> Santo Inacio<strong> Cidade:</strong> Uberl&acirc;ndia/Minas Gerais <strong>Cep:</strong> 38.450-153 </div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'<table width=\"550\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;<tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;<td><div align=\"left\" class=\"style1\">'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp; &nbsp;<div align=\"center\"><strong>Telefone:</strong> (34) 3234-4986 <strong>E-mail:</strong> <!-- e --><a href=\"mailto:systemup@bol.com.br\">systemup@bol.com.br</a><!-- e --> </div>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp; &nbsp;</div></td>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">' &nbsp;</tr>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</table>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</body>'</span>+CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctext += <span style=\"color: #ff0000;\">'</html>'</span>+CRLF<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;envia_email<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Teste\"</span>,<span style=\"color: #ff0000;\">\"\"</span>,ctext<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />********************************************************************************<br /><span style=\"color: #00C800;\">Function</span> envia_email<span style=\"color: #000000;\">&#40;</span>oassunto,odestino,otexto<span style=\"color: #000000;\">&#41;</span><br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cUser := Space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">50</span><span style=\"color: #000000;\">&#41;</span>, cPass := Space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">15</span><span style=\"color: #000000;\">&#41;</span>, cRemt := Space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">50</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cDest := Space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">250</span><span style=\"color: #000000;\">&#41;</span>, cTime, cAssunto := Space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">100</span><span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cCC := Space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">250</span><span style=\"color: #000000;\">&#41;</span>, cCCO := Space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">250</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, oSay<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#93;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>, nItem := <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cDados, i<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">private</span> oGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">private</span> cTxt := space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> IsInternet<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> == .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;msgstop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Necessário conexão com internet.\"</span>+CRLF+<span style=\"color: #ff0000;\">\"Operação cancelada\"</span>,<span style=\"color: #ff0000;\">\"Informação\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// para fechar os arquivos dbf's em aberto............................</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;close all<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> !empty<span style=\"color: #000000;\">&#40;</span>oassunto<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cAssunto = oassunto<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> !empty<span style=\"color: #000000;\">&#40;</span>odestino<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDest = odestino<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> !empty<span style=\"color: #000000;\">&#40;</span>otexto<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cTxt = otexto<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Private</span> oCab, oGru, oCon, oCod, oMenu, lSair := .f., oM2, lCheck := .t.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Private</span> aServs := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@hotmail.com\"</span>, &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"smtp.live.com\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">25</span>, .t. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@yahoo.com.br\"</span>, &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"smtp.mail.yahoo.com.br\"</span>, &nbsp; <span style=\"color: #000000;\">25</span>, .f. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@gmail.com\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"smtp.gmail.com\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">465</span>, .t. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@uol.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"smtp.uol.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">25</span>, .f. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@bol.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"smtp.bol.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">25</span>, .f. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@terra.com.br\"</span>, &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"smtp.terra.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">25</span>, .f. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@ig.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"smtp.ig.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">465</span>, .t. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@ibest.com.br\"</span>, &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"smtp.ibest.com.br\"</span>, &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">465</span>, .t. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@itelefonica.com.br\"</span>,<span style=\"color: #ff0000;\">\"smtp.itelefonica.com.br\"</span>, &nbsp;<span style=\"color: #000000;\">25</span>, .f. <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"@pop.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"smpt.pop.com.br\"</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">25</span>, .f. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Private</span> aDomin := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, nServ := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">&#40;</span> aServs <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aDomin, aServs<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> file<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"dadosmail.dat\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDados := StrTran<span style=\"color: #000000;\">&#40;</span>MemoRead<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"dadosmail.dat\"</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"@hotmail.com\"</span>, <span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cUser := Memoline<span style=\"color: #000000;\">&#40;</span> cDados, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cRemt := Memoline<span style=\"color: #000000;\">&#40;</span> cDados, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> MlCount<span style=\"color: #000000;\">&#40;</span> cDados, <span style=\"color: #000000;\">250</span> <span style=\"color: #000000;\">&#41;</span> >= <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nServ := Val<span style=\"color: #000000;\">&#40;</span>Alltrim<span style=\"color: #000000;\">&#40;</span>Memoline<span style=\"color: #000000;\">&#40;</span>cDados, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> MlCount<span style=\"color: #000000;\">&#40;</span> cDados, <span style=\"color: #000000;\">250</span> <span style=\"color: #000000;\">&#41;</span> >= <span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> Alltrim<span style=\"color: #000000;\">&#40;</span>Alltrim<span style=\"color: #000000;\">&#40;</span>Memoline<span style=\"color: #000000;\">&#40;</span>cDados, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> = <span style=\"color: #ff0000;\">\"0\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lCheck := .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lCheck := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cPass := Memoline<span style=\"color: #000000;\">&#40;</span> cDados, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> nServ = <span style=\"color: #000000;\">0</span> .or. nServ > len<span style=\"color: #000000;\">&#40;</span>aServs<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nServ := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set Delete <span style=\"color: #0000ff;\">ON</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ArqsDBF<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ArqBmp<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFONT1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Ms Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> &nbsp; <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-12</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Envio de eMail\"</span> <span style=\"color: #0000ff;\">From</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">630</span>, <span style=\"color: #000000;\">600</span> <span style=\"color: #0000ff;\">Pixel</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;*****--- <span style=\"color: #0000ff;\">SAY</span><span style=\"color: #ff0000;\">'s ---**************************************************************<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 002, 006 SAY oSay[1] PROMPT \"Usuário - Somente o Nome\" OF oDlg SIZE 100, 08 COLOR CLR_BLUE PIXEL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 022, 006 SAY oSay[3] PROMPT \"Senha\" OF oDlg SIZE 50, 08 COLOR CLR_BLUE PIXEL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 042, 006 SAY oSay[4] PROMPT \"Remetente - Somente o Nome\" OF oDlg SIZE 100, 08 COLOR CLR_BLUE PIXEL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 052, 088 SAY oSay[2] PROMPT aDomin[nServ] OF oDlg SIZE 50, 08 COLOR CLR_BLACK PIXEL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//@ 064, 006 SAY oSay[5] PROMPT \"Para:\" OF oDlg SIZE 35, 08 COLOR CLR_BLUE PIXEL &nbsp; //-> Substituidos<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//@ 074, 006 SAY oSay[10] PROMPT \"C/C:\" OF oDlg SIZE 35, 08 COLOR CLR_BLUE PIXEL &nbsp; //-> por<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//@ 084, 006 SAY oSay[11] PROMPT \"C/CO:\" OF oDlg SIZE 35, 08 COLOR CLR_BLUE PIXEL &nbsp;//-> botões<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 094, 006 SAY oSay[9] VAR \"Assunto\" OF oDlg SIZE 35, 08 COLOR CLR_BLUE PIXEL update<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 124,006 SAY oSay[7] VAR \"Mensagem ou HTML\" OF oDlg SIZE 80, 08 COLOR CLR_BLUE PIXEL update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 121,142 BUTTONBMP oSay[5] &nbsp;prompt \"Importar codigo HTML\" size 60,10 OF oDlg pixel action( importa_html() )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 121,204 BUTTONBMP oSay[12] prompt \"Exibir no Browser o HTML\" size 90,10 OF oDlg pixel action ( exibe_no_browser_o_html() )<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 210,006 SAY oSay[8] VAR \"Anexos\" OF oDlg SIZE 80, 08 COLOR CLR_BLUE PIXEL update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 270,006 SAY oSay[6] VAR cTime OF oDlg SIZE 50, 08 COLOR CLR_RED PIXEL update<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;*****OUTROS*************************************************************<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 010, 006 GET oGet[1] VAR cUser SIZE 80, 10 PIXEL OF oDlg PICTURE \"@\" Update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGet[1]:bValid := {|lRet| if(lRet := !Empty(cUser),(oGet[3]:VarPut(cUser), oGet[3]:Refresh()), ), .t. }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 010, 088 COMBOBOX oComb VAR nServ ITEMS aDomin OF oDlg SIZE 100, 80 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ON CHANGE (oSay[2]:SetText( aDomin[nServ] ) )<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 030, 006 GET oGet[2] VAR cPass SIZE 80, 10 PIXEL OF oDlg &nbsp;Update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGet[2]:lPassWord := .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 050, 006 GET oGet[3] VAR cRemt SIZE 80, 10 PIXEL OF oDlg PICTURE \"@\" Update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 062, 040 GET oGet[4] VAR cDest SIZE 254, 10 PIXEL OF oDlg PICTURE \"@\" Update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 072, 040 GET oGet[5] VAR cCC SIZE 254, 10 PIXEL OF oDlg PICTURE \"@\" Update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 082, 040 GET oGet[6] VAR cCCO SIZE 254, 10 PIXEL OF oDlg PICTURE \"@\" Update<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 092, 040 GET oGet[7] VAR cAssunto SIZE 254, 10 PIXEL OF oDlg PICTURE \"@\" Update<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 132,006 GET oGet[8] VAR cTxt OF oDlg SIZE 288, 70 COLOR CLR_BLUE, CLR_WHITE PIXEL update MEMO when .f.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 218,006 ListBox oList Var nItem ITEMS aAttach Size 268,50 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;*****--- BOTÕES ---*************************************************************<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 290, 010 BUTTONBMP oBtn[1] PROMPT \"Enviar\" OF oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 30,10 PIXEL ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ACTION ( cTime := \"Aguarde...\", oSay[6]:Refresh(), ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if( lRet := Config_Mail(Lower(alltrim(cUser)),Alltrim(cPass),Lower(Alltrim(cRemt)),;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Lower(Alltrim(cDest)),Lower(Alltrim(cCC)),Lower(Alltrim(cCCO)), cTxt, cAssunto ), ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgInfo(\"Mensagem Enviada com Sucesso!\",\"Atençao\"),), cTime := \"\", oSay[6]:Refresh() )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBtn[1]:bWhen := {|| !Empty(cUser) }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 290, 050 BUTTONBMP oBtn[2] PROMPT \"Sair\" OF oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 30,10 PIXEL ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ACTION ( lSair := .t., oDlg:End() )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBtn[2]:lCancel := .t.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 218, 274 Button \"ADD\" Size 20,08 Pixel Action ADDItem()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 228, 274 Button \"DEL\" Size 20,08 Pixel Action DELItem()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 062, 006 BtnBmp oBt1 File \"_loc.bmp\" Prompt \"Para\" size 32,10 Pixel Right Action Inclui( oGet[4], @cDest )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 072, 006 BtnBmp oBt2 File \"_loc.bmp\" Prompt \"CC\" &nbsp; size 32,10 Pixel Right Action Inclui( oGet[5], @cCC &nbsp; )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 082, 006 BtnBmp oBt3 File \"_loc.bmp\" Prompt \"CCO\" &nbsp;size 32,10 Pixel Right Action Inclui( oGet[6], @cCCO &nbsp;)<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ACTIVATE DIALOG oDlg CENTERED VALID ( Fim( cUser, cRemt, nServ, cPass) ) On Init Inicio( oDlg )<br />Return Nil<br /><br />***-----------------------( Importa o arquivo HTML ) ------------------------***<br />function importa_html()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gcFile := cGetFile( \"HTML (*.html)| *.html|\";<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;,\"Por favor localize o arquivo no formato HTML.\", 4 )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if !Empty( gcFile ) .and. File( gcFile )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aa = gcfile<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bb = \"\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cc = \"\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for xt = 1 to len(gcFile)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if substr(gcfile,xt,1) = \"<span style=\"color: #000000;\">\\\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bb = \"\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elseif substr(gcfile,xt,1) = \".\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cc = \"\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bb = bb + substr(gcfile,xt,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cc = cc + substr(gcfile,xt,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; next<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if upper(cc) != \"HTML\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if upper(cc) != \"HTM\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; msgstop(\"Somente arquivos HTML podem ser importados.\",\"ATENÇÃO\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return nil<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mnomearquivohtml = bb<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mLocaldoarquivohtml = gcfile<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if msgyesno(\"Deseja importar o arquivo: \" + mnomearquivohtml,\"ATENÇÃO\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if file(mLocaldoarquivohtml)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; csource = mLocaldoarquivohtml<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nsource:=fopen(\"&csource\",0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cInfo = \"\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( nsource ) # -1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lEof:=.F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nn = 1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;do while !lEof<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c := p_readln(nSource,linebuff)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if !lEof .and. c#chr(26)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if nn = 1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cInfo := c<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ++nn<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cInfo+=CRLF+c<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if alltrim(upper(c)) = \"</HTML>\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lEof = .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;enddo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGet[8]:ctext := cInfo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; msgstop(\"Erro na leitura do HTML... Tente novamente..\",\"Atencao\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />return nil<br />Function p_readln(nHandle,nBuffSize)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local cRet:=\"\", cBuff:=\"\", nPos:=0, nEol:=0, nRead:=0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nBuffSize = 1024<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cBuff:=space(nBuffSize)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nPos:=fseek(nHandle,0,FS_RELATIVE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ( nRead:=fread(nHandle,@cBuff,nBuffSize) ) > 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( nEol:=at(CRLF,substr(cBuff,1,nRead)) ) == 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cRet:=chr(26)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cRet:=substr(cBuff,1,nEol-1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fseek(nHandle,nPos+nEol+1,FS_SET)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lEof:=.T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />return(cRet)<br /><br />***--------------------( Verifica a conexÆo com a internet )-----------------***<br />function IsInternet()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local cip, cvret := .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;wsastartup()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cip := gethostbyname(\"www.microsoft.com\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;wsacleanup()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if cip = \"0.0.0.0\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />***-------------------------( Visualiza o HTML ) ----------------------------***<br />function exibe_no_browser_o_html()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;private odlhtml, oactivex, cevents:=\"\", oexplorer<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if empty(cTxt)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; msgstop(\"Importe o codigo HTML.\",\"ATENÇÃO\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return nil<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MemoWrit(\"imagem_visualiza.html\", cTxt )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;define brush obrushhtml COLOR rgb(245,235,223)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;define dialog odlhtml from 0,0 to 550,1020 pixel title \" ..:: | Visualizando o HTML:\" brush obrushhtml //transparent<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; odlhtml:lhelpicon:=.F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oactivex&#058;=tactivex():new( odlhtml, \"Shell.Explorer\",0,0,510,275 )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; odlhtml:oclient:=oactivex<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;activate dialog odlhtml centered;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; on init( oactivex&#058;Do( \"Navigate\", CurDrive()+ \":<span style=\"color: #000000;\">\\\"</span> + CurDir() + \"<span style=\"color: #000000;\">\\\"</span> + \"imagem_visualiza.html\" ) )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;release brush obrushhtml<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ferase(CurDrive() + \":<span style=\"color: #000000;\">\\\"</span> + CurDir() + \"<span style=\"color: #000000;\">\\\"</span> + \"imagem_visualiza.html\")<br />return nil<br /><br />//------------------------------------------------------------------------------<br />Function Inicio( oDlg )<br /><br />Menu oMenu <br />&nbsp; &nbsp; &nbsp;MenuItem \"&Sistema\"<br />&nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MenuItem \"&Gerenciar Contatos\" Action Contatos()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MenuItem oM2 Prompt \"&Salvar contatos automaticamente\" CHECK;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Action if( oM2:lChecked, oM2:SetCheck(.f.), oM2:SetCheck(.t.) )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Separator<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MenuItem \"Sai&r\" Action ( oDlg:End() )<br />&nbsp; &nbsp; &nbsp;ENDMENU<br />ENDMENU<br /><br />oM2:SetCheck( lCheck )<br />oDlg:SetMenu(oMenu)<br /><br />Return Nil<br /><br />//-----------------------------------------------------------------------------<br />Function Fim(cUser, cRemt, nServ, cPass)<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MemoWrit(\"dadosmail.dat\", cUSER+CRLF+cREMT+CRLF+Str(nServ)+CRLF+if(oM2:lChecked, \"1\", \"0\")+CRLF+cPass )<br />&nbsp;<br />Return .t.<br />********************************************************************************<br />Function Config_Mail(_cUser,cPass,_cRemt,cDest, cCC, cCCO, cTxt, cSubject)<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local lRet := .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local oCfg, oError<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local cServ := aServs[nServ][2] &nbsp;//--> SERVIDOR SMTP - \"smtp.servidor.com.br\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local nPort := aServs[nServ][3]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local lAut &nbsp;:= .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local lSSL &nbsp;:= aServs[nServ][4]<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if Empty(cPass) .or. Empty(_cRemt) .or.;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;( Empty(cDest) .and. Empty( cCC ) .and. Empty(cCCO) )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ? \"Preencha todos Campos\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cUser := alltrim(_cUser) + aDomin[nServ]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cRemt := alltrim(_cRemt) + aDomin[nServ]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRY<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCfg := CREATEOBJECT( \"CDO.Configuration\" )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WITH OBJECT oCfg:Fields<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Item( \"http://schemas.microsoft.com/cdo/configuration/smtpserver\" &nbsp; &nbsp; &nbsp; ):Value := cServ<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Item( \"http://schemas.microsoft.com/cdo/configuration/smtpserverport\" &nbsp; ):Value := nPort<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Item( \"http://schemas.microsoft.com/cdo/configuration/sendusing\" &nbsp; &nbsp; &nbsp; &nbsp;):Value := 2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Item( \"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate\" ):Value := lAut<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Item( \"http://schemas.microsoft.com/cdo/configuration/smtpusessl\" &nbsp; &nbsp; &nbsp; ):Value := lSSL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Item( \"http://schemas.microsoft.com/cdo/configuration/sendusername\" &nbsp; &nbsp; ):Value := cUser<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Item( \"http://schemas.microsoft.com/cdo/configuration/sendpassword\" &nbsp; &nbsp; ):Value := cPass<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:Update()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END WITH<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lRet := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CATCH oError<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MsgInfo( \"Não Foi possível Enviar o e-Mail!\" &nbsp;+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"Error: \" &nbsp; &nbsp; + Transform(oError:GenCode, &nbsp; nil) + \";\" +CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"SubC: \" &nbsp; &nbsp; &nbsp;+ Transform(oError:SubCode, &nbsp; nil) + \";\" +CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"OSCode: \" &nbsp; &nbsp;+ Transform(oError:OsCode, &nbsp; &nbsp;nil) + \";\" +CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"SubSystem: \" + Transform(oError:SubSystem, nil) + \";\" +CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"Mensaje: \" &nbsp; + oError:Description, \"Atenção\" )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//--> FIM DAS CONFIGURAÇOES.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if lRet<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lRet := Envia_Mail(oCfg,cRemt,cDest, cCC, cCCO, cTxt, cSubject)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp;<br />Return lRet<br />&nbsp;<br />********************************************************************************<br />Function Envia_Mail(oCfg,cFrom, cTo, cCC, cBCC, cMsg, cSubject)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local cToken<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local lRet := .f.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cTo &nbsp; := Destinatarios( cTo ) //--> PARA<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cCC &nbsp; := Destinatarios( cCC ) //--> COM COPIA<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cBCC &nbsp;:= Destinatarios( cBCC ) //--> COM COPIA OCULTA<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TRY<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oMsg := CREATEOBJECT ( \"CDO.Message\" )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WITH OBJECT oMsg<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:Configuration = oCfg<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:From = cFrom<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:To = cTo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:CC = cCC<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:BCC = cBCC<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:Subject = cSubject<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//:TextBody = cMsg<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:HTMLBody = cMsg<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;For x := 1 To Len( aAttach )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if aAttach[x] <> NIL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :AddAttachment(AllTrim(aAttach[x]))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Next<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:Send()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END WITH<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lRet := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CATCH<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgInfo(\"Não Foi Possível enviar a mensagem\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lRet := .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END<br />Return lRet<br />&nbsp;<br />//----------------------------------------------------------------<br />Function ADDItem()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local cArq := cGetFile32(\"*.*\", \"ADD Anexo\", , ,.f.)<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if file(cArq)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:ADD(Alltrim(cArq))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:Show()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />Return NIL&nbsp; <br />&nbsp;<br />//----------------------------------------------------------------<br />Function DELItem()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local nIT := oList:GetSel()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:DEL( nIT )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oList:Show()<br /><br />Return NIL&nbsp; <br />&nbsp;<br />//------------------------------------------------------------<br />Function Destinatarios( cVar )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local i, x,cGrupo, nCod<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local aCars := {\",\", \"/\", \"<span style=\"color: #000000;\">\\\"</span>, \";\"}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local cLista := \"\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local lSalva := .t., lAll := .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Private aTp := {}<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i := 1 to len( aCars )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cVar := StrTran( cVar, aCars[i], CRLF )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;next<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i := 1 to MLCount(cVar, 250)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AADD(aTp, Alltrim(MemoLine(cVar, 250, i)))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;next<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i := 1 to len(aTp)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cTemp := &nbsp;aTp[i]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if left(cTemp, 2) = \"<<\" .and. right(cTemp, 2) = \">>\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cGrupo := StrTran(cTemp, \"<<\", \"\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cGrupo := StrTran(cGrupo, \">>\", \"\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cGrupo := cGrupo+Space(20-Len(cGrupo))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if !oCab:Seek(cGrupo)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Msginfo('</span>Grupo <span style=\"color: #ff0000;\">\"'+Alltrim(cGrupo)+'\"</span> não encontrado<span style=\"color: #ff0000;\">')<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGru:Gotop()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do While !oGru:Eof()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cLista += \";\"+NomeCont(oGru:CodC)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:Skip()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; enddo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cLista += \";\"+cTemp<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if lCheck<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if !oCon:Seek(cTemp+Space(100-Len(cTemp)))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Blank()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Contato := cTemp<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nCod := oCod:CodC+1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:CodC := nCod<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Save()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:CodC := nCod<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Append()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Save()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;next<br /><br /><br />Return cLista<br /><br />//----------------------------------------------------------<br />Function ArqsDBF()<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local aEstG, aEstR, aEstC, aEstCods<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aEstCods := { &nbsp; { \"CODG\", \"N\", 10, 0 },;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ \"CODC\", \"N\", 10, 0 } }<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aEstG := { &nbsp;{ \"CODG\", &nbsp; \"N\", 10, 0 },;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ \"GRUPO\", &nbsp;\"C\", 20, 0 } }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aEstR := { &nbsp;{ \"CODG\", &nbsp; \"N\", 10, 0 },;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ \"CODC\", &nbsp; \"N\", 10, 0 } }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aEstC := { &nbsp;{ \"CODC\", &nbsp; &nbsp; \"N\", 10, 0 },;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ \"CONTATO\", &nbsp;\"C\", 100, 0 } }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If !File( \"Codigos.dbf\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DBCreate( \"Codigos.dbf\", aEstCods )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If !File( \"CabGrupo.dbf\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DBCreate( \"CabGrupo.dbf\", aEstG )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If !File( \"Grupos.dbf\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DBCreate( \"Grupos.dbf\", aEstR )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If !File( \"Contatos.dbf\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DBCreate( \"Contatos.dbf\", aEstC )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Use Codigos New<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DATABASE oCod<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Use CabGrupo New<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Index on CabGrupo->Grupo to GCabGru<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DATABASE oCab<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Use Grupos New<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set Filter to Grupos->CodG = CabGrupo->CodG<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DATABASE oGru<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Use Contatos New<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Index on Contatos->CodC to CodCont<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Index on Contatos->Contato to cCont<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set index to cCont, CodCont<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DATABASE oCon<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if oCod:RecCount() = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Append()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Save()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCab:bBoF := NIL ; oCab:bEoF := NIL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGru:bBoF := NIL ; oGru:bEoF := NIL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCon:bBoF := NIL ; oCon:bEoF := NIL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCod:bBoF := NIL ; oCod:bEoF := NIL<br />&nbsp; &nbsp; <br />Return NIL&nbsp; <br /><br />//-----------------------------------------------------------------<br />Static Function ArqBmp()<br />&nbsp; &nbsp; &nbsp; &nbsp;Local cHexa<br />&nbsp; &nbsp; &nbsp; &nbsp;if file(\"_loc.bmp\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return NIL<br />&nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa := \"424df6000000000000003600000028000000080000000800000001001800\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"00000000c0000000c30e0000c30e00000000000000000000ffffffffffff\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"fffffffffffffffffff6f7fae9edf4ffffffffffffffffffffffffffffff\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"f4f6fa9bb9d7749fc8d7e1edffffffebf2f7b7cfe4b1c9e18ab2d386bfdb\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"71a4cacdd6e5ebf3f8a3c6ddc1d3e2dbe3e9abc9dd6fa6cec1d3e7ffffff\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"c6deecbad4e2fff9effff7edfcf7f09ab8d5e5edf5ffffffc4ddedc7dce6\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"fff6ebfbf2e9fff7efaec8dde4edf5ffffffdeedf5a9cee2e7ebeaf5f1eb\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"d8e2e89ec0dbf1f6faffffffffffffd6e8f2acd0e4b5d4e6aacde2e2edf5\"<br />&nbsp; &nbsp; &nbsp; &nbsp;cHexa += \"ffffffffffff\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;MemoWrit( \"_loc.bmp\", _Binario(cHexa) )<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;//-------------------------------------------------------------------------------<br />&nbsp; &nbsp; &nbsp; &nbsp;Function _Binario( cHexa )<br />&nbsp; &nbsp; &nbsp; &nbsp;local i, nInd1, nInd2, nByte, cBin := \"\"<br />&nbsp; &nbsp; &nbsp; &nbsp;local aBase := {\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"a\",\"b\",\"c\",\"d\",\"e\",\"f\"}<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;for i := 1 to len( cHexa ) STEP 2<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nInd1 := aScan(aBase, SubStr( cHexa, i, 1 ))-1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nInd2 := aScan(aBase, SubStr( cHexa, i+1, 1 ))-1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nByte := nInd1*16+nInd2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cBin += Chr(nByte)<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;next<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;Return cBin<br /><br />Return cHexa<br /><br />//-----------------------------------------------------------------------<br />Function Contatos()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Private oBrw1, oBut1, oBut2, oBut3, oBrw2,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBut4, oBut5, oBrw3, oBut6, oBut7,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBut8, lInicio := .f.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Select Contatos<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set index to cCont, CodCont<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Define DIALOG oDlgCont TITLE \"Gerenciar Contatos\" ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FROM 0, 0 to 484, 791 PIXEL COLOR 0, 15790320<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ACTIVATE DIALOG oDlgCont ON INIT Ini_oDlgCont() CENTER<br /><br />Return NIL<br /><br />//----------------------------------------------------------------------------<br />Function Ini_oDlgCont()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ &nbsp;11, &nbsp;14 LISTBOX oBrw1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FIELDS CONTATOS->CONTATO;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADERS \"CONTATOS\";<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 406, 409 PIXEL OF oDlgCont FONT oFont1 ALIAS \"CONTATOS\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:nClrText := {|| iif( OrdKeyNo()%2=0, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 ) }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:nClrPane := {|| iif( OrdKeyNo()%2=0, &nbsp; 15790320, &nbsp; 16777215 ) }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:nClrForeHead &nbsp;:= &nbsp; 16777215<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:nClrBackHead &nbsp;:= &nbsp; &nbsp;8421504<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:nClrForeFocus := &nbsp; 16777215<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:nClrBackFocus := &nbsp; &nbsp;8388608<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 444, &nbsp;14 BUTTON oBut1 Prompt \"&Novo\" SIZE &nbsp;70, &nbsp;24 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION CadContato(.t.) FONT oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 444, &nbsp;93 BUTTON oBut2 Prompt \"&Alterar\" SIZE &nbsp;70, &nbsp;24 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION CadContato(.f.) FONT oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 444, 172 BUTTON oBut3 Prompt \"&Excluir\" SIZE &nbsp;70, &nbsp;24 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION DeleteCon() FONT oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ &nbsp;11, 444 LISTBOX oBrw2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FIELDS CABGRUPO->GRUPO;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADERS \"GRUPOS\";<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 300, 171 PIXEL OF oDlgCont FONT oFont1 ALIAS \"CABGRUPO\";<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ON Change if( lInicio, (oBrw3:Hide(), oBrw3:GoTop(), oBrw3:Refresh(), oBrw3:Show()), NIL)<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:nClrText := {|| iif( OrdKeyNo()%2=0, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 ) }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:nClrPane := {|| iif( OrdKeyNo()%2=0, &nbsp; 15790320, &nbsp; 16777215 ) }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:nClrForeHead &nbsp;:= &nbsp; 16777215<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:nClrBackHead &nbsp;:= &nbsp; &nbsp;8421504<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:nClrForeFocus := &nbsp; 16777215<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:nClrBackFocus := &nbsp; &nbsp;8388608<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ &nbsp;26, 750 BUTTON oBut4 Prompt \"New\" SIZE &nbsp;30, &nbsp;26 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION CadastraGru( .t. ) FONT oFont1<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ &nbsp;52, 750 BUTTON oBut5 Prompt \"Alt\" SIZE &nbsp;30, &nbsp;26 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION CadastraGru( .f. ) FONT oFont1<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ &nbsp;78, 750 BUTTON oBut5a Prompt \"Del\" SIZE &nbsp;30, &nbsp;26 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION DeletaGru() FONT oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 186, 444 LISTBOX oBrw3;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FIELDS NomeCont(GRUPOS->CODC);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADERS \"INTEGRANTES DO GRUPO\";<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 300, 234 PIXEL OF oDlgCont FONT oFont1 ALIAS \"GRUPOS\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:nClrText := {|| iif( OrdKeyNo()%2=0, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 ) }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:nClrPane := {|| iif( OrdKeyNo()%2=0, &nbsp; 15790320, &nbsp; 16777215 ) }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:nClrForeHead &nbsp;:= &nbsp; 16777215<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:nClrBackHead &nbsp;:= &nbsp; &nbsp;8421504<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:nClrForeFocus := &nbsp; 16777215<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:nClrBackFocus := &nbsp; &nbsp;8388608<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 268, 422 BUTTON oBut6 Prompt \">\" SIZE &nbsp;21, &nbsp;21 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION ADDCont() FONT oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 290, 422 BUTTON oBut7 Prompt \"<\" SIZE &nbsp;21, &nbsp;21 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION RemoveCont() FONT oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 444, 675 BUTTON oBut8 Prompt \"Sai&r\" SIZE &nbsp;70, &nbsp;24 PIXEL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF oDlgCont ACTION oDlgCont:End() FONT oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lInicio := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBrw3:Hide(); oBrw3:GoTop(); oBrw3:Refresh(); oBrw3:Show()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />Return NIL<br /><br />//----------------------------------------------------------------<br />Function CadContato( lNovo )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if lNovo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Blank()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Define dialog oDlgCadCon Title if(lNovo, \"Novo Contato\", '</span>Alterando <span style=\"color: #ff0000;\">\"'+oCon:Contato+'\"</span><span style=\"color: #ff0000;\">');<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;From 0,0 to 200,300 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 20,20 Say \"Contato\" Size 40,10 Pixel<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 32,20 Get oGetCon Var oCon:Contato Size 110,10 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 70, 25 Button \"&Salvar\" Size 40,10 Pixel Action SalvaCon( lNovo )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 70, 85 Button \"&Desistir\" Size 40,10 Pixel Action oDlgCadCon:End()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Activate dialog oDlgCadCon Center<br /><br />Return NIL<br /><br />//----------------------------------------------------------------<br />Function SalvaCon( lNovo )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local nCod<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if lNovo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nCod := oCod:CodC+1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:CodC := nCod<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Save()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:CodC := nCod<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Append()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Contato := Lower( oCon:Contato)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Save()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:Show()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oDlgCadCon:End()<br /><br />Return NIL<br /><br />//----------------------------------------------------------------<br />Function DeleteCon()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if MsgNoYes( '</span>Excluir o contato <span style=\"color: #ff0000;\">\"'+Alltrim(oCon:Contato)+'\"</span>?<span style=\"color: #ff0000;\">', \"Atenção\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Delete()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw1:Show()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />Return NIL<br /><br />//------------------------------------------------------------<br />Function CadastraGru( lNovo )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if lNovo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Blank()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Define dialog oDlgCadGru Title if(lNovo, \"Novo Grupo\", '</span>Alterando <span style=\"color: #ff0000;\">\"'+oCab:Grupo+'\"</span><span style=\"color: #ff0000;\">');<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;From 0,0 to 200,300 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 20,20 Say \"GRUPO\" Size 40,10 Pixel<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 32,20 Get oGetGru Var oCab:Grupo Size 110,10 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 70, 25 Button \"&Salvar\" Size 40,10 Pixel Action SalvaGru( lNovo )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 70, 85 Button \"&Desistir\" Size 40,10 Pixel Action oDlgCadGru:End()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Activate dialog oDlgCadGru Center<br /><br />Return NIL<br /><br />//-------------------------------------------------------<br />Function SalvaGru( lNovo )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local nCod<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if lNovo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nCod := oCod:CodG+1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:CodG := nCod<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCod:Save()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:CodG := nCod<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Append()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Grupo := Lower(oCab:Grupo)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Save()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:Show()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oDlgCadGru:End()<br /><br />Return NIL<br />//----------------------------------------------------------------<br />Function DeletaGru()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if MsgNoYes( '</span>Excluir o grupo <span style=\"color: #ff0000;\">\"'+Alltrim(oCab:Grupo)+'\"</span>?<span style=\"color: #ff0000;\">', \"Atenção\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Delete()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:Show()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />Return NIL<br /><br />//------------------------------------------------------------<br />Function ADDCont()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if oCab:CodG = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MsgInfo(\"Selecione um GRUPO\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return NIL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if oCon:CodC = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MsgInfo(\"Selecione um contato\")<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return NIL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:Blank()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:CodC := oCon:CodC<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:CodG := oCab:CodG<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:Append()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:Save()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:Show()<br /><br />Return NIL<br /><br />//-------------------------------------------------------------<br />Function RemoveCont()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:Load()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if MsgNoYes( '</span>Remover o contato selecionado?<span style=\"color: #ff0000;\">')<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGru:Delete()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:Hide()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:Gotop()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:Refresh()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw3:Show()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />Return Nil<br /><br />//-----------------------------------------------------------------<br />Function NomeCont(nCod)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local nRec := oCon:RecNo()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local cNome := \"\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Select Contatos<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set index to CodCont, cCont<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if oCon:Seek( nCod )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cNome := oCon:Contato<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Select Contatos<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set index to cCont, CodCont<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:GoTo(nRec)<br /><br />Return cNome<br /><br />//---------------------------------------------------------------<br />Function Inclui( oGet, cVar )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRad := 1<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Define Dialog oDlgInc Title \"Incluir contato\" From 0,0 to 200, 300 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 20,20 Radio oRad Var nRad Prompt \"Inluir Contato\", \"Incluir Grupo\" Size 80,10 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 70, 25 Button \"&Ok\" Size 40,10 Pixel Action IncluiCont( nRad, oGet, @cVar )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ 70, 85 Button \"&Desistir\" Size 40,10 Pixel Action oDlgInc:End()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Activate Dialog oDlgInc CENTER<br /><br />//-----------------------------------------------------------<br />Function IncluiCont( nRad, oGet, cVar )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if nRad = 1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BuscaCont(oGet, @cVar)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BuscaGru(oGet, @cVar)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />//----------------------------------------------------------<br />Function BuscaCont( oGet, cVar )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aListCont := {}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nListCont := 1<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Define Dialog oDlgCon Title \"Contatos\" From 0,0 to 484, 792 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ &nbsp;11, &nbsp;14 LISTBOX oBrw;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FIELDS CONTATOS->CONTATO;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADERS \"CONTATOS\";<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 203, 205 PIXEL OF oDlgCon FONT oFont1 ALIAS \"CONTATOS\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 10,219 Button \">\" Size 10, 10 Pixel;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Action (oCon:Load(), oListCont:ADD(oCon:Contato), oListCont:Refresh())<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 21,219 Button \"<\" Size 10, 10 Pixel;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Action (oListCont:Del(nListCont), oListCont:Refresh())<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ &nbsp;11, 232 ListBox oListCont Var nListCont Items aListCont;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;size 150, 206 pixel of oDlgCon Font oFont1<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 226, 148 Button \"&OK\" Size 40,10 Pixel Action ConfCont( oGet, @cVar )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 226, 208 Button \"&Desistir\" Size 40,10 Pixel Action oDlgCon:End()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Activate dialog oDlgCon CENTER<br /><br />//-----------------------------------------------------------<br />Function ConfCont( oGet, cVar )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local i<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCon:Load()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cVar := Alltrim(cVar)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if len(cVar) > 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cVar := Alltrim(cVar)+\";\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i := 1 to len( oListCont:aItems )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cVar := cVar+if(i>1,\";\", \"\")+Alltrim(oCon:Contato)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;next<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cVar+=Space(100)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGet:SetText( cVar )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oDlgCon:End()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oDlgInc:end()<br />&nbsp; &nbsp; <br />Return NIL<br /><br />//----------------------------------------------------------<br />Function BuscaGru( oGet, cVar )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Define Dialog oDlgGru Title \"Grupos\" From 0,0 to 484, 450 Pixel<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ &nbsp;11, &nbsp;14 LISTBOX oBrw;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FIELDS CABGRUPO->GRUPO;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADERS \"GRUPOS\";<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE 203, 205 PIXEL OF oDlgGru FONT oFont1 ALIAS \"CABGRUPO\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 226, 071 Button \"&OK\" Size 40,10 Pixel Action ConfGru( oGet, @cVar )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ 226, 131 Button \"&Desistir\" Size 40,10 Pixel Action oDlgGru:End()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Activate dialog oDlgGru CENTER<br /><br />//-----------------------------------------------------------<br />Function ConfGru( oGet, cVar )<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCab:Load()<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if len(Alltrim(cVar)) > 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cVar := Alltrim(cVar)+\";\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endif<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cVar := Alltrim(cVar)+\"<<\"+Alltrim(oCab:Grupo)+\">>\"+Space(100)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oGet:SetText( cVar )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oDlgGru:End()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oDlgInc:end()<br /><br />&nbsp; &nbsp; <br />Return NIL</span></div>[/code:haxapu1p]", "time": "01:19", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "sysctrl2" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "No pude enviar ni siquiera el correo de ejemplo, siempre me apareció el mensaje de que no se pudo enviar\n\nhbmk2 ejemplo1 -id:\\lenguaje\\fwh\\include -Ld:\\lenguaje\\fwh\\lib -lfiveh -lfivehc xhb.hbc -lpsapi", "time": "03:29", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "quique" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"quique\":37tar770]No pude enviar ni siquiera el correo de ejemplo, siempre me apareció el mensaje de que no se pudo enviar\n\nhbmk2 ejemplo1 -id:\\lenguaje\\fwh\\include -Ld:\\lenguaje\\fwh\\lib -lfiveh -lfivehc xhb.hbc -lpsapi[/quote:37tar770]\n\nYo descargue el archivo sin ningun cambio y pude enviar a varios correos sin problema con adjunto y todo, en la parte superior debes colocar los datos del correo de donde se envia con su clave para dar permiso de salida, lo hice enviando simultaneamente a un correo de yahoo y a otro de hotmail y en ambos me llego el correo con su datos adjunto, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "04:17", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "joseluisysturiz" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Pues yo intenté enviar un corro desde una cuenta de hotmail a la misma cuenta de hotmail, y simplemente aparece el mensaje de que no se pudo enviar", "time": "04:26", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "quique" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"quique\":150q4xh0]Pues yo intenté enviar un corro desde una cuenta de hotmail a la misma cuenta de hotmail, y simplemente aparece el mensaje de que no se pudo enviar[/quote:150q4xh0]\n\n\nHotmail.com ha sido cambiado para outlook.com y no está funcionando bién. Intenta con otro preveedor.\n\nSalu2", "time": "13:14", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "karinha" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias karinha, ahora si funcionó, y si puede enviar un archivo adjunto por gmail", "time": "15:57", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "quique" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Mira como és el mio:\n\n[img:2gd8ef1e]http&#58;//dc594&#46;4shared&#46;com/img/v2xh4SMy/0&#46;5003552264633785/EMAIL&#46;png[/img:2gd8ef1e]\n\n<!-- m --><a class=\"postlink\" href=\"http://www.4shared.com/photo/v2xh4SMy/EMAIL.html\">http://www.4shared.com/photo/v2xh4SMy/EMAIL.html</a><!-- m -->\n\n\nSaludos.", "time": "16:28", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "karinha" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-19", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"karinha\":1oruwf3z]Mira como és el mio:\n\n[img:1oruwf3z]http&#58;//dc594&#46;4shared&#46;com/img/v2xh4SMy/0&#46;5003552264633785/EMAIL&#46;png[/img:1oruwf3z]\n\n<!-- m --><a class=\"postlink\" href=\"http://www.4shared.com/photo/v2xh4SMy/EMAIL.html\">http://www.4shared.com/photo/v2xh4SMy/EMAIL.html</a><!-- m -->\n\n\nSaludos.[/quote:1oruwf3z]\n\n\nEsta muy bonito <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "07:56", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "AIDA" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2013-05-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Enviar y recibir correo electrónico de Outlook.com desde una app\n\nApps que admiten POP3 o SMTP\nSi tu app de correo electrónico no admite Exchange ActiveSync pero sí POP3 o SMTP, usa la siguiente configuración:\n\nServidor entrante (POP3)\n\nDirección del servidor: pop3.live.com\n\nPuerto: 995\n\nCifrado SSL: Sí\n\nServidor saliente (SMTP)\n\nDirección del servidor: smtp.live.com\n\nPuerto: 25 (o 587 si el 25 está bloqueado)\n\nAutenticación: Sí\n\nConexión cifrada segura TLS o SSL: Sí\n\nNombre de usuario: tu dirección de correo electrónico\n\nContraseña: tu contraseña\n\nSi no deseas que los mensajes de correo electrónico se eliminen de la bandeja de entrada de Outlook.com después de descargarlos en tu app de correo electrónico, selecciona la opción Dejar una copia de los mensajes en el servidor.\n\nAunque configures por error POP3 de forma que se eliminen los mensajes después de descargarlos, Outlook.com guardará una copia de los mensajes en una carpeta denominada POP hasta que compruebes el comando de eliminación de POP3.\n\nPara comprobar el comando de eliminación de POP3:\n\nInicia sesión en Outlook.com\n\nHaz clic en el icono Opciones y luego en Más opciones de configuración de correo.\nEn Administrar tu cuenta, haz clic en POP y eliminación de mensajes descargados.\n\nSelecciona si deseas eliminar los mensajes, o invalidar la solicitud de eliminación de POP y guardar una copia en la carpeta POP.\n\nHaz clic en Guardar.\n\nNota\n\nEsta configuración se aplica a todas las apps de correo electrónico que utilices con tu cuenta de Outlook.com.\n\n[url:3uu0l458]http&#58;//windows&#46;microsoft&#46;com/es-es/windows/outlook/send-receive-from-app[/url:3uu0l458]\n\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "08:04", "topic": "Alguien puede mandar correos con archivo adjunto?", "username": "AIDA" } ]
Alguien puede mandar correos con archivo adjunto?
[ { "date": "2022-01-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Compañeros, buenos dias.\nAlguien que tenga uno modo de acceder a postgres y actualizar sus datos?\nGRacias", "time": "19:39", "topic": "Alguien que acceda a Postgres", "username": "Willi Quintana" } ]
Alguien que acceda a Postgres
[ { "date": "2022-01-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Willi,\n\nHarbour proporciona una librería para usar Postgres:\n\n[url:bov9guyc]https&#58;//github&#46;com/harbour/core/tree/master/contrib/hbpgsql[/url:bov9guyc]", "time": "08:12", "topic": "Alguien que acceda a Postgres", "username": "Antonio Linares" } ]
Alguien que acceda a Postgres
[ { "date": "2022-01-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Mediante ADO\n\n[code=fw:3gao3typ]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; <span style=\"color: #00C800;\">TRY</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;oCon := CreateObject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"ADODB.Connection\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;oCon:<span style=\"color: #000000;\">ConnectionString</span> := <span style=\"color: #ff0000;\">\"DSN=eldsn;Uid=postgres;Pwd=tupass;\"</span><br /><br />&nbsp; &nbsp; &nbsp;oCon:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp;vConecta:=.t.<br />&nbsp; CATCH oError<br />&nbsp; &nbsp; &nbsp;FW_ShowAdoError<span style=\"color: #000000;\">&#40;</span>oCon<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;MsgStop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"El sistema no puede conectarse al servidor por una de las\"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"siguientes razones:\"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\" \"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"1. No hay acceso a internet en el equipo local\"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"2. El Servidor esta apagado\"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"3. El Servidor no tiene acceso a internet\"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"4. La dirección o el nombre del equipo son incorrectos\"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"\"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Verifique lo anterior y vuelva a intentarlo\"</span>,<span style=\"color: #ff0000;\">\"Conexión con el servidor remoto - LYMAS\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;quit<br />&nbsp; &nbsp; &nbsp;vConecta:=.f.<br />&nbsp; &nbsp;END<br />&nbsp;</div>[/code:3gao3typ]", "time": "12:10", "topic": "Alguien que acceda a Postgres", "username": "leandro" } ]
Alguien que acceda a Postgres
[ { "date": "2022-02-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias mi estimado, solucionado con ODBC", "time": "16:35", "topic": "Alguien que acceda a Postgres", "username": "Willi Quintana" } ]
Alguien que acceda a Postgres
[ { "date": "2022-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Willi Quintana\":2sviaclh]Gracias mi estimado, solucionado con ODBC[/quote:2sviaclh]\n\nHola willi. Saludos.\n\n¿Podrias compartir la manera de conectar y actualizar?\n\nMe interesa postgres ya que he leido que es mucho mas poderoso que mysql en cuanto a volumenes de datos y complejidad de consultas.\n\nAgradecido por cualquier colaboracion al respecto.", "time": "21:22", "topic": "Alguien que acceda a Postgres", "username": "JoseAlvarez" } ]
Alguien que acceda a Postgres
[ { "date": "2022-02-25", "forum": "FiveWin para Harbour/xHarbour", "text": "MI estimado, aqui va\n[code=fw:324a0tfr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//==================================================================================================================================================================</span><br /><span style=\"color: #00C800;\">Function</span> AdoPostgre<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> oPon, oRs, oData, cString, aLIst, oRec<br /><br />cString := <span style=\"color: #ff0000;\">\"Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=postgres;Uid=postgres;Pwd=ekatroncito;\"</span><br />oPon :=&nbsp;TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"adodb.connection\"</span><span style=\"color: #000000;\">&#41;</span><br />oPon:<span style=\"color: #000000;\">ConnectionString</span> := cString<br /><br /><span style=\"color: #00C800;\">TRY</span><br />&nbsp; oPon:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />CATCH<br />&nbsp; ? <span style=\"color: #ff0000;\">\"Error en la conexión\"</span><br />&nbsp; <span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">&#40;</span>.f.<span style=\"color: #000000;\">&#41;</span><br />END<br /><br />oRec := TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"adodb.recordset\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />oRec:<span style=\"color: #000000;\">CursorLocation</span> := <span style=\"color: #000000;\">3</span> &nbsp;<span style=\"color: #B900B9;\">// adUseClient</span><br />oRec:<span style=\"color: #000000;\">CursorType</span> := <span style=\"color: #000000;\">3</span> <span style=\"color: #B900B9;\">// adOpenStatic</span><br />oRec:<span style=\"color: #000000;\">ActiveConnection</span>:= oPon<br /><br />oRec:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"UPDATE test SET name = 'PRUEBA DE UPDDATE' WHERE code <= 20\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />oRec:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"SELECT * FROM test\"</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">xbrowse</span><span style=\"color: #000000;\">&#40;</span>oRec<span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #00C800;\">niL</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp;</div>[/code:324a0tfr]", "time": "04:23", "topic": "Alguien que acceda a Postgres", "username": "Willi Quintana" } ]
Alguien que acceda a Postgres
[ { "date": "2008-04-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy usando la clase c5menu modificada por Juan Carlos Salinas con FWH27; la verdad es que el menú me quedo muy bonito y quiero seguirlo usando, pero tengo un error de pintado del menú; pasa que al seleccionarse digamos la tercera opción del menu principal se pintan del color de selección toda la fila que va desde el inicio de la ventana a la izquierda hasta el menu seleccionado, es decir oculta la primera y segunga opción; y así hasta el fin.\r\n\r\nQuisiera saber si alguien tuvo este problema, como lo resolvió; o si tienen alguna versión superior a la 1.2 de c5menu que me la envie a mi mail <!-- e --><a href=\"mailto:nanoespinoza@hotmail.com\">nanoespinoza@hotmail.com</a><!-- e -->.\r\n\r\nSaludos\r\n\r\nFernando Espinoza", "time": "14:31", "topic": "Alguien que uso o todavía use el c5menu de JC Salinas", "username": "fespinoza" } ]
Alguien que uso o todavía use el c5menu de JC Salinas
[ { "date": "2008-04-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Fernando:\r\n\r\nYo estoy usando esa misma versión y no tengo problema alguno (respecto a lo que comentas). Eso sí, no uso colores. El color de los elementos seleccionados es el azul, por defecto. A ver si va a ser eso.\r\n\r\nSaludos,\r\nManuel Aranda", "time": "18:08", "topic": "Alguien que uso o todavía use el c5menu de JC Salinas", "username": "Manuel Aranda" } ]
Alguien que uso o todavía use el c5menu de JC Salinas
[ { "date": "2008-04-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Ya anteriormente probe lo que me indicas, y es igual, no se si me puedes enviar tu versión del menu.prg a mi mail o si ya la tienes hecho lib mejor.", "time": "21:55", "topic": "Alguien que uso o todavía use el c5menu de JC Salinas", "username": "fespinoza" } ]
Alguien que uso o todavía use el c5menu de JC Salinas
[ { "date": "2013-01-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Tengo que desarrollar una aplicación de mensajería, en la cual debe ir impreso un código azteca de 399 caracteres, tengo una dll que es para .Net, pero éste no me satisface, se podrá usar esta dll en fivewin para generar el código? \n\n\nFivewin 9.08 + xHarbour + bcc 5.5", "time": "12:57", "topic": "Alguien sabe algo sobre código Azteca?", "username": "Leo" } ]
Alguien sabe algo sobre código Azteca?
[ { "date": "2010-08-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\nAlguien tendrá por ahí alguna rutinita para generar seriales a partir de un nombre y su contra parte que al poner el nombre en una aplicación valide que el numero de serie que se de de alta corresponde a ese nombre <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n\nAida", "time": "01:43", "topic": "Alguien sabe como generar un serial a partir de un nombre??", "username": "AIDA" } ]
Alguien sabe como generar un serial a partir de un nombre??
[ { "date": "2010-08-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Aida,\n\nPuedes pasar el nombre a sus valores en hexadecimal, por ejemplo:\n[code=fw:1epjp5fv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> cName := <span style=\"color: #ff0000;\">\"Aida\"</span><br />   <span style=\"color: #00C800;\">local</span> n, cSerial := <span style=\"color: #ff0000;\">\"\"</span><br /><br />   <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> cName <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; cSerial += PadL<span style=\"color: #000000;\">&#40;</span> DecToHex<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">Asc</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cName, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"0\"</span> <span style=\"color: #000000;\">&#41;</span>   <br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br /><br />   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cSerial <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /> </div>[/code:1epjp5fv]\nAhora, si lo quieres complicar un poquito mas, puedes encriptar con una clave:\n[code=fw:1epjp5fv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> cName := <span style=\"color: #ff0000;\">\"Aida\"</span><br />   <span style=\"color: #00C800;\">local</span> n, cSerial := <span style=\"color: #ff0000;\">\"\"</span>, cPassword := <span style=\"color: #ff0000;\">\"Five\"</span><br /><br />   cName = Encrypt<span style=\"color: #000000;\">&#40;</span> cName, cPassword <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> cName <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; cSerial += PadL<span style=\"color: #000000;\">&#40;</span> DecToHex<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">Asc</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cName, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"0\"</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">next</span><br /><br />   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cSerial <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /> </div>[/code:1epjp5fv]", "time": "08:20", "topic": "Alguien sabe como generar un serial a partir de un nombre??", "username": "Antonio Linares" } ]
Alguien sabe como generar un serial a partir de un nombre??
[ { "date": "2010-08-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Y ahora, camino de ida y vuelta <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[code=fw:3oscueoj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cName := <span style=\"color: #ff0000;\">\"Aida\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> n, cSerial := <span style=\"color: #ff0000;\">\"\"</span>, cPassword := <span style=\"color: #ff0000;\">\"Five\"</span><br /><br />&nbsp; &nbsp;cName = Encrypt<span style=\"color: #000000;\">&#40;</span> cName, cPassword <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> cName <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; cSerial += PadL<span style=\"color: #000000;\">&#40;</span> DecToHex<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">Asc</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cName, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"0\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cSerial <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;cName = <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> cSerial <span style=\"color: #000000;\">&#41;</span> step <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp; &nbsp; cName += Chr<span style=\"color: #000000;\">&#40;</span> HexToDec<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cSerial, n, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;cName = Decrypt<span style=\"color: #000000;\">&#40;</span> cName, cPassword <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cName <span style=\"color: #000000;\">&#41;</span> &nbsp; <br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br />&nbsp;</div>[/code:3oscueoj]", "time": "08:26", "topic": "Alguien sabe como generar un serial a partir de un nombre??", "username": "Antonio Linares" } ]
Alguien sabe como generar un serial a partir de un nombre??
[ { "date": "2010-08-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias Antonio <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "03:24", "topic": "Alguien sabe como generar un serial a partir de un nombre??", "username": "AIDA" } ]
Alguien sabe como generar un serial a partir de un nombre??
[ { "date": "2006-04-04", "forum": "FiveWin para CA-Clipper", "text": "amigos, uso la clase tdosprn, y funciona bien, salvo, que cuando pincho el boton de imprimir, comienza estam y en un momento imprime hasta +/- la mitad de la impresion y de ahi hace pausas de +/- 5 sgdos y luego continua con la impresion.\n\nTengo Fw. 2.1, clipper 5.3e, blinker 5.0, workshop 4.0, y trabajo con windows Xp. profesional... alguna idea...", "time": "23:19", "topic": "Alguien sabe porque, cuando se imprime con Tdosprn....pausa", "username": "lcortesm67" } ]
Alguien sabe porque, cuando se imprime con Tdosprn....pausa
[ { "date": "2006-04-06", "forum": "FiveWin para CA-Clipper", "text": "Comprueba que en el sistema no tengas definida una impresora que este usando el mismo puerto que tu desde el programa.", "time": "19:00", "topic": "Alguien sabe porque, cuando se imprime con Tdosprn....pausa", "username": "Garbi" } ]
Alguien sabe porque, cuando se imprime con Tdosprn....pausa
[ { "date": "2009-06-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos\nAlguien se acuerda como setear con Clipper \nel tamanno de pagina en cm para impreison con DOS\n\nsolo se letra condensada\n\noPrn:command(\"27,15\") \n\nreo que es con esto pero no se que \nrepresentas los numeros\n oPrn:command(\"27,67,66\")\n\n\nif UPPE(curdir())=\"CPSADUAN\"\n qfor:=subs(_vg(\"A20_147\"),1,3)\n do case\n case qfor$\"NEM\"\n oPrn:command(\"27,67,66\")\n case qfor$\"DS1,DS2,DF1,DF2,DF3\"\n oPrn:command(\"27,67,72\")\n case qfor$\"C07\"\n oPrn:command(\"27,67,70\")\n otherwise\n oPrn:command(\"27,67,84\")\n endcase\nelse\n oPrn:command(\"27,67,70\")\n if valtype(SALTOLINE)=\"U\" //uppe(curdir())=\"CPSCLIE\"\n //msgalert(\"seteando todo a 1/2 linea\")\n else\n oPrn:command(\"27,65,\"+SALTOLINE) //5\n endif\n\nGracias\n\nendif", "time": "07:08", "topic": "Alguien se acuerda como setear con Clipper", "username": "Vladimir Zorrilla" } ]
Alguien se acuerda como setear con Clipper
[ { "date": "2009-06-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Mirá yo lo hago de esta forma\n\n oPrn:=TDosPrn():New(cImpdos) \n oPrn:command(\"27,67,51\") //aquí le doy el largo de página que es de 21.5 cm\n\ny luego el tratamiento es igual que siempre\nsi hay letra condensada\n\noPrn:Saycmp()\nLuis", "time": "16:49", "topic": "Alguien se acuerda como setear con Clipper", "username": "surGom" } ]
Alguien se acuerda como setear con Clipper
[ { "date": "2009-06-16", "forum": "FiveWin para Harbour/xHarbour", "text": "AH perdón con 51 le doy el largo de página\n\nLuis", "time": "16:49", "topic": "Alguien se acuerda como setear con Clipper", "username": "surGom" } ]
Alguien se acuerda como setear con Clipper
[ { "date": "2011-11-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia Foro,\n\nAlguien tendra el link para bajar el compilador msvc 2008 para xharbour ?\n\nIntente con link que recomienda antonio pero cae es el msvc ++ 2010 express y no funciona. \n\ngracias,", "time": "15:49", "topic": "Alguien tendra el link para msvc 2008 ?", "username": "albeiroval" } ]
Alguien tendra el link para msvc 2008 ?
[ { "date": "2011-11-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Prueba con:\n\n[url:36qh8091]http&#58;//www&#46;fivetechsoft&#46;com/files/software/vc2008&#46;zip[/url:36qh8091]", "time": "19:00", "topic": "Alguien tendra el link para msvc 2008 ?", "username": "Antonio Linares" } ]
Alguien tendra el link para msvc 2008 ?
[ { "date": "2010-09-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Alguien tendra la rutina para impresoras fiscales bematech, okidata, epson o la que sea, por usb, para venezuela y que no lo considere un secreto de estado o esten dentro de los secretos del area 51, etc, etc\n\ngracias", "time": "03:09", "topic": "Alguien tendra la rutina para impresoras fiscales bematech", "username": "QAZWSX2K" } ]
Alguien tendra la rutina para impresoras fiscales bematech
[ { "date": "2010-09-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos QAZWSX2K ;\n\nTe cuento mi corta experiencia con las impresoras BEMATECH, \nCon las que tengo experiencias son con impresoras fiscales puerto COMX \nellos suministran una libreria llamada \nBEMAFI32.DLL\n \nyo lo que hice fue lo siguiente primeramente declarar las funciones de sus .dll\n \nDLL32 FUNCTION NumerodeSerie(NumeroSerie AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_NumeroSerie\" LIB hFiscalDl2\nDLL32 FUNCTION NumeroCupon(NumeroCupon AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_NumeroComprobanteFiscal\" LIB hFiscalDl2\nDLL32 FUNCTION VerificaEstadoImpresora(@ACK AS LONG,@ST1 AS LONG,@ST2 AS LONG) AS LONG PASCAL FROM \"Bematech_FI_VerificaEstadoImpresora\" LIB hFiscalDl2\nDLL32 FUNCTION LecturaX() AS LONG PASCAL FROM \"Bematech_FI_LecturaX\" LIB hFiscalDl2\nDLL32 FUNCTION FechaHoraImpresora(fecha AS LPSTR, hora AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_FechaHoraImpresora\" LIB hFiscalDl2\nDLL32 FUNCTION RetornaRifsActivos(rifs AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_RetornaRifsActivos\" LIB hFiscalDl2\nDLL32 FUNCTION BorrarRifs() AS LONG PASCAL FROM \"Bematech_FI_BorraRifs\" LIB hFiscalDl2\nDLL32 FUNCTION AnadirRif(rif AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_Anadir_Rif\" LIB hFiscalDl2\n \n//FUNCIONES DEL TICKET DE APUESTA\nDLL32 FUNCTION AbreFacturaApuesta(rif AS LPSTR, comercializador AS LPSTR,direccion AS LPSTR,;\n cliente1 AS LPSTR,cliente2 AS LPSTR,cliente3 AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_AbreFacturaApuesta\" LIB hFiscalDl2\nDLL32 FUNCTION AbreSorteo(loteria AS LPSTR, nombrejuego AS LPSTR,numerosorteo AS LPSTR,;\n fechasorteo AS LPSTR, horasorteo AS LPSTR, dia AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_AbreSorteo\" LIB hFiscalDl2\nDLL32 FUNCTION SubSorteo(info AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_SubSorteo\" LIB hFiscalDl2\nDLL32 FUNCTION VendeApuesta(apuesta AS LPSTR, valor AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_VendeApuestaUnaLinea\" LIB hFiscalDl2\nDLL32 FUNCTION CierraSorteo() AS LONG PASCAL FROM \"Bematech_FI_CierraSorteo\" LIB hFiscalDl2\nDLL32 FUNCTION CodigodeValidacion(codigo AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_CodValidacion\" LIB hFiscalDl2\nDLL32 FUNCTION CierraFacApuest2() AS LONG PASCAL FROM \"Bematech_FI_CierreFacApuesta\" LIB hFiscalDl2\nDLL32 FUNCTION IniciaCierre(d1 AS LPSTR,d2 AS LPSTR,d3 AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_IniciaCierreCupon\" LIB hFiscalDl2\nDLL32 FUNCTION FinalizaCierre(mensaje AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_FinalizarCierreCupon\" LIB hFiscalDl2\n \n\nDLL32 FUNCTION ResetaImpresora() AS LONG PASCAL FROM \"Bematech_FI_ResetaImpresora\" LIB hFiscalDl2\nDLL32 FUNCTION AnulaCupon() AS LONG PASCAL FROM \"Bematech_FI_AnulaCupon\" LIB hFiscalDl2\nDLL32 FUNCTION ReporteZ(fecha AS LPSTR,hora AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_ReduccionZ\" LIB hFiscalDl2\nDLL32 FUNCTION RegistraRetencion(rif AS LPSTR,premios AS LPSTR, alicuota AS LPSTR, restante AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_RegistraRetencion\" LIB hFiscalDl2\nDLL32 FUNCTION AbreComprobanteRetencion(rif AS LPSTR,nombre AS LPSTR, direccion AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_AbreComprobanteRetencion\" LIB hFiscalDl2\nDLL32 FUNCTION PremioCompRetencion(factura AS LPSTR,premio AS LPSTR, alicuota AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_PremioCompRetencion\" LIB hFiscalDl2\nDLL32 FUNCTION AnulaCompRetencion() AS LONG PASCAL FROM \"Bematech_FI_AnulaCompRetencion\" LIB hFiscalDl2\nDLL32 FUNCTION CierraInformeGerencial() AS LONG PASCAL FROM \"Bematech_FI_CierraInformeGerencial\" LIB hFiscalDl2\nDLL32 FUNCTION InformeGerencial(ctexto AS LPSTR) AS LONG PASCAL FROM \"Bematech_FI_InformeGerencial\" LIB hFiscalDl2\n \nprimero declare todas las funciones de esta forma usando una variable estatica hFiscalDl2 porque si usaba directamente el nombre de la libreria \ncuando corre la funcion cierra la libreria.\nal principio del programa llamo a esta funcion\n \nStatic Function AbroDllPrinte2()\nLOCAL lRet:=.F.\nLOCAL cDllName:=\"BEMAFI32.DLL\"\n \n hFiscalDl2:=LoadLib32(cDllName)\n if Abs( hFiscalDL2 ) <= 32\n MsgAlert( \"Error code: \" + LTrim( Str( hFiscalDL2 ) ) + \" loading \" + cDllName )\n lRet:=.F.\n ELSE\n lRet:=.T.\n endif\n \nReturn lRet\n\ny luego para correr la funcion a usar simplemente la llamo \nnRet := ReporteZ(\"\",\"\") //Ejemplo\n \nlos parámetros y el orden de llamar las funciones te la suministran ellos\n \nlas funciones para por ejemplo hacer una factura \nes abrircupon() -> \nañadirproductos()\nsubtotal()\ncerrar()\n\nEspero te sirva esta información \nquedando a la orden.", "time": "03:25", "topic": "Alguien tendra la rutina para impresoras fiscales bematech", "username": "mag071" } ]
Alguien tendra la rutina para impresoras fiscales bematech
[ { "date": "2010-10-02", "forum": "FiveWin para Harbour/xHarbour", "text": "AH GRACIAS MAG, la gripe hacia que tenia dias que no entrada, ya lo pruebo y te comento", "time": "01:40", "topic": "Alguien tendra la rutina para impresoras fiscales bematech", "username": "QAZWSX2K" } ]
Alguien tendra la rutina para impresoras fiscales bematech
[ { "date": "2008-05-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \r\n\r\nalguien me podria prestar la ultima BTNGET32.LIB para xharbour la que tengo no me funciona y me tira error <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \r\n\r\n\r\nSaluditos\r\n\r\nAida <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "20:17", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "AIDA" } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-05-20", "forum": "FiveWin para Harbour/xHarbour", "text": "hi Aida. Cual Error??\r\n\r\nIntente con esta:\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=585\">http://www.fivewin.com.br/exibedicas.asp?id=585</a><!-- m -->\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=587\">http://www.fivewin.com.br/exibedicas.asp?id=587</a><!-- m -->\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=868\">http://www.fivewin.com.br/exibedicas.asp?id=868</a><!-- m -->\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=257\">http://www.fivewin.com.br/exibedicas.asp?id=257</a><!-- m -->\r\n\r\nPuedes compilar la BTNGET.PRG Y SUS .C DIRECTO EN TU CODIGO FUENTE.\r\n\r\nSaludos.", "time": "21:35", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "karinha" } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-05-20", "forum": "FiveWin para Harbour/xHarbour", "text": "AIDA :\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.fivetechsoft.com/forums/viewtopic.php?t=6849\">http://www.fivetechsoft.com/forums/viewtopic.php?t=6849</a><!-- m -->\r\n\r\nsaludos", "time": "21:36", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "Ricardo Ramirez E." } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "GRACIAS!!!!!!\r\n\r\nTENQUIUS A LOS DOS QUE AMABLES YA PUDE CON SU AYUDA <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \r\n\r\nAHORA TENGO QUE ESPERAR YA QUE MI COMPUTADORA DE CASA SE MURIO <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> Y LA ESTAN REPARANDO, AHI TENGO OTRA PARTE DEL PROGRAMA QUE TOY HACIENDO\r\n\r\nSALUDITOS\r\n\r\nAIDA <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "18:23", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "AIDA" } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "TAMBIÉN ATROPELLARON TU COMPUTADORA???? <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: -->", "time": "19:07", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "ADBLANCO" } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"AIDA\":2whis66k]GRACIAS!!!!!!\n\nTENQUIUS A LOS DOS QUE AMABLES YA PUDE CON SU AYUDA <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nAHORA TENGO QUE ESPERAR YA QUE MI COMPUTADORA DE CASA SE MURIO <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> Y LA ESTAN REPARANDO, AHI TENGO OTRA PARTE DEL PROGRAMA QUE TOY HACIENDO\n\nSALUDITOS\n\nAIDA <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->[/quote:2whis66k]\r\nAida, mi sentido pesame por tu compu... <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> espero se recupere pronto <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "21:05", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "joseluisysturiz" } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"joseluisysturiz\":2ewwon17][quote=\"AIDA\":2ewwon17]GRACIAS!!!!!!\n\nTENQUIUS A LOS DOS QUE AMABLES YA PUDE CON SU AYUDA <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nAHORA TENGO QUE ESPERAR YA QUE MI COMPUTADORA DE CASA SE MURIO <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> Y LA ESTAN REPARANDO, AHI TENGO OTRA PARTE DEL PROGRAMA QUE TOY HACIENDO\n\nSALUDITOS\n\nAIDA <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->[/quote:2ewwon17]\nAida, mi sentido pesame a tu compu... <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> espero se recupere pronto <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->[/quote:2ewwon17]\r\n\r\nJEJEJEJEJEJE. <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "21:47", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "karinha" } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-05-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Pues ya esta funcionando mi compu y NO NO NO NO la atropellaron \r\nfue una sobrecarga que quemo la fuente de poder y afecto la tarjeta madre ya me la repararon a si que ya podre seguir dando lata desde mi casita <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \r\n\r\n\r\nSaluditos\r\n\r\nAida <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "23:59", "topic": "Alguien tiene BTNGET32.LIB me la prestan porfis", "username": "AIDA" } ]
Alguien tiene BTNGET32.LIB me la prestan porfis
[ { "date": "2008-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nalguien tiene la ultima libreria BtnGet32 para xHarbour <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\n si es que existe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nsi me la pudiera prestar la que tengo ya no me Funciona con xHarbour <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nGracias\n\nAida <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "19:16", "topic": "Alguien tiene BtnGet32 para xHarbour?", "username": "AIDA" } ]
Alguien tiene BtnGet32 para xHarbour?
[ { "date": "2008-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Aida:\n\nSolo debes re compilar los 4 prgs con xHarbour para crear la lib.\n\nEn caso de problemas me pegas un grito.\n\nSaludos", "time": "20:16", "topic": "Alguien tiene BtnGet32 para xHarbour?", "username": "Armando" } ]
Alguien tiene BtnGet32 para xHarbour?
[ { "date": "2008-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=587\">http://www.fivewin.com.br/exibedicas.asp?id=587</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=585\">http://www.fivewin.com.br/exibedicas.asp?id=585</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=869\">http://www.fivewin.com.br/exibedicas.asp?id=869</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=257\">http://www.fivewin.com.br/exibedicas.asp?id=257</a><!-- m -->\n\nSaludos", "time": "21:14", "topic": "Alguien tiene BtnGet32 para xHarbour?", "username": "karinha" } ]
Alguien tiene BtnGet32 para xHarbour?
[ { "date": "2008-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "ya las estoy bajando y hare lo que me dijiste y si me atoro te hecho un gritito <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> \n\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "22:21", "topic": "Alguien tiene BtnGet32 para xHarbour?", "username": "AIDA" } ]
Alguien tiene BtnGet32 para xHarbour?
[ { "date": "2008-04-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Ya te lo mande a tu correo", "time": "00:34", "topic": "Alguien tiene BtnGet32 para xHarbour?", "username": "Vital" } ]
Alguien tiene BtnGet32 para xHarbour?
[ { "date": "2008-04-12", "forum": "FiveWin para Harbour/xHarbour", "text": "QUE LINDO MUCHAS GRACIAS <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nCHECARE MI CORREO\n\nSALUDITOS <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "02:52", "topic": "Alguien tiene BtnGet32 para xHarbour?", "username": "AIDA" } ]
Alguien tiene BtnGet32 para xHarbour?
[ { "date": "2014-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Unos clientes nos solicitan una copia de FWH 8.3 (el instalador) porque les estan realizando una inspección de software y tienen que tenerlo instalado.\n\nAlguien tendría una copia por ahi ? Nosotros guardamos todas, desde hace años, pero esa en concreto no aparece. gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "16:51", "topic": "Alguien tiene FWH 8.3 (el instalador) ?", "username": "Antonio Linares" } ]
Alguien tiene FWH 8.3 (el instalador) ?
[ { "date": "2014-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio\n\nTenho, fwh.exe 8.03 de 14/03/2008 24.219.959 bytes\n\né esse?", "time": "22:48", "topic": "Alguien tiene FWH 8.3 (el instalador) ?", "username": "rogerio" } ]
Alguien tiene FWH 8.3 (el instalador) ?
[ { "date": "2014-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Rogerio,\n\nSi, es ese. Puedes enviármelo ? gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "23:32", "topic": "Alguien tiene FWH 8.3 (el instalador) ?", "username": "Antonio Linares" } ]
Alguien tiene FWH 8.3 (el instalador) ?
[ { "date": "2014-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Sim, vou fazer upload para o servidor, depois te passo msg privada pelo facebook.", "time": "23:41", "topic": "Alguien tiene FWH 8.3 (el instalador) ?", "username": "rogerio" } ]
Alguien tiene FWH 8.3 (el instalador) ?
[ { "date": "2014-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "gracias Rogerio <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "23:51", "topic": "Alguien tiene FWH 8.3 (el instalador) ?", "username": "Antonio Linares" } ]
Alguien tiene FWH 8.3 (el instalador) ?
[ { "date": "2014-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Rogerio,\n\nya lo tengo, me lo envió Michel, gracias de todas formas <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "23:55", "topic": "Alguien tiene FWH 8.3 (el instalador) ?", "username": "Antonio Linares" } ]
Alguien tiene FWH 8.3 (el instalador) ?
[ { "date": "2020-05-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas\nMe he liado con la construccion de la lib HARU para Borland\nSi alguien ya la tiene hecha, y pueda compartirla se la agradeceria.\n\nSaludos y gracias", "time": "16:55", "topic": "Alguien tiene HARU.lib listo", "username": "Adolfo" } ]
Alguien tiene HARU.lib listo
[ { "date": "2014-12-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos al Forum\nAlguien Tiene la Clase \"TRepDos\", \n\nGracias", "time": "14:21", "topic": "Alguien tiene clase \"TRepDos\"", "username": "ruben Dario" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Pieza a Carlos Sincuir;\n\n[url:2bh3fgrx]http&#58;//fivetechsupport&#46;com/forums/viewtopic&#46;php?f=6&t=3558&start=0[/url:2bh3fgrx]\n\nEl link no funciona.\n\nPorque necesitas de RepDos?\n\nsaludos", "time": "14:56", "topic": "Alguien tiene clase \"TRepDos\"", "username": "karinha" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Ruben:\n\nEnviado a su correo.\n\nImagen de la clase:\n\n[img:mbnhxq1j]http&#58;//www&#46;hymplus&#46;com/pantalla/Trepdos&#46;jpg[/img:mbnhxq1j]", "time": "15:55", "topic": "Alguien tiene clase \"TRepDos\"", "username": "MauroArevalo" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Mauro me la podrias enviar por favor\n\n<!-- e --><a href=\"mailto:jbricenotapia@gmail.com\">jbricenotapia@gmail.com</a><!-- e -->\n\nsaludos", "time": "14:26", "topic": "Alguien tiene clase \"TRepDos\"", "username": "jbrita" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Para al que le interese dejo este link donde se puede descargar:\n\n[url:3cifl6kg]http&#58;//www&#46;hymplus&#46;com/descargas/Trepdos&#46;zip[/url:3cifl6kg]", "time": "15:43", "topic": "Alguien tiene clase \"TRepDos\"", "username": "MauroArevalo" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Mauro, por colocar el link.\nYo no encontraba el ejemplo que tenia de la clase.\n\nPor si alguno esta interesado, tengo otra clase parecida a la TRepDos, solo que es para Excel, \"TRepXls\", con la que hago reportes del tipo columnas (igual que la TReport), y hasta logre hacer ya una opción de crear agrupaciones (GROUP), de un solo nivel.\n\nSi les interesa, preparo el ejemplo y la clase y la coloco para que la puedan probar, y de repente agregarle mas funcionalidades.\n\nSaludos cordiales,\n\nCarlos.", "time": "16:40", "topic": "Alguien tiene clase \"TRepDos\"", "username": "csincuir" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Acá también tiene otro ejemplo:\n\n[url:1y61f1u1]http&#58;//www&#46;pctoledo&#46;com&#46;br/forum/viewtopic&#46;php?f=43&t=15674[/url:1y61f1u1]\n\nSaludos.", "time": "12:22", "topic": "Alguien tiene clase \"TRepDos\"", "username": "karinha" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "amigo en mis cositas encontre esto:\n#include \"FiveWin.ch\"\n\nFUNCTION Main()\n\tLOCAL oPen\n\tPUBLIC oImp, aoFont[4], aAnchop[4]\n\tSET DATE TO FRENCH\n\tDEFINE PEN oPen WIDTH 5\n\tIniImp(21.5, 27.9, 72, 90, \"CompraVenta de Hacienda\", .t., .t., .f., 1 )\n PAGE\n PrnBox (22, 7,28,89,oPen)\n\n\t PrnLine(30, 7,30,89,oPen)\n PrnLine(33, 7,33,89,oPen)\n prnLine(43, 7,43,89,oPen)\n\n PrnLine(45, 7,45,32,oPen)\n PrnLine(51, 7,51,32,oPen)\n PrnLine(53, 7,53,32,oPen)\n PrnLine(57, 7,57,32,oPen)\n PrnLine(43,62,43,89,oPen)\n PrnLine(54,62,54,89,oPen)\n PrnLine(45,36,45,57,oPen)\n PrnLine(52,36,52,57,oPen)\n PrnLine(45,62,45,89,oPen)\n PrnLine(52,62,52,89,oPen)\n\n //cabezal\n PrnSay(16,60, \"Form.: \"+ \"123425\", aoFont[1],80)\n PrnSay(18, 8,\"Empresa XXXXXX\")\n PrnSay(18,60,Date())\n PrnSay(19, 8,\"123456\")\n PrnSay(19,60,1250)\n PrnSay(23, 8,\"Productor:\", aoFont[1],80)\n PrnSay(24, 8,\"El Productor que vende\", aoFont[1],80)\n PrnSay(23,45,\"Consignatario:\", aoFont[1],80)\n PrnSay(24,45,\"El Consignatario que Vende\", aoFont[1],80)\n PrnSay(25, 8,\"RUT: \"+\"12 345678 9123\", aoFont[1],80)\n PrnSay(25,30,\"CI: \" +\"173216547\",aoFont[1],80)\n PrnSay(25,45,\"RUT: \"+\"12 345678 9123\", aoFont[1],80)\n PrnSay(26, 8,\"Dicose: \"+\"123 456 789\", aoFont[1],80)\n PrnSay(26,45,\"Dicose: \"+\"123 456 789\", aoFont[1],80)\n PrnSay(27, 8,\"Guia: \"+\"123456\", aoFont[1],80)\n PrnSay(27,45,\"Guia: \"+\"567890\", aoFont[1],80)\n PrnSay(29, 8,\"Tiene flete? \", aoFont[1],80)\n PrnSay(29, 21,.t., aoFont[1],80)\n PrnSay(35, 7, \"Este es un texto largo escrito para utilizar 120 columnas en medio de un documento que estaba en 80 columnas\" )\n\n PrnSay(63,8,\" .............................. ...............................\",aoFont[1],120)\n PrnSay(64,8,\" Firma del Comprador Firma de Vendedor/Representante\",aoFont[1],120)\n\t\tENDPAGE\n //Finalizo impresion\n FinImp()\n oPen:End()\nRETURN NIL\n/*Fin Función Main()\n------------------------------------\n/*\nFunciones para imprimir con la clase tprint a la manera de la impresión de clipper en modo consola.\n*/\n/*\nFunciones de Impresión con clase tPrint\n---------------------------------------\n\n\tIniImp( nAncho, nLargo [, nFilas, nColumnas, cNom_spooler, lsel_imp, lpreview, lLnds ,nCopias ] )\n\t\tConfigura la impresión indicando: ancho y largo de páginas en cms.\n\t\tcantidad de filas y columnas\n\t\tNombre del spooler de impresión\n\t\tSeleccion de Impresora\n\t\tsi va Preview\n\t\tsi es apaisado\n\t\tcantidad de copias\n\t\t(Como la impresión de Consola pero con Tprint)\n\tPrnSay( nFila, nColum, Var, oFuente[ , nC ] )\n\t\tVersión del viejo Say de consola con la clase Tprint\n\tPrnBox( nFila1, nCol1, nFila2, nCol2, oPen, nC )\n\t\tImiprimir una caja con fila columna y fila columna estilo consola con tPrint\n\tPrnLine( nFila1, nCol1, nFila2, nCol2, oPen, nC )\n\t\tImprimir una línea estilo consola con TPrint\n\tFinImp()\n\t\tCierre de la impresión\n----------------------------------------------------------------------------------------------------------------------\n\nFUNCIONES DE IMPRESIÓN\n\n----------------------------------------------------------------------------------------------------------------------*/\n/*\n\tVariables públicas requeridas en programa principal:\n\tPUBLIC oImp, aoFont[4], aAnchop[4]\n*/\n#include \"Fivewin.ch\"\nFUNCTION IniImp(nAncho, nLargo, nFilas, nColumnas, cNom_spooler, lsel_imp, lpreview, lLnds ,nCopias)\n/*\n\tSintaxis:\n\tIniImp( nAncho, nLargo [, nFilas, nColumnas, cNom_spooler, lsel_imp, lpreview, lLnds ,nCopias ] )\n\tRequeridos:\n\tcAncho - Ancho de pagina en cms.\n\tcLargo - Largo de página en cms.\n\tOpcionales:\n\tnFilas - Cantidad de filas en el largo DEFAULT 60\n\tnColumnas - Cantidad de columnas en el ancho 80 o 120 DEFAULT 80\n\tcNom_Spooler - Nombre del listado en Spooler de impresion de Windows DEFAULT \"Listado\"\n\tlSel_imp - .t. para que el usuario seleccione la impresora que usará DEFAULT .t.\n\tlPreview - .t. para que se vea una vista preliminar. DEFAULT .f.\n\tlLnds - .t. para Apaisado DEFAULT .f.\n\tnCopias - Cantidad de copias DEFAULT 1\n*/\n\n LOCAL cFuente\n cFuente:=\"Lucida Console\"\t //Se utiliza aquí una fuente escalar\n \t\t \t\t\t\t\t\t\t\t //evitando así mala ubicación de caracteres\n //Valores default\n IF cNom_Spooler=NIL\n \tcNom_Spooler=\"Listado\"\n ENDIF\n IF lSel_Imp=NIL\n \tlSel_imp=.t.\n ENDIF\n IF lPreview=NIL\n \tlPreview=.f.\n ENDIF\n IF lLnds=NIL\n \tlLnds=.f.\n ENDIF\n IF nCopias=NIL\n \tnCopias=1\n ENDIF\n\n\tPrnSetSize(nAncho*100, nLargo*100)\n //Creo objeto tprinter\n IF !lSel_imp .AND. !lPreview\n\t\tPRINT oImp TITLE cNom_Spooler\n\tELSEIF lSel_imp .and. !lPreview\n\t\tPRINT oImp TITLE cNom_Spooler FROM USER\n\tELSEIF !lSel_imp .and. lPreview\n\t\tPRINT oImp TITLE cNom_Spooler PREVIEW\n\tELSEIF lSel_imp .and. lPreview\n\t\tPRINT oImp TITLE cNom_Spooler FROM USER PREVIEW\n\tENDIF\n\tIF lLnds\n\t\toImp:SetLandscape()\n ENDIF\n //establezco las copias\n\toImp:SetCopies(nCopias)\n //calculo anchos de fila y columna segun la resolucion de la impresora\n aAnchop[1]:=oImp:nVertRes()/nFilas\n\taAnchop[2]:=oImp:nHorzRes()/nColumnas \t//ancho en pixels de columna\n\taAnchop[3]:=nColumnas \t\t\t\t\t\t\t\t\t//hago publica nColumas en vector\n\taAnchop[4]:=lLnds\t\t\t\t\t\t \t\t\t\t//hago publica lLnds en el vector\n\t//Defino Fonts\n\t//Font normal\n DEFINE FONT aoFont[1] NAME \"Lucida Console\" SIZE 0, -10 OF oImp\n //Font Comprimida\n DEFINE FONT aoFont[2] NAME \"Lucida Console\" SIZE 0, -8 OF oImp\n //Font Muy Grande\n DEFINE FONT aoFont[3] NAME \"Lucida Console\" SIZE 0, -24 OF oImp\n //Font Grande\n DEFINE FONT aoFont[4] NAME \"Lucida Console\" SIZE 0, -16 OF oImp\nRETURN NIL\n\n/*Fin Funcion IniImp\n----------------------------------------------------------------------------------------------------------------------*/\nFUNCTION PrnSay( nFila, nColum, Var, oFuente, nC )\nLOCAL i, wVar, nesp, nCorr\n/*Sintaxis:\n\tPrnSay( nFila, nColum, Var [, oFuente, nC ] )\n\tnFila es la fila donde se hace la impresion\n\tncolum es la columna donde comienza\n\tvar es una variable de cualquier tipo que contiene lo que se va a imprimir\n\tnC es el total de columnas base (80 o 120)\n\n\tEl parámetro var es convertido a texto sin espacios al final y alineado a la derecha.\n*/\n\tIF nC=NIL\n\t\t//Si no se especifica cantidad de columnas uso las especificadas en IniImp()\n\t\taAnchop[2]:=oImp:nHorzRes()/aAnchop[3]\n\tELSE\n\t\t//Si se especifico cant. de columnas recalculo el ancho de columna\n\t\taAnchop[2]:=oImp:nHorzRes()/nC\n\tENDIF\n\t//Convierto Var a texto para imprimir\n\tIF VALTYPE(Var)=\"A\" .or. VALTYPE(Var)=\"B\" .or. VALTYPE(Var)=\"M\" .or. VALTYPE(Var)=\"O\" .or. VALTYPE(Var)=\"U\"\n\t\twVar=Space(1)\n\tELSEIF valtype(Var)=\"C\"\n\t\twVar=Rtrim(Var)\n\tELSEIF VALTYPE(Var)=\"D\"\n\t\twVar:=Transform(Var,\"@D\")\n\tELSEIF VALTYPE(Var)=\"L\"\n\t\tIF Var\n\t\t\twVar=\"Si\"\n\t\tELSE\n\t\t\twVar=\"No\"\n\t\tENDIF\n\tELSEIF VALTYPE(Var)=\"N\"\n\t\twVar:=Alltrim(Str(Var))\n\tENDIF\n //paso fila y columna a pixels\n\tnFila := nFila * aAnchop[1]\n\tnColum := nColum * aAnchop[2] \t\t//Columna en pixels\n\tnesp=( len(wVar) - len( Ltrim( wVar ) ) ) * aAnchop[2]\n\twVar:=Ltrim(wVar)\n\tIF wVar<>Space(1)\n\t\tIF Pcount()=3 //Si no indique fuente\n\t\t\toImp:Say( nFila, (nColum + nesp), wVar, if( aAnchop[3]<=80, aoFont[1], If( aAnchop[4], aoFont[1], aoFont[2] ) ) )\n\t\t\t// si menos 80 cols uso aofont[1] sino si es apaisado, aofont[1] o sino aofont[2]\n\t\tELSE //si indique fuente\n\t\t\toImp:Say(nFila,(nColum + nesp),wVar, oFuente)\n\t\tENDIF\n\tENDIF\nRETURN NIL\n/*Fin Funcion PrnSay\n----------------------------------------------------------------------------------------------------------------------*/\nFUNCTION PrnBox(nFila1, nCol1, nFila2, nCol2, oPen, nC)\n/*Sintaxis:\n\tPrnBox( nFila, nCol1, nFila2, nCol2, oPen, nC )\n\tnFila es la fila donde se hace la impresion\n\tncolum es la columna donde comienza\n\tvar es una variable de cualquier tipo que contiene lo que se va a imprimir\n\tnC es el total de columnas base (80 o 120)\n*/\n\tIF nC=NIL\n\t\t//Si no se especifica cantidad de columnas uso las especificadas en IniImp()\n\t\taAnchop[2]:=oImp:nHorzRes()/aAnchop[3]\n\tELSE\n\t\t//Si se especifico cant. de columnas recalculo el ancho de columna\n\t\taAnchop[2]:=oImp:nHorzRes()/nC\n\tENDIF\n\t//paso fila y columna a pixels\n\tnFila1 := nFila1 * aAnchop[1]\n\tnCol1 := nCol1 * aAnchop[2]\n\tnFila2 := nFila2 * aAnchop[1]\n\tnCol2 := nCol2 * aAnchop[2]\n\t//dibujo el cuadro\n\toImp:Box(nFila1, nCol1, nFila2, nCol2, oPen)\nRETURN NIL\n\n/*Fin Funcion PrnBox\n---------------------------------------------------------------------------------------------------------------------*/\nFUNCTION PrnLine(nFila1, nCol1, nFila2, nCol2, oPen, nC)\n\tIF Pcount()=6\n\t\t//si se especifico cant. de columnas recalculo el ancho de columna\n\t\taAnchop[2]:=oImp:nHorzRes()/nC\n\tELSE\n\t\t//Si no se especifica cantidad de columnas uso las especificadas en IniImp()\n\t\taAnchop[2]:=oImp:nHorzRes()/aAnchop[3]\n\tENDIF\n\t//paso fila y columna a pixels\n\tnFila1 := nFila1 * aAnchop[1]\n\tnCol1 := nCol1 * aAnchop[2]\n\tnFila2 := nFila2 * aAnchop[1]\n\tnCol2 := nCol2 * aAnchop[2]\n\t//Dibujo la linea\n\toImp:Line(nFila1, nCol1, nFila2, nCol2, oPen)\nRETURN NIL\n/*Fin Funcion PrnLine\n---------------------------------------------------------------------------------------------------------------------*/\nFUNCTION FinImp()\n//Destruyo las fuentes\n\t//finalizo la impresión\n ENDPRINT\n //elimino los fonts\n\taoFont[1]:End()\n\taoFont[2]:End()\n\taoFont[3]:End()\nRETURN NIL\n/*Fin Funcion FinImp\n----------------------------------------------------------------------------------------------------------------------*/", "time": "20:29", "topic": "Alguien tiene clase \"TRepDos\"", "username": "jbrita" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2014-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "[url:jbofcux1]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/Trepdos&#46;zip[/url:jbofcux1]", "time": "09:12", "topic": "Alguien tiene clase \"TRepDos\"", "username": "Antonio Linares" } ]
Alguien tiene clase "TRepDos"
[ { "date": "2010-02-22", "forum": "FiveWin para Pocket PC", "text": "Buenos dias, alguien tiene el fivewin_es.chm que se visualice completo, ya que el que descargue al comprar el producto al intentar acceder a cuarquiera de los link me da error que no puede mostrar la pagina, y de verdad seria de mucha ayuda poder tener dicha ayuda completa y accesible a todas sus opciones.\n\nY me gustaria saber si no existe aun CHM que hable de FWPPC\n\nMuchas Gracias de antemano", "time": "13:29", "topic": "Alguien tiene el fivewin_es.chm que visualice bien", "username": "Julio Perez" } ]
Alguien tiene el fivewin_es.chm que visualice bien
[ { "date": "2010-02-22", "forum": "FiveWin para Pocket PC", "text": "Saludos julio\n\n[url:3lndo2r2]http&#58;//www&#46;sitasoft&#46;com/fivewin/files/manual/fwppc/fivewin_es&#46;chm[/url:3lndo2r2]", "time": "13:49", "topic": "Alguien tiene el fivewin_es.chm que visualice bien", "username": "Daniel Garcia-Gil" } ]
Alguien tiene el fivewin_es.chm que visualice bien
[ { "date": "2010-02-22", "forum": "FiveWin para Pocket PC", "text": "Julio.\n\nEu estou a utilizar o que esta com o FWPPC 10.2 e nao tenho problemas.\nFunciona muito bem.\nSaludos.", "time": "19:07", "topic": "Alguien tiene el fivewin_es.chm que visualice bien", "username": "PeterBaga" } ]
Alguien tiene el fivewin_es.chm que visualice bien
[ { "date": "2010-02-22", "forum": "FiveWin para Pocket PC", "text": "La documentación más reciente y actualizada está en el wiki de FiveTech:\n\n[url:3rd7uoab]http&#58;//wiki&#46;fivetechsoft&#46;com[/url:3rd7uoab]", "time": "21:27", "topic": "Alguien tiene el fivewin_es.chm que visualice bien", "username": "Antonio Linares" } ]
Alguien tiene el fivewin_es.chm que visualice bien
[ { "date": "2010-02-24", "forum": "FiveWin para Pocket PC", "text": "Muchas Gracias", "time": "13:40", "topic": "Alguien tiene el fivewin_es.chm que visualice bien", "username": "Julio Perez" } ]
Alguien tiene el fivewin_es.chm que visualice bien
[ { "date": "2010-08-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Para hechar a andar la Vouch32.lib necesito xHarbour pCode 7.\n\nSe agradece cualquier aporte.\n\nJorge Gayoso", "time": "21:41", "topic": "Alguien tiene el xHarbour pCode 7", "username": "jgayoso" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-25", "forum": "FiveWin para Harbour/xHarbour", "text": "jgayoso...\n\nSe refiere al pCode interno de xHarbour, que version de Xhb utilizas ? si es muy antigua te recomiendo descargar la Ultima \n\nSaludos", "time": "23:10", "topic": "Alguien tiene el xHarbour pCode 7", "username": "Adolfo" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Tengo la última, pero la libreria a utilizar no esta en esa y no tengo los fuentes para convertirla.\n\nPor eso nececito xHarbour pcode 7 para utilizar la libreria.\n\nJorge", "time": "13:06", "topic": "Alguien tiene el xHarbour pCode 7", "username": "jgayoso" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Para hechar a andar la Vouch32.lib necesito xHarbour pCode 7.\n\nSe agradece cualquier aporte donde conseguirlo o comprarlo.\n\nJorge Gayoso", "time": "13:18", "topic": "Alguien tiene el xHarbour pCode 7", "username": "jgayoso" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Para hechar a andar la Vouch32.lib necesito xHarbour pCode 7.\n\nSe agradece cualquier aporte donde conseguirlo o comprarlo.\n\nJorge Gayoso", "time": "13:20", "topic": "Alguien tiene el xHarbour pCode 7", "username": "jgayoso" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "jgayoso,\n\nNecesitas descargar las fuentes del CVS con fecha del 2007-04-20\ny compilar las fuentes de xharbour,\n\nSaludos,\nAndres Reyes", "time": "18:53", "topic": "Alguien tiene el xHarbour pCode 7", "username": "andresreyes_mzt" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Andrés, esto se esta complicando cada vez mas, no se de donde sacar lo que indicas, en xharbour hay una parte que habla de lo que indicas pero al hacer el enlace con la pagina, esta da error.\n\nLlevo muchos días en esto y creo que todo apunta a olvidarme del viejo clipper. <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \nAdemás que las indicaciones no son certeras.\n\nSe agradece de todas formas.\n\nJorge Gayoso", "time": "13:14", "topic": "Alguien tiene el xHarbour pCode 7", "username": "jgayoso" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "jgayoso,\n\nVe a la pagina <!-- w --><a class=\"postlink\" href=\"http://www.vouch32.com\">www.vouch32.com</a><!-- w --> , alli esta toda la informacion de contacto.\n\nDe todas maneras , ahora vouch32 es un servidor com y con ole lo puedes usar de manera muy simple sin depender de vouch32.lib ni de ninguna version especifica de xharbour o de harbour.\n\nEl autor es Pritbal Bedi.\n\n\nSaludos,\n\nLautaro Moreira", "time": "15:22", "topic": "Alguien tiene el xHarbour pCode 7", "username": "Lautaro" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\n\nCreo que lo más sencillo es que contactes directamente con el autor de Vouch32 (Pritpal Bedi) para que el pueda ayudarte personalmente: <!-- e --><a href=\"mailto:bedipritpal@hotmail.com\">bedipritpal@hotmail.com</a><!-- e -->", "time": "15:23", "topic": "Alguien tiene el xHarbour pCode 7", "username": "Antonio Linares" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"jgayoso\":2ph9b139]Para hechar a andar la Vouch32.lib necesito xHarbour pCode 7.\n\nSe agradece cualquier aporte donde conseguirlo o comprarlo.\n\nJorge Gayoso[/quote:2ph9b139]\n\nAntonio has guided me to answer this post.\n\nVouch32 as library was last offered for (x)Harbour in 2007 and then \nI never compiled with newer versions. Instead I provided Vouch32 Active-X Server\ndownloadable from <!-- m --><a class=\"postlink\" href=\"http://www.vouch32.com\">http://www.vouch32.com</a><!-- m --> which provides the same functionality \nand can be used with any language. It is also free.\n\nIf you need it in pure lib version then you need to migrate to Harbour.\nI did quiet a large changes and now I cannot compile it with xHarbour.\nSo when you are ready with Harbour, drop me a post, I will publish the library.", "time": "15:36", "topic": "Alguien tiene el xHarbour pCode 7", "username": "Pritpal Bedi" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Ejecute la siguiente funcion en modo consola\n\n Function fMuestaBMP()\n Local oUtils, oServer\n\n if CreateVouch32( @oServer )\n oUtils := oServer:Vouch32UtilityServer()\n oUtils:V32Splash( 'LogoFasa.BMP', 4000 )\n\n WAIT\n endif\n\n Return nil\n\nMe muestra LogoFasa.BMP pero cambia a modo windows, no que en modo consola, ademas la ideas es que quede fijo en pantalla, y salga despues de wait-\n\n¿Se puede hacer esto?\n\nJorge", "time": "23:31", "topic": "Alguien tiene el xHarbour pCode 7", "username": "jgayoso" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2010-08-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\n\nEn modo consola no puedes mostrar bitmaps. La consola es muy restrictiva. Permite muy pocas cosas.\n\nPor eso te sugerí que no uses una ventana de consola sino una ventana real en la que podrás hacer lo que quieras <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:10", "topic": "Alguien tiene el xHarbour pCode 7", "username": "Antonio Linares" } ]
Alguien tiene el xHarbour pCode 7
[ { "date": "2008-12-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola amigos del foro,\r\n\r\nEstoy tratando de encontrar la clase Tpublic, si alguien tan generosamente la podria proporcionar, lo que pasa es que aca en el foro encontre un link de hyperunload pero ya no funciona, \r\n\r\nmi email por si pueden enviarmela es : <!-- e --><a href=\"mailto:rparedes88@hotmail.com\">rparedes88@hotmail.com</a><!-- e --> \r\n\r\nDesde ya gracias\r\n\r\nSaludos desde Managua, Nicaragua\r\n\r\nRamon Paredes", "time": "17:13", "topic": "Alguien tiene la clas Tpublic ?", "username": "Ramon Paredes" } ]
Alguien tiene la clas Tpublic ?
[ { "date": "2008-12-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Ramon,\r\n\r\nRevisa tu correo.\r\n\r\nSaludos,\r\n\r\nCarlos Gallego", "time": "19:06", "topic": "Alguien tiene la clas Tpublic ?", "username": "Cgallegoa" } ]
Alguien tiene la clas Tpublic ?
[ { "date": "2008-12-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\r\n\r\nRecibido gracias,\r\n\r\nRamon Paredes", "time": "19:36", "topic": "Alguien tiene la clas Tpublic ?", "username": "Ramon Paredes" } ]
Alguien tiene la clas Tpublic ?
[ { "date": "2009-02-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Podrias enviarme la Tpublic() a mi correo también ?\n<!-- e --><a href=\"mailto:pglbmi@gmail.com\">pglbmi@gmail.com</a><!-- e -->\n\nSaludos y gracias !", "time": "00:56", "topic": "Alguien tiene la clas Tpublic ?", "username": "pedrog" } ]
Alguien tiene la clas Tpublic ?
[ { "date": "2009-02-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Class TPublic\n\n<!-- m --><a class=\"postlink\" href=\"http://rapidshare.com/files/203065795/TPublic.zip\">http://rapidshare.com/files/203065795/TPublic.zip</a><!-- m -->\n\nAnser", "time": "05:50", "topic": "Alguien tiene la clas Tpublic ?", "username": "anserkk" } ]
Alguien tiene la clas Tpublic ?