topic
stringlengths
1
63
text
stringlengths
1
577k
xml search node
Hi all, I have a xml file -<emit> <CNPJ>87456562003652</CNPJ> <xNome>JOSAPAR JOAQUIM OLIVEIRA S/A PARTICIP</xNome> -<enderEmit> <xLgr>TRECHO 01,CONJ.04,LOTE 03,PARTE 03</xLgr> <nro>S/N</nro> <xBairro>SANTA MARIA</xBairro> <cMun>5300108</cMun> <xMun>BRASILIA</xMun> <UF>DF</UF> <CEP>72501100</CEP> </enderEmit> <IE>0742343100266</IE> <CRT>3</CRT> </emit> -<dest> <CNPJ>02561393000138</CNPJ> <xNome>APROS INDUSTRIA E COMERC.LTDA</xNome> -<enderDest> <xLgr>QNN 03 CJ D LTS 35 A 47- 015341</xLgr> <nro>S/N</nro> <xBairro>CEILANDIA</xBairro> <cMun>5300108</cMun> <xMun>BRASILIA</xMun> <UF>DF</UF> <CEP>72225010</CEP> <cPais>1058</cPais> <xPais>BRASIL</xPais> </enderDest> <IE>0738591000107</IE> </dest> If I use xmlNode := xmlIter:Find('CNPJ') i get a value 87456562003652 how i can get a CNPJ value <dest> node value 02561393000138? Thanks in advance. Wanderson
xmlIter doubt
Hi, I have a xml search: xmlNode := xmlIter:Find('xCpl') Compl_Rem := xmlNode:cData If not found xCpl in xml file my program hangs. How I can avoid this? Thanks in advance.
xmlIter doubt
Wanderson, veja se este exemplo ajuda: <!-- m --><a class="postlink" href="http://fivewin.com.br/index.php?/topic/21045-exemplo-para-pegar-dados-xml-nf-e/">http://fivewin.com.br/index.php?/topic/ ... -xml-nf-e/</a><!-- m --> abs,
xmlIter doubt
[quote="karinha":16ryll4m]Wanderson, veja se este exemplo ajuda: <!-- m --><a class="postlink" href="http://fivewin.com.br/index.php?/topic/21045-exemplo-para-pegar-dados-xml-nf-e/">http://fivewin.com.br/index.php?/topic/ ... -xml-nf-e/</a><!-- m --> abs,[/quote:16ryll4m] Olá karinha, No meu caso eu já busco direto o nodo que quero do xml (preciso de alguns somente) o exemplo que vc mostrou ele vai pro início e vai lendo linha a linha, no meu caso dou um find direto, gostaria de interceptar o resultado pra ver se achou pq se não acha o nodo dá erro no xmlNode:cData. Obrigado. Wanderson.
xmlIter doubt
Algo assim Wanderson? [code=fw:2lcado6e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fileio.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"hbxml.ch"</span><br /><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> hFile, cXml, cFileName:=<span style="color: #ff0000;">"TEST.XML"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> xmlDoc, xmlIter , xmlNode, cNode, cAttrib, cValue, oCampo, oConteudo<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> .NOT. FILE<span style="color: #000000;">&#40;</span> cFileName <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Arquivo Não Encontrado !!!"</span>,<span style="color: #ff0000;">"Atenção"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// nome do arquivo</span><br /><br />&nbsp; &nbsp; &nbsp; cFileName := cGetFile<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"XML File (*.Xml)|*.Xml|"</span>,<span style="color: #ff0000;">"Selecione arquivo XML da NFe "</span>,curdir<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> .NOT. FILE<span style="color: #000000;">&#40;</span> cFileName <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;cNode &nbsp; := <span style="color: #00C800;">NIL</span><br />&nbsp; &nbsp;cAttrib := <span style="color: #00C800;">NIL</span><br />&nbsp; &nbsp;cValue &nbsp;:= <span style="color: #00C800;">NIL</span><br />&nbsp; &nbsp;hFile &nbsp;:= FOpen<span style="color: #000000;">&#40;</span> cFileName <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;xmlDoc := TXmlDocument<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> hFile <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> xmlDoc:<span style="color: #000000;">nStatus</span> != HBXML_STATUS_OK<br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">Msginfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Erro ao Ler Arquivo .XML"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;xmlIter := TXmlIterator<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> xmlDoc:<span style="color: #000000;">oRoot</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;xmlNode := xmlIter:<span style="color: #000000;">Find</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> xmlNode != <span style="color: #00C800;">NIL</span><br /><br />&nbsp; &nbsp; &nbsp; SYSREFRESH<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> .NOT. EMPTY<span style="color: #000000;">&#40;</span> xmlNode:<span style="color: #000000;">cData</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">IF</span> SUBS<span style="color: #000000;">&#40;</span> xmlNode:<span style="color: #000000;">cData</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> # <span style="color: #ff0000;">"<"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCampo &nbsp; &nbsp;:= xmlNode:<span style="color: #000000;">cName</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oConteudo := xmlNode:<span style="color: #000000;">cData</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oCampo := xmlNode:<span style="color: #000000;">cName</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; &nbsp; ? oCampo, oConteudo<br /><br />&nbsp; &nbsp; &nbsp; xmlNode := xmlIter:<span style="color: #00C800;">Next</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// joga pro proximo campo</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDDO</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span> <br />&nbsp;</div>[/code:2lcado6e] Abs
xmlIter doubt
Olá karinha obrigado pela resposta mas não é isso. No seu exemplo vc percorre o xml todo. Eu uso a opção do find que já vai pra primeira ocorrência que quero pesquisar, só que pode acontecer de não ter essa ocorrência no xml aí o quando faço xmlNode := xmlIter:Find('xCpl') e não acha dá erro na próxima linha que tem o cdata com o retorno. Teria que ter uma forma de testar o xmlNode pra ver se achou ou não a ocorrência procurada.
xmlIter doubt
Veja estes exemplos com FIND() se ajuda: <!-- m --><a class="postlink" href="http://www.pctoledo.com.br/forum/viewtopic.php?f=43&t=12543">http://www.pctoledo.com.br/forum/viewto ... 43&t=12543</a><!-- m --> <!-- m --><a class="postlink" href="http://fivewin.com.br/index.php?/topic/18420-fun%C3%A7%C3%A3o-xmltoarr-n%C3%A3o-funciona-na-2g/">http://fivewin.com.br/index.php?/topic/ ... ona-na-2g/</a><!-- m --> <!-- m --><a class="postlink" href="http://fivewin.com.br/index.php?/topic/19835-rotina-para-ler-xml-resolvido/">http://fivewin.com.br/index.php?/topic/ ... resolvido/</a><!-- m --> <!-- m --><a class="postlink" href="http://fivewin.com.br/index.php?/topic/17773-class-receita-federal/">http://fivewin.com.br/index.php?/topic/ ... a-federal/</a><!-- m --> <!-- m --><a class="postlink" href="http://fivetechsupport.com/forums/viewtopic.php?f=6&t=25742">http://fivetechsupport.com/forums/viewt ... =6&t=25742</a><!-- m --> abs
xplook.rc does not seem to work
Using: FWH 7.01 + xHarbour Builder Enterprise Jan 2007 have added xplook.rc to the .xbp file also the Windowsxp.Manifest file is in the same folder with xplook.rc and .xbp (date October 20, 2003) Nothing happened, my display is still the same?? does not seem to work?? Please help. Toyet Amores
xplook.rc does not seem to work
Sorry guys, I forgot to put this line: 1 24 "WindowsXp.manifest" to the RC file. Thanks. Toyet Amores
xplook.rc does not seem to work
So, Everything is fine?
xsharp
.NET nunca irá tan rápido como Harbour <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> y por otra parte .NET cada vez tiene menos interés, asi lo veo yo
xsharp
Buena tardes compañeros Podrian por favor revisar esta página <!-- m --><a class="postlink" href="http://www.xsharp.eu/">http://www.xsharp.eu/</a><!-- m --> y comentar si se sabe algo adicional a lo que alli se menciona saludos Wilson
xsharp
Antonio buenos días Gracias por responder era una curiosidad Saludos Wilson
xtranslate
Dear Antonio, is there a way that we could xTranslate {{ }} inside BLOCK that we could use xBase code inside Block like this: {{Date()}} mHb_date() Thank you in advance Otto #xtranslate function Main() ? "Seconds {%Seconds()%} before compilation<br><br>" BLOCKS Current date is {{Date()}} Current date is mhb_date() ENDTEXT return nil
xtranslate
Otto, you may use this: 09:32 Uhr #xcommand BLOCKS [ PARAMS [<v1>] [,<vn>] ] => ; #pragma __cstream | AP_RPuts( ReplaceBlocks( MyTranslate( %s ), "{{", "}}" [,<(v1)>][+","+<(vn)>] [, @<v1>][, @<vn>] ) ) function Main() BLOCKS mhb_date() <br> mhb_time() ENDTEXT return nil function MyTranslate( cText ) cText = StrTran( cText, "mhb_date()", "{{Date()}}" ) cText = StrTran( cText, "mhb_time()", "{{Time()}}" ) return cText 09:32 Uhr Tested from IIS mod_harbour
y me preguntaron ... el sistema puede correr en Mac ??
Buenos dias.. quizas una pregunta tonta.. pero en fin ... una inquietud de un cliente que la traslado al foro... el sistema hecho en FiveWin podria ser utilizado en computadores MAC... pues se sabe que es otro sistema operativo .. se podra ..?? Gracias... lubin
y me preguntaron ... el sistema puede correr en Mac ??
Si, los Macs tienen emuladores de Windows que funcionan mejor que el propio Windows, se monta el emulador, luego tienes que instalar un windows y listo !!!!!, el windows corre dentro de una ventana de Mac. Uno de los mejores que he visto es iEmulator (<!-- w --><a class="postlink" href="http://www.iemulator.com">www.iemulator.com</a><!-- w -->)
y me preguntaron ... el sistema puede correr en Mac ??
Lubin, Además de la solución que te indica René, existe "Wine" para Mac OSX, igual que existe para Linux, lo que te permite ejecutar aplicaciones Windows en Mac directamente, sin tener que instalar Windows en un emulador: <!-- m --><a class="postlink" href="http://darwine.opendarwin.org/">http://darwine.opendarwin.org/</a><!-- m --> <!-- m --><a class="postlink" href="http://darwine.opendarwin.org/images/CaptureWine.gif">http://darwine.opendarwin.org/images/CaptureWine.gif</a><!-- m -->
ya no me ordena el xbrowse..
hola. [quote:kmxlanoj]#define BRWSECCIONES; "SELECT " +; "a.id as c0, "+; "a.seccion as c1, " +; "a.habilitado as c2 "+; "FROM tbsecciones as a "+; "WHERE a.habilitado = '1' ORDER BY a.seccion"[/quote:kmxlanoj] [code=fw:kmxlanoj]<div class="fw" id="{CB}" style="font-family: monospace;">     <br /><br />   ::<span style="color: #000000;">oBrw</span> := TXBROWSE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">&#40;</span> oDlg <span style="color: #000000;">&#41;</span><br /><br />   ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">setdolphin</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oQry</span>, .T., .F., <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"c0"</span>, <span style="color: #ff0000;">"c1"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><br />   WITH OBJECT ::<span style="color: #000000;">oBrw</span><br />      :<span style="color: #000000;">nMarqueeStyle</span>       := <span style="color: #000000;">5</span><br />      :<span style="color: #000000;">bClrStd</span>    := <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">KeyNo</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> % <span style="color: #000000;">2</span> == <span style="color: #000000;">0</span>, ;<br />                              <span style="color: #000000;">&#123;</span> CLR_BLACK, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, ;<br />                              <span style="color: #000000;">&#123;</span> CLR_BLACK, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">214</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">215</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />      :<span style="color: #000000;">bClrSel</span> := <span style="color: #000000;">&#123;</span> || <span style="color: #000000;">&#123;</span> CLR_BLACK,  RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">214</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">215</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br /><br />      :<span style="color: #000000;">lKinetic</span>            := .F.<br />      :<span style="color: #000000;">ltransparent</span>        := .F.<br />      :<span style="color: #000000;">nRowHeight</span>          := <span style="color: #000000;">22</span><br />      :<span style="color: #000000;">lHScroll</span>                   := <span style="color: #000000;">&#40;</span> .T. <span style="color: #000000;">&#41;</span><br />      :<span style="color: #000000;">lRecordSelector</span>     := .F.<br />      :<span style="color: #000000;">lAllowColSwapping</span>   := .F.<br />      :<span style="color: #000000;">lColDividerComplete</span> := .F.<br />      :<span style="color: #000000;">nRowDividerStyle</span>    := <span style="color: #000000;">4</span><br />      :<span style="color: #000000;">nStretchCol</span>         := STRETCHCOL_LAST<br />      :<span style="color: #000000;">nColDividerStyle</span>    := <span style="color: #000000;">4</span><br /><br />&nbsp; &nbsp; &nbsp; WITH OBJECT :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />         :<span style="color: #000000;">cHeader</span>       := <span style="color: #ff0000;">"Secciones"</span><br />         :<span style="color: #000000;">nHeadStrAlign</span> := AL_CENTER<br />         ...<br /><br />      END WITH<br /><br />      ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">01</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">02</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:kmxlanoj] Ahora ya no me aparece el triangulito en el encabezado y tampoco puedo ordenar de mayor a menor y tampoco puedo hacer la busqueda cuando voy presionando las teclas.
ya no salen trasparentes los say en el FWH 10.6 HELP!!!
Hola Antonio como estas espero que muy bien <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Fijate que tengo una ventanita donde salen datos y antes los say salían transparentes con fivewin 10.5 pero ahora con fivewin 10.6 salen con un cuadro blanco <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> que podra estar mal <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> es un folder dentro de un windows mdi aqui con 10.5 [img:2mfzecx5]http&#58;//img231&#46;imageshack&#46;us/img231/2235/18030807&#46;jpg[/img:2mfzecx5] aqui con 10.6 [url=http&#58;//img683&#46;imageshack&#46;us/i/11684427&#46;jpg/:2mfzecx5][img:2mfzecx5]http&#58;//img683&#46;imageshack&#46;us/img683/727/11684427&#46;jpg[/img:2mfzecx5][/url:2mfzecx5] Uploaded with [url=http&#58;//imageshack&#46;us:2mfzecx5]ImageShack.us[/url:2mfzecx5] Uploaded with [url=http&#58;//imageshack&#46;us:2mfzecx5]ImageShack.us[/url:2mfzecx5][/img] Aqui pongo un cachito de mi programita es la parte que comente [code=fw:2mfzecx5]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oApp:<span style="color: #000000;">oWnd</span>   <span style="color: #0000ff;">from</span> oApp:<span style="color: #000000;">oTop</span>,oApp:<span style="color: #000000;">oLeft</span> <span style="color: #0000ff;">to</span> oApp:<span style="color: #000000;">oBottom</span>,oApp:<span style="color: #000000;">oRight</span>  <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Polizarium Control de Polizas V 1.00 2010"</span> <span style="color: #0000ff;">COLOR</span> CLR_WHITE, CLR_BLUE    ;<br />            <span style="color: #0000ff;">MDI</span> <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #0000ff;">brush</span> oBrush1 <span style="color: #0000ff;">STYLE</span> nOr<span style="color: #000000;">&#40;</span> WS_OVERLAPPED + WS_CAPTION + WS_CLIPCHILDREN <span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br /><br /><br />@ <span style="color: #000000;">28.40</span>,<span style="color: #000000;">40</span> <span style="color: #0000ff;">FOLDER</span> oFldd <span style="color: #0000ff;">PROMPTS</span> <span style="color: #ff0000;">"&Datos del cliente"</span>, <span style="color: #ff0000;">"&Polizas"</span>,<span style="color: #ff0000;">"&Primas pagadas"</span>,<span style="color: #ff0000;">"&Graficas primas pagadas"</span> <span style="color: #0000ff;">OF</span>   oApp:<span style="color: #000000;">oWnd</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">753</span>, <span style="color: #000000;">269</span> <br /><br /><br />SetParent<span style="color: #000000;">&#40;</span> oFldd:<span style="color: #000000;">hWnd</span>, oApp:<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br /><br /> <span style="color: #B900B9;">//  AQUI ES DONDE DEJO DE ESTAR LOS SAY TRANSPARENTES :?  :?  :?  :? </span><br /><br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Ms Serif"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">62</span>,<span style="color: #000000;">12</span><br /><br /><br /><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>  <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"NOMBRE :"</span>        <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span> <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">12</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">OGETN</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">GETNOM</span>        <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">350</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//SHADOW //FONT oFont</span><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">73</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"TELEFONOS :"</span>   <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>  <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span>, nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">87</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oGETT</span>  <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">gett</span>             <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//SHADOW</span><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">107</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oGETT2</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">GETT2</span>        <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//SHADOW</span><br />@ <span style="color: #000000;">3</span>,<span style="color: #000000;">01</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"DIRECCION :"</span>    <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">3</span>,<span style="color: #000000;">12</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oGETDIREC</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">GETDIREC</span> <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">442</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">3</span>,<span style="color: #000000;">89</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"CIUDAD :"</span>         <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">3</span>,<span style="color: #000000;">98</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oGETCIU</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">gETCIU</span>        <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">156</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br /><br />@ <span style="color: #000000;">5</span>,<span style="color: #000000;">01</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"CORREO ELECTRONICO :"</span>  <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">5</span>,<span style="color: #000000;">25</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">aEmail</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">cEmail</span>                          <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">256</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br /><br />@ <span style="color: #000000;">7</span>,<span style="color: #000000;">01</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"PAGINA INTERNET :"</span>     <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">7</span>,<span style="color: #000000;">25</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">aPagina</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">cPagina</span>                   <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">256</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br /><br /><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>  <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"POLIZA :"</span>      <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span> <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oGETPOL</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">gETPOL</span>    <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">150</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">36</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"INCISO :"</span>      <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">44</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oGETINC</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">gETINC</span>     <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">40</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">3</span>,<span style="color: #000000;">01</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"RAMO :  "</span>      <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">3</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oRAMOS</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">RAMO</span>       <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">40</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">5</span>,<span style="color: #000000;">01</span> <span style="color: #0000ff;">SAY</span> oApp:<span style="color: #000000;">osay</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">" FICHA  "</span>       <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>,<span style="color: #000000;">253</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">132</span>, <span style="color: #000000;">112</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">5</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">say</span> oApp:<span style="color: #000000;">oFICHA</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">rFICHA</span>       <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">64</span>,<span style="color: #000000;">18</span> BORDER <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br /><br />@ <span style="color: #000000;">97</span>,<span style="color: #000000;">25</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Solicitud PDF"</span>  <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>   <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">110</span>, <span style="color: #000000;">30</span> FILE <span style="color: #ff0000;">"16X16<span style="color: #000000;">\p</span>df.bmp"</span> <span style="color: #000000;">2007</span>  <span style="color: #0000ff;">LEFT</span> <span style="color: #0000ff;">ACTION</span> VerPDF <span style="color: #000000;">&#40;</span>oApp:<span style="color: #000000;">cFichero</span>:=str<span style="color: #000000;">&#40;</span>AUTOS->FOLIO<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />@ <span style="color: #000000;">97</span>,<span style="color: #000000;">200</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Poliza PDF"</span>    <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>   <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">110</span>, <span style="color: #000000;">30</span> FILE <span style="color: #ff0000;">"16X16<span style="color: #000000;">\p</span>df.bmp"</span> <span style="color: #000000;">2007</span>  <span style="color: #0000ff;">LEFT</span> <span style="color: #0000ff;">ACTION</span> VerPDFF<span style="color: #000000;">&#40;</span>oApp:<span style="color: #000000;">cFichero</span>:=AUTOS->poliza<span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br />@ <span style="color: #000000;">1</span>,<span style="color: #000000;">40</span> <span style="color: #0000ff;">GET</span> oApp:<span style="color: #000000;">mCOmmENtS</span> <span style="color: #0000ff;">var</span> oApp:<span style="color: #000000;">MeMiTo</span>  <span style="color: #0000ff;">size</span> <span style="color: #000000;">400</span>,<span style="color: #000000;">110</span> <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> MEMO MULTILINE <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,nRgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">255</span><span style="color: #000000;">&#41;</span><br /><br /><br />**************************************************************************************************************************************************<br /> dbselectarea<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"pagos"</span> <span style="color: #000000;">&#41;</span><br /><br /><br />@ <span style="color: #000000;">00</span>,<span style="color: #000000;">00</span> <span style="color: #0000ff;">XBROWSE</span> oApp:<span style="color: #000000;">oBrwPag</span> <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> ;<br />            HEADERS <span style="color: #ff0000;">"Poliza"</span>, <span style="color: #ff0000;">"Inciso"</span>,<span style="color: #ff0000;">"Cobertura"</span>,<span style="color: #ff0000;">"Prima Total"</span>;<br />            FIELDS alltrim<span style="color: #000000;">&#40;</span>PAGOS->POLIZA<span style="color: #000000;">&#41;</span>    ,;<br />                          PAGOS->INCISO    ,;<br />                    AUTOS->COBERTURA    ,;<br />                        PAGOS->IMPORTE_TO ;<br />                               COLSIZES <span style="color: #000000;">20</span>,<span style="color: #000000;">100</span> ,<span style="color: #000000;">100</span>, <span style="color: #000000;">100</span>  <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">752</span>,<span style="color: #000000;">245</span>;<br />                                 PICTURES <span style="color: #ff0000;">"@!"</span>,<span style="color: #ff0000;">"@!"</span>,<span style="color: #ff0000;">"@!"</span>,<span style="color: #ff0000;">"$999,999.99"</span>  <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">CLICK</span> Sndplaysound<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"beep1.wav"</span><span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br /><br /><br /><br />**************************************************<br /><br /> oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">bClrStd</span>:= <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">cAlias</span><span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span>OrdKeyNo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> % <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> == <span style="color: #000000;">0</span>, <span style="color: #000000;">&#123;</span> CLR_BLACK, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">224</span>, <span style="color: #000000;">236</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> CLR_BLACK, CLR_RED <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br /><br />                oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">lFastEdit</span>     := .f.<br />  <br />        oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nDataStrAlign</span>:= AL_LEFT<br />        oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nDataStrAlign</span>:= AL_LEFT<br />        oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nDataStrAlign</span>:= AL_LEFT<br />        oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nDataStrAlign</span>:= AL_RIGHT<br /><br />      XbrStyles<span style="color: #000000;">&#40;</span> oApp:<span style="color: #000000;">oBrwPag</span> <span style="color: #000000;">&#41;</span><br /><br />    <br />     oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">SetRDD</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />     oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">lTransparent</span> := .F.<br /><br /><br /><br /><br />         oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />         oApp:<span style="color: #000000;">oBrwPag</span>:<span style="color: #000000;">oclient</span> := oApp:<span style="color: #000000;">oWnd</span><br /><br /><br />**************************************************************************************************************************************************<br /><br />    @ <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> GRAPH ooGraph  <span style="color: #0000ff;">OF</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span>  <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">755</span>, <span style="color: #000000;">245</span><br /><br />    APERS2 := <span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"Vida"</span>,<span style="color: #ff0000;">"Autos"</span>,<span style="color: #ff0000;">"G.M.M"</span>,<span style="color: #ff0000;">"Daños"</span><span style="color: #000000;">&#125;</span><br /><br />    ooGraph:<span style="color: #000000;">lBorders</span>:= .T.<br />    ooGraph:<span style="color: #000000;">lViewVal</span>:= .T.<br />    ooGraph:<span style="color: #000000;">lcTitle</span>:= .T.<br />    ooGraph:<span style="color: #000000;">lyGrid</span>   := .T.<br />    ooGraph:<span style="color: #000000;">lxGrid</span>   := .T.<br />    ooGraph:<span style="color: #000000;">cPicture</span>:=<span style="color: #ff0000;">"9999999999"</span><br />    ooGraph:<span style="color: #000000;">cTitle</span>:= <span style="color: #ff0000;">"PRIMAS PAGADAS"</span><br />    ooGraph:<span style="color: #000000;">l3D</span>     := .T.<br />    ooGraph:<span style="color: #000000;">lPopUp</span>  := .T.<br />    ooGraph:<span style="color: #000000;">lLegends</span>:= .T.<br />    ooGraph:<span style="color: #000000;">nType</span>   := <span style="color: #000000;">4</span><br />    ooGraph:<span style="color: #000000;">nClrX</span>   := CLR_WHITE<br />    ooGraph:<span style="color: #000000;">nClrY</span>   := CLR_WHITE<br />    ooGraph:<span style="color: #000000;">nClrV</span>   := CLR_WHITE<br />    ooGraph:<span style="color: #000000;">nMaxVal</span> := <span style="color: #000000;">100</span><br />    ooGraph:<span style="color: #000000;">cBitmap</span> := <span style="color: #ff0000;">"ima<span style="color: #000000;">\b</span>lue.Bmp"</span><br />    ooGraph:<span style="color: #000000;">AddSerie</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span><span style="color: #000000;">10</span>,<span style="color: #000000;">20</span>,<span style="color: #000000;">30</span>,<span style="color: #000000;">40</span><span style="color: #000000;">&#125;</span>,<span style="color: #ff0000;">"VENTAS"</span>,CLR_BLUE,<span style="color: #000000;">4</span>,.T.<span style="color: #000000;">&#41;</span><br />    ooGraph:<span style="color: #000000;">SetYVals</span><span style="color: #000000;">&#40;</span>aPers2<span style="color: #000000;">&#41;</span><br /><br /><br /><br /> <span style="color: #B900B9;">//---------------------------------------------------------------------------</span><br /> @  <span style="color: #000000;">67</span>,<span style="color: #000000;">00</span> SPLITTER oHSpl1 <span style="color: #0000ff;">HORIZONTAL</span> _3DLOOK <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">1037</span>,  <span style="color: #000000;">4</span> <span style="color: #0000ff;">PIXEL</span> ;<br />             TOP    MARGIN  <span style="color: #000000;">70</span> <span style="color: #0000ff;">OF</span> oApp:<span style="color: #000000;">oWnd</span> <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">25</span>,<span style="color: #000000;">25</span>,<span style="color: #000000;">112</span><span style="color: #000000;">&#41;</span><br />                         oHSpl1:<span style="color: #000000;">lStatic</span>:=.T.<br /><br /><br />@  <span style="color: #000000;">420.00</span>,<span style="color: #000000;">245</span> SPLITTER oHSpl11 <span style="color: #0000ff;">HORIZONTAL</span> _3DLOOK <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">1032</span>,  <span style="color: #000000;">4</span> <span style="color: #0000ff;">PIXEL</span> ;<br />             TOP    MARGIN  <span style="color: #000000;">100</span> <span style="color: #0000ff;">OF</span> oApp:<span style="color: #000000;">oWnd</span>  <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">25</span>,<span style="color: #000000;">25</span>,<span style="color: #000000;">112</span><span style="color: #000000;">&#41;</span><br />                         oHSpl11:<span style="color: #000000;">lStatic</span>:=.T.<br /><br /><br /><br />                   @  <span style="color: #000000;">65</span>,<span style="color: #000000;">240</span> SPLITTER oVSp;<br />                         <span style="color: #0000ff;">VERTICAL</span> ;<br />              PREVIOUS CONTROLS oOutLook2003 ;<br />              <span style="color: #0000ff;">LEFT</span> MARGIN <span style="color: #000000;">70</span> ;<br />              <span style="color: #0000ff;">RIGHT</span> MARGIN <span style="color: #000000;">202</span> ;<br />              <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">4</span>, <span style="color: #000000;">1000</span> <span style="color: #0000ff;">PIXEL</span> ;<br />              <span style="color: #0000ff;">OF</span> oApp:<span style="color: #000000;">oWnd</span> ;<br />              _3DLOOK ;<br />    <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span><span style="color: #000000;">25</span>,<span style="color: #000000;">25</span>,<span style="color: #000000;">112</span><span style="color: #000000;">&#41;</span> ;<br />    <span style="color: #0000ff;">UPDATE</span><br />             oVSp:<span style="color: #000000;">lStatic</span>:=.T.<br /><br /><br /><br /><br /><br /><br />          SetParent<span style="color: #000000;">&#40;</span> oHSpl1:<span style="color: #000000;">hWnd</span>, oApp:<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br />          SetParent<span style="color: #000000;">&#40;</span> oHSpl11:<span style="color: #000000;">hWnd</span>, oApp:<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br />          SetParent<span style="color: #000000;">&#40;</span> oVSp:<span style="color: #000000;">hWnd</span>, oApp:<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br /><br /><br /><br /><span style="color: #B900B9;">//------------------------------------------------------------------------</span><br />        <br />        DIITA := DAY<span style="color: #000000;">&#40;</span>DATE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />        oApp:<span style="color: #000000;">dFecha</span>:= CMONTH<span style="color: #000000;">&#40;</span>DATE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />              ANITO := <span style="color: #0000ff;">YEAR</span><span style="color: #000000;">&#40;</span>DATE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />              DIITA:=STR<span style="color: #000000;">&#40;</span>DIITA<span style="color: #000000;">&#41;</span><br />              ANITO:=STR<span style="color: #000000;">&#40;</span>ANITO<span style="color: #000000;">&#41;</span><br /><br /><br />              mesito:=tmes<span style="color: #000000;">&#40;</span>oApp:<span style="color: #000000;">dFecha</span><span style="color: #000000;">&#41;</span><br /><br /><br />               SET <span style="color: #0000ff;">MESSAGE</span> <span style="color: #0000ff;">OF</span> oApp:<span style="color: #000000;">oWnd</span> <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"Polizarium 2010"</span> <span style="color: #0000ff;">CENTERED</span> CLOCK KEYBOARD <span style="color: #000000;">2007</span><br /><br /><br />          WndCenter<span style="color: #000000;">&#40;</span> oApp:<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br /><br />               <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oApp:<span style="color: #000000;">oWnd</span> ;<br />      <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">&#40;</span>SetImagess<span style="color: #000000;">&#40;</span> oApp:<span style="color: #000000;">oWnd</span>, oFld <span style="color: #000000;">&#41;</span>,SetImages<span style="color: #000000;">&#40;</span> oApp:<span style="color: #000000;">oWnd</span>, oFldd <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<br />   <span style="color: #0000ff;">ON</span> RESIZE oSplit:<span style="color: #0000ff;">Adjust</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br />   <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">01</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bPainted</span>:=<span style="color: #000000;">&#123;</span>||PintaTela<span style="color: #000000;">&#40;</span> oFldd:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">01</span><span style="color: #000000;">&#93;</span>,<span style="color: #000000;">0.20</span>, <span style="color: #000000;">13147479</span>, <span style="color: #000000;">16777215</span>,<span style="color: #000000;">0.20</span>, <span style="color: #000000;">16777215</span>, <span style="color: #000000;">13147479</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br /><br /><br /><span style="color: #B900B9;">//-----------------------//</span><br />  **-----------------------------------------------------------------------------------------------------------**<br />**    Pintar o fundo de uma tela<span style="color: #000000;">&#40;</span> Dlg,<span style="color: #0000ff;">Folder</span>,Wnd<span style="color: #000000;">&#41;</span>                                                            **<br />**-----------------------------------------------------------------------------------------------------------**<br />**    Parametros    : <span style="color: #000000;">oDlg</span> : <span style="color: #000000;">Onde</span> vai pintar                                                                     **<br />**                : <span style="color: #000000;">Cor1</span> : <span style="color: #000000;">Cor</span> incial na parte de cima da tela                                                 **<br />**                : <span style="color: #000000;">Cor2</span> : <span style="color: #000000;">Cor</span> <span style="color: #00C800;">Final</span>  na parte de baixo da tela                                                **<br />**    Exemplo        : <span style="color: #000000;">oDlg</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bPainted</span>:=<span style="color: #000000;">&#123;</span>|| PintaTela<span style="color: #000000;">&#40;</span>oDlg<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>,GetSysColor<span style="color: #000000;">&#40;</span><span style="color: #000000;">15</span><span style="color: #000000;">&#41;</span>,GetSysColor<span style="color: #000000;">&#40;</span><span style="color: #000000;">16</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span>                 **<br />**-----------------------------------------------------------------------------------------------------------**<br />    <span style="color: #00C800;">FUNCTION</span> PintaTela<span style="color: #000000;">&#40;</span>oDlgTxt,aCor1,aCor2<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> hWnd:=oDlgTxt:<span style="color: #000000;">hWnd</span><br />    <span style="color: #00C800;">LOCAL</span> aRec:=GetClientRect<span style="color: #000000;">&#40;</span>hWnd<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> oBrush,nX,nStp:=<span style="color: #000000;">&#40;</span>aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>-aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>/<span style="color: #000000;">2</span><br />    <span style="color: #00C800;">LOCAL</span> nColor1:=<span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span>Empty<span style="color: #000000;">&#40;</span>aCor1<span style="color: #000000;">&#41;</span>,GetSysColor<span style="color: #000000;">&#40;</span><span style="color: #000000;">15</span><span style="color: #000000;">&#41;</span>,aCor1<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> nColor2:=<span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span>Empty<span style="color: #000000;">&#40;</span>aCor2<span style="color: #000000;">&#41;</span>,GetSysColor<span style="color: #000000;">&#40;</span><span style="color: #000000;">15</span><span style="color: #000000;">&#41;</span>,aCor2<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> nColorR1:=nRgbRed<span style="color: #000000;">&#40;</span>nColor1<span style="color: #000000;">&#41;</span>,nColorG1:=nRgbGreen<span style="color: #000000;">&#40;</span>nColor1<span style="color: #000000;">&#41;</span>,nColorB1:=nRgbBlue<span style="color: #000000;">&#40;</span>nColor1<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> nColorR2:=nRgbRed<span style="color: #000000;">&#40;</span>nColor2<span style="color: #000000;">&#41;</span>,nColorG2:=nRgbGreen<span style="color: #000000;">&#40;</span>nColor2<span style="color: #000000;">&#41;</span>,nColorB2:=nRgbBlue<span style="color: #000000;">&#40;</span>nColor2<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> nSomaR:=<span style="color: #0000ff;">ABS</span><span style="color: #000000;">&#40;</span>nColorR2-nColorR1<span style="color: #000000;">&#41;</span>,nSomaG:=<span style="color: #0000ff;">ABS</span><span style="color: #000000;">&#40;</span>nColorG2-nColorG1<span style="color: #000000;">&#41;</span>,nSomaB:=<span style="color: #0000ff;">ABS</span><span style="color: #000000;">&#40;</span>nColorB2-nColorB1<span style="color: #000000;">&#41;</span><br />    nSomaR:=IIF<span style="color: #000000;">&#40;</span>nSomaR<<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">&#40;</span>nSomaR/<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>/<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 />    nSomaG:=IIF<span style="color: #000000;">&#40;</span>nSomaG<<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">&#40;</span>nSomaG/<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>/<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 />    nSomaB:=IIF<span style="color: #000000;">&#40;</span>nSomaB<<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">&#40;</span>nSomaB/<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>/<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 />    oDlgTxt:<span style="color: #000000;">GetDC</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:=<span style="color: #000000;">0</span><br />    <span style="color: #00C800;">FOR</span> nX:=<span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> nStp<br />        aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>+=<span style="color: #000000;">2</span><br />        <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BRUSH</span> oBrush <span style="color: #0000ff;">COLOR</span> nRgb<span style="color: #000000;">&#40;</span>nColorR1,nColorG1,nColorB1<span style="color: #000000;">&#41;</span><br />        FillRect<span style="color: #000000;">&#40;</span>oDlgTxt:<span style="color: #000000;">hDC</span>,aRec,oBrush:<span style="color: #000000;">hBrush</span><span style="color: #000000;">&#41;</span><br />        <span style="color: #0000ff;">RELEASE</span> <span style="color: #0000ff;">BRUSH</span> oBrush<br />        aRec<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>+=<span style="color: #000000;">2</span><br />        nColorR1:=IIF<span style="color: #000000;">&#40;</span>nColorR2>=nColorR1,nColorR1+nSomaR,nColorR1-nSomaR<span style="color: #000000;">&#41;</span><br />        nColorG1:=IIF<span style="color: #000000;">&#40;</span>nColorG2>=nColorG1,nColorG1+nSomaG,nColorG1-nSomaG<span style="color: #000000;">&#41;</span><br />        nColorB1:=IIF<span style="color: #000000;">&#40;</span>nColorB2>=nColorB1,nColorB1+nSomaB,nColorB1-nSomaB<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">NEXT</span><br />    oDlgTxt:<span style="color: #000000;">ReleaseDC</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><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 />    <span style="color: #B900B9;">//-------------------------------------------------------------------------//</span><br /><br /><br /> </div>[/code:2mfzecx5] Saluditos <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
ya no salen trasparentes los say en el FWH 10.6 HELP!!!
Aida, Acabamos de publicar una versión revisada de FWH 10.6 que debe corregir eso entre otras cosas <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> gracias!
ya no salen trasparentes los say en el FWH 10.6 HELP!!!
Hola Antonio Gracias por todo ahorita lo checo toy de desvelada <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P --> Saluditos <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
yunus from FW samples - Clientsreport FIVEWIN web service
Hello, 3 small changes in yunus.prg and you can already query the customer file over the Internet with the FIVWIN web service. If someone is interested, please ask. Best regards, Otto [img:37ge6jqz]https&#58;//mybergland&#46;com/fwforum/yunusprg&#46;jpg[/img:37ge6jqz] [img:37ge6jqz]https&#58;//mybergland&#46;com/fwforum/yunusonlineclients&#46;jpg[/img:37ge6jqz]
yunus from FW samples - Clientsreport FIVEWIN web service
I greatly simplified the code for a standard query to the FIVEWIN WEB SERVICE (FWS - Request). Everything runs in GENESIS. [img:2z3fqf5a]https&#58;//mybergland&#46;com/fwforum/standardreport&#46;png[/img:2z3fqf5a]
yunus.prg from FWH samples and HTML report
[img:86wzx3t5]https&#58;//mybergland&#46;com/fwforum/htmlyunus&#46;gif[/img:86wzx3t5]
yunus.prg from FWH samples and HTML report
Hello friends, Here you see how I use WORD for the design. [url:dl3ywqi9]https&#58;//mybergland&#46;com/fwforum/teil1html&#46;mp4[/url:dl3ywqi9] Best regards, Otto
yunus.prg from the fivewin samples
Hello, Here yunus.exe and the web application work with the same dbf files. Best regards, Otto Create table [img:j7mci61y]https&#58;//mybergland&#46;com/fwforum/ajaxclip1&#46;jpg[/img:j7mci61y] AJAX call [img:j7mci61y]https&#58;//mybergland&#46;com/fwforum/ajaxclip2&#46;jpg[/img:j7mci61y] datainvoices.prg [img:j7mci61y]https&#58;//mybergland&#46;com/fwforum/ajaxclip3&#46;jpg[/img:j7mci61y] [img:j7mci61y]https&#58;//mybergland&#46;com/fwforum/yunus&#46;gif[/img:j7mci61y]
yunus.prg from the fivewin samples
Hello friends, I am trying to recreate the menu structure of yunus.prg. [img:2lngkocm]https&#58;//mybergland&#46;com/fwforum/yunus_tab_invoices&#46;jpg[/img:2lngkocm] [img:2lngkocm]https&#58;//mybergland&#46;com/fwforum/yunus_invoices&#46;jpg[/img:2lngkocm] Best regards, Otto
yunus.prg from the fivewin samples
nice do you 'll publish the sample test ?
yunus.prg from the fivewin samples
Dear Otto, very nice work, many thanks
yunus.prg some HTML extensions
Hello friends, for learning and testing, I made some HTML extensions to yunus.prg. Bes regards, Otto HTML REPORT [img:1td7vzyh]https&#58;//mybergland&#46;com/yunushtmlreport&#46;gif[/img:1td7vzyh] WEBFORM [img:1td7vzyh]https&#58;//mybergland&#46;com/yunuswebform&#46;gif[/img:1td7vzyh]
yunus.prg some HTML extensions
Dear Otto, You are becoming a great desktop to web master <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Are you using WebView in your example ?
yunus.prg some HTML extensions
Dear Antonio, I already did these test in April. At that time, WebView2 was not yet generally available. Here I used mod harbour. But I think the source code should work 1:1 with the webview2. I will try. Best regards, Otto
zip / Unzip
exists the possibility of zip unzip file on ppc?thanks thousand
zip SPAN
In preceding posts, Antonio said I should use the hbzip.lib found in xharbour.org to Zip files. Ok, I've used it, but calling the function HB_ZIPFILEBYPKSPAN causes a FiveWin GPF. I've tried that function in Xharbour console, it plays well. It seems an incompatibility with FWH. Here's the code: [code:3qrz55zh] #include "FiveWin&#46;ch" FUNCTION main&#40;&#41; hb_setdiskzip&#40; &#123; | nDisk | Alert&#40; "Please insert disk no " + Str&#40; nDisk, 3 &#41; &#41; &#125; &#41; IF HB_ZIPFILEBYPKSPAN&#40; "a&#58;\TEST&#46;ZIP", "TEST&#46;PRG" &#41; Alert&#40; "File was successfully created" &#41; ENDIF RETURN NIL [/code:3qrz55zh] Any suggestion? thanks
zip SPAN
I confirm the problem. Found no solution so far. EMG
zip SPAN
You must check if hbzip.lib contains any compiled PRG and if so, compile it with Harbour.
zip SPAN
Why with Harbour? I used xHarbour for my tests. EMG
zip SPAN
[quote="Maverich":3uts7zi0]In preceding posts, Antonio said I should use the hbzip.lib found in xharbour.org to Zip files. Ok, I've used it, but calling the function HB_ZIPFILEBYPKSPAN causes a FiveWin GPF. I've tried that function in Xharbour console, it plays well. It seems an incompatibility with FWH. Here's the code: [code:3uts7zi0] #include "FiveWin&#46;ch" FUNCTION main&#40;&#41; hb_setdiskzip&#40; &#123; | nDisk | Alert&#40; "Please insert disk no " + Str&#40; nDisk, 3 &#41; &#41; &#125; &#41; IF HB_ZIPFILEBYPKSPAN&#40; "a&#58;\TEST&#46;ZIP", "TEST&#46;PRG" &#41; Alert&#40; "File was successfully created" &#41; ENDIF RETURN NIL [/code:3uts7zi0] Any suggestion? thanks[/quote:3uts7zi0] Ricardo Can you try with the complete set of parameters ? Something like the following ? lzipwithpath := .t. lZipDone:= HB_ZIPFILEBYPKSPAN( cZip , aFiles , 9, { |cFile,npos| QOUT( cFile ) }, ; .T.,, lZipWithPath, .F. ) Can't test it here, i have no floppy drive. as far as i can recall it was working OK Richard
zip SPAN
richard, I simply used the code that comes with the xharbour documentation. ANY example that uses hb..SPAN causes a GPF. If you consider that a ZIP file is often used for backup on removable drives (ZIP, flash disks, ecc.), it's a great problem. I don't understand what Antonio said-look for prg inside the lib-how can i recompile the prgs if I don't have any source? regards
zip SPAN
Riccardo, I missunderstood you, I though you were using Harbour, instead of xharbour. Please create a MAP file and search for the GPF address into the MAP file. Don't you get a FWH MsgAlert() with the calls stack list ?
zip SPAN
Found! Simply replace Alert() with MsgInfo() and then it will work perfectly! EMG
zip SPAN
ok, it plays. But if there isn't a disk in the floppy, how to exit the function? I haven't found a valid solution. regards
zip and unzip
I read all posts on how to zip up files. Using Harbour. if some one could post or send me some code on how to do this. I've put hbzip.lib but I keep getting error.. unresolved external _hb_fun_hb_zipfile Help
zip and unzip
Try linking hbziparc.lib. EMG
zip and unzip
Thanks for the quick responce. hbzip.lib (date 6-27-08, size 581,192) if i link hbziparc.lib. (date 9-12-08,size 8700) This is the link script [code=fw:27jtjyyp]<div class="fw" id="{CB}" style="font-family: monospace;">echo c0w32.obj + > b32.bc<br />echo %<span style="color: #000000;">1</span>.obj, + >> b32.bc<br />echo %<span style="color: #000000;">1</span>.exe, + >> b32.bc<br />echo %<span style="color: #000000;">1</span>.map, + >> b32.bc<br />echo %fwh%\lib\FiveH.lib %fwh%\lib\FiveHC.lib + >> b32.bc<br />echo %hdir%\lib\hbrtl.lib + >> b32.bc<br />echo %hdir%\lib\hbzip.lib + >> b32.bc<br />echo %hdir%\lib\hbziparc.lib + >> b32.bc<br />echo %hdir%\lib\hbvm.lib + >> b32.bc<br />echo %hdir%\lib\gtgui.lib + >> b32.bc<br />echo %hdir%\lib\hblang.lib + >> b32.bc<br />echo %hdir%\lib\hbmacro.lib + >> b32.bc<br />echo %hdir%\lib\hbrdd.lib + >> b32.bc<br />echo %hdir%\lib\rddntx.lib + >> b32.bc<br />echo %hdir%\lib\rddcdx.lib + >> b32.bc<br />echo %hdir%\lib\rddfpt.lib + >> b32.bc<br />echo %hdir%\lib\hbsix.lib + >> b32.bc<br />echo %hdir%\lib\hbdebug.lib + >> b32.bc<br />echo %hdir%\lib\hbcommon.lib + >> b32.bc<br />echo %hdir%\lib\hbpp.lib + >> b32.bc<br />echo %hdir%\lib\hbcpage.lib + >> b32.bc<br />echo %hdir%\lib\hbw32.lib + >> b32.bc</div>[/code:27jtjyyp] I get a number of errors: wild2regEx inflateend deflate get_crc_table deflateinit2 crc32 fscurdirbuffex inflateinit2 inflate retcadagrt
zip and unzip
If you are using Harbour (not xHarbour) you have to remove hbzip.lib and add hbmzip.lib and hbzlib.lib. EMG
zip and unzip
Using harbour. I have hblib.lib but i do not have hbmzip.lib. Please direct me on how to get a copy. Thanks again.
zip and unzip
Do you have the latest FWH? If yes, you should have hbmzip.lib. EMG
zip and unzip
I'm using fwh89. Is the hbmzip.lib compatible with 89 and if so can you send me a copy. Thanks.
zip and unzip
You can't mix libraries from different Harbour versions. If hbmzip.lib isn't in your Harbour package then you don't need it. Sorry, I don't remember which libs was needed for older Harbour releases. EMG
zip and unzip
The lib was sent to me by Antonio in Aug of 2008. I jsut found it on my drive. I'll see if it works. Thanks for the help.
zip e unzip con fwppc
Salve ho trovato su internet sorgenti free per zip e unzip ho provato a compilarli e vanno bene per clarm ma non riesco ad interfacciarli con harbur_ce <!-- m --><a class="postlink" href="http://www.eurosoftsnc.net/fivewin/zip_utils_src.zip">http://www.eurosoftsnc.net/fivewin/zip_utils_src.zip</a><!-- m --> se qualcuno ci riesce potrebbe essere utile a tutti aggiungere la funzionalità di zip e unzip per fwppc Grazie Santo Venezia
zip e unzip con fwppc
Santo, Please try this harbour library with FWPPC: <!-- m --><a class="postlink" href="http://www.mediafire.com/?sharekey=414c17b7b136abb70f83d91f6dff7c38461c8300a0ac16a45621d66e282a0ee8">http://www.mediafire.com/?sharekey=414c ... 6e282a0ee8</a><!-- m --> You can use hb_ZipFile() and hb_UnzipFile (). [code=fw:3tgwiss6]<div class="fw" id="{CB}" style="font-family: monospace;">lOk := hb_ZipFile<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cTarget</span> &nbsp;, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aFiles , ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">nCompress</span> , ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bZip &nbsp;, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">lOverwrite</span> , ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// overwrite</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">cPassword</span> &nbsp;, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">lWithPath</span>,; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// with path</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">lWithDrive</span> &nbsp;<span style="color: #000000;">&#41;</span><br /><br />lOk := hb_UnZipFile<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cZip</span> &nbsp; &nbsp; &nbsp; &nbsp;, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bOnUnZipFile &nbsp;, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">lWithSubDir</span> &nbsp; , ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">cPassword</span> &nbsp; &nbsp; , ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">cZipDir</span> + <span style="color: #ff0000;">"<span style="color: #000000;">\"</span> ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::aFiles &nbsp; &nbsp; &nbsp; &nbsp;,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::bProgress) <br /></span></div>[/code:3tgwiss6]
zip en xHarbour
Quiero comprimir las bases de datos de mi sistema, a modo de backup. Estoy compilando con xHarbour 1.2.1 Rev 9421 y he leido los hilos en el foro cuales son las funciones y librerías para poder comprimir. Una de las funciones es hb_zipfile() y las librerías para la compilación son zlib.lib y hbzip.lib. No tengo hbzip y al invocar la función hb_zipfile me dice que no la encuentra. evidentemente me hace falta otra librería. La pregunta es donde puedo conseguir la librería y si estoy bien orientado ??? Gracias de antemano Saludos
zip en xHarbour
Horacio la función a utilizar es hb_zipfile [code=fw:2nsxss7h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> CreateZip<span style="color: #000000;">&#40;</span>aBtns,oDlg <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> z<br />oMtr:<span style="color: #000000;">SetRange</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span>, &nbsp;Len<span style="color: #000000;">&#40;</span> aZip <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />oMtr:<span style="color: #000000;">setpos</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> <br /><br />&nbsp;<span style="color: #00C800;">for</span> z = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span>aZip<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;Hb_ZIPFILE<span style="color: #000000;">&#40;</span> cname1,aZip<span style="color: #000000;">&#91;</span>z<span style="color: #000000;">&#93;</span>,<span style="color: #000000;">9</span>,,,,.F.<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oMtr:<span style="color: #000000;">nPosition</span> += <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; sysrefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">next</span><br />abtns<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Enable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />odlg:<span style="color: #0000ff;">update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span></div>[/code:2nsxss7h] Luis
zip en xHarbour
Tienes que enlazar zlib.lib y hbzip.lib para xharbour Disculpa anteriromente se me escapo el submit Luis
zip en xHarbour
Otra vez... hbzip.lib la tenes en el directorio lib de xharbour
zip en xHarbour
Gracias Luis por contestar, no está esa libreria en el directorio .\lib, por eso pregunte donde podía bajarla. Tienes idea donde ??? Nuevamente muchas gracias. Saludos
zip en xHarbour
En xharbour\lib siempre vino con esa librería seguramente se te ha borrado bajala de aqui <!-- m --><a class="postlink" href="http://www.4shared.com/file/zV1-hIXY/hbzip.html">http://www.4shared.com/file/zV1-hIXY/hbzip.html</a><!-- m --> Luis
zip en xHarbour
Muchísimas gracias Luis, este fin de semana me dedicaré a terminar esta rutina. Nuevamente agradecido ... Saludos
zip en xHarbour
Mírate este hilo: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=18371&hilit=pcrepos">viewtopic.php?f=6&t=18371&hilit=pcrepos</a><!-- l -->
zip en xHarbour
Esto tambíen te será útil: [url:247m278v]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=18371&hilit=pcrepos#p96610[/url:247m278v]
zip files and unzip files
A major part of my program is users saving data to zip files. Then unziping back into the program. Never a problem in 16 bit version. Code doesn't work in 32 bit.Looked at testzip.prg and testuzip.prg. Not working. Funcs don't exist.Need help here....THanks in advance.Harvey
zip files and unzip files
[url:1xim47oz]http&#58;//forums&#46;fivetechsoft&#46;com/viewtopic&#46;php?t=11622&highlight=hbzip[/url:1xim47oz]You can search this forum for hbzip if you wish to read more similar posts
zip files and unzip files
I use xHarbour's HB_ZIPFILE().In its simplest form use:- HB_ZIPFILE( cZipFile, aFiles2Zip)Full spec is :HB_ZIPFILE( <cFile>, <cFileToCompress> | <aFiles>, <nLevel>,; <bBlock>, <lOverWrite>, <cPassword>, <lWithPath>,; <lWithDrive>, ; <pFileProgress> ) ---> lCompressFor unziping:HB_UNZIPFILE( <cZipFile>, <bBlock>, <lWithPath>,; <cPassWord>, <cPath>, <cFile> | <aFile>, <pFileProgress> ) ---> lCompress Note that you must link HBZIP.lib and ZLIB.lib.Works really well for me.Colin
zip files and unzip files
Thanks for the response. I'm using harbour. Where do I get the HBZIP.LIB and ZLIB.lib for hourbor? Not in the harbour files.
zip unzip problem
what do I have to do to manage compeling testzip.prg ?We got this errors.hbzip.lib is not included in harbour package.Where can we get the tools which solve the our Problem ? ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&#380;&#322; FiveWin for Harbour 8.01 - Jan. 2008 Harbour development power &#322;Ü&#322; (c) FiveTech, 1993-2008 for Microsoft Windows 95/98/NT/2000/ME/XP/Vista &#322;&#368;&#340;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&#366;&#368;&#729; ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßHarbour Beta build 0.99-3 Intl.Copyright 1999-2007, <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->Compiling 'testzip.prg'...Lines 3690, Functions/Procedures 4Generating C source output to 'testzip.c'... Done.Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borlandtestzip.c:Borland Resource Compiler Version 5.40Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 BorlandError: Unresolved external '_HB_FUN_ZIPFILE' referenced from V:\FWH\SAMPLES\TESTZIP.OBJError: Unresolved external '_HB_FUN_ZIPTYPE' referenced from V:\FWH\SAMPLES\TESTZIP.OBJError: Unresolved external '_HB_FUN_ZIPBLOCK' referenced from V:\FWH\SAMPLES\TESTZIP.OBJError: Unresolved external '_HB_FUN_ZIPMSG' referenced from V:\FWH\SAMPLES\TESTZIP.OBJ* There are errors
zip unzip problem
ztibor,samples\TestZip.prg is for 16 bits only.You have to use xHarbour/Harbour provided HBZIP.lib libraryHere you have a working sample:[code:2gbzzm34] // // $Id&#58; testzip&#46;prg,v 1&#46;6 2003/09/15 02&#58;57&#58;10 paultucker Exp $ // // Requires samples&#46;lib for gauge support // #include "common&#46;ch" #include "setcurs&#46;ch" proc Main&#40;&#41; Local aFiles, aGauge, nLen, aDir Local aSaveFiles Local aGaugeFile // This is the 'safe' thing to do until Alert&#40;&#41; is given focus&#46; SetMode&#40; 50,80 &#41; ZipCreate&#40; "TEST&#46;ZIP", "testzip&#46;prg" &#41; aFiles &#58;= &#123;"testzip&#46;prg",GetEnv&#40;"windir"&#41;+ "\win&#46;ini"&#125; nLen &#58;= Len&#40;afiles&#41; ZipCreate&#40; "TEST1&#46;ZIP", aFiles&#91;2&#93; &#41; ZipCreate&#40; "TEST2&#46;ZIP", aFiles, 8, &#123;|cFile,nPos| qout&#40;"Added " + cFile&#41;&#125;&#41; // something here is not clipper compatible // &#40;These can be removed after the box drawing is corrected&#41; ?;?;? ? ?;?;? aGauge &#58;= GaugeNew&#40; row&#40;&#41;-6, 5, row&#40;&#41;-4,74 , "W/B", "W+/B" ,'²'&#41; GaugeDisplay&#40; aGauge &#41; aGaugeFile &#58;= GaugeNew&#40; row&#40;&#41;+2, 5, row&#40;&#41;+4,74 , "W/B", "W+/B" ,'²'&#41; GaugeDisplay&#40; aGaugeFile &#41; aFiles &#58;= &#123;&#125; aDir &#58;= Directory&#40; "*&#46;prg" &#41; Aeval&#40; aDir, &#123;|a| aadd&#40; aFiles, a&#91;1&#93;&#41; &#125;&#41; /* lets add an new bigger files on this example*/ aDir &#58;= Directory&#40; "*&#46;map" &#41; Aeval&#40; aDir, &#123;|a| aadd&#40; aFiles, a&#91;1&#93;&#41; &#125;&#41; aDir &#58;= Directory&#40; "*&#46;c" &#41; Aeval&#40; aDir, &#123;|a| aadd&#40; aFiles, a&#91;1&#93;&#41; &#125;&#41; nLen &#58;= Len&#40;afiles&#41; // Lets save aFile Array for later usage aSaveFiles &#58;= aFiles set cursor off ZipCreate&#40;"test3&#46;zip", aFiles, 8, ; &#123;|cFile,nPos| GaugeUpdate&#40;aGauge,nPos/nLen&#41; &#125;,,'hello',,,; &#123;|nPos,nCur| GaugeUpdate&#40;aGaugeFile,nPos/nCur&#41;&#125;&#41; set cursor on ? str&#40; nlen &#41; +" files were added to the zip" // method 1 aFiles &#58;= hb_GetFilesInZip&#40; "test3&#46;zip" &#41; if aFiles != NIL ? str&#40; Len&#40; aFiles &#41; &#41; + " files are in the zip" endif // or simpler, method 2 ? str&#40; hb_GetFileCount&#40;"test3&#46;zip" &#41; &#41; + " files using alternate method" ZipHasPassword&#40; "TEST1&#46;ZIP" &#41; ZipHasPassword&#40; "test3&#46;zip" &#41; //ok, now we create an file on an floppy ? "Put a formatted Floppy/Zip disk in drive A&#58; and press any key - &#40;ESC&#41; to skip" ? "Existing files will not be deleted!" Inkey&#40; 0 &#41; if lastkey&#40;&#41; != 27 Cls // no need for all the qout's after a cls&#46; aGauge &#58;= GaugeNew&#40; row&#40;&#41;, 5, row&#40;&#41;+2,74 , "W/B", "W+/B" ,'²'&#41; GaugeDisplay&#40; aGauge &#41; ?;? aGaugeFile &#58;= GaugeNew&#40; row&#40;&#41;, 5, row&#40;&#41;+2,74 , "W/B", "W+/B" ,'²'&#41; GaugeDisplay&#40; aGaugeFile &#41; HB_SETDISKZIP&#40; &#123; | x | Alert&#40; "Please insert disk no " + Str&#40; x , 3 &#41; &#41; &#125; &#41; set cursor off ZipCreateToFloppy&#40;"test4&#46;zip", aSaveFiles, 9, ; &#123;|cFile,nPos| GaugeUpdate&#40;aGauge,nPos/nLen&#41; &#125;,,'hello',,,; &#123;|nPos,nCur| GaugeUpdate&#40;aGaugeFile,nPos/nCur&#41;&#125;&#41; set cursor on endif function ZipCreate&#40;cFile, uContents, nLevel, bUpdate, lOverwrite, password,; lPath, lDrive, bFileUpdate&#41; Local lRet Default lOverwrite to &#46;t&#46; Default lPath to &#46;t&#46; IF &#40; lRet &#58;= HB_ZIPFILE&#40; cFile, uContents, nLevel, bUpdate, lOverwrite,; password, lPath, lDrive, bFileUpdate&#41; &#41; ? cFile + " was successfully created" ENDIF Return lRet function ZipCreateToFloppy&#40;cFile, uContents, nLevel, bUpdate, lOverwrite, password,; lPath, lDrive, bFileUpdate&#41; Local lRet Default lOverwrite to &#46;t&#46; Default lPath to &#46;t&#46; IF &#40; lRet &#58;= HB_ZIPFILEBYPKSPAN &#40; "a&#58;\" + cFile, uContents, nLevel, bUpdate, lOverwrite,; password, lPath, lDrive, bFileUpdate&#41; &#41; ? cFile + " was successfully created" ENDIF Return lRet Function ZipHasPassword&#40; cFile &#41; Local lRet ? cFile + " has " + iif&#40;lRet &#58;= hb_ZipWithPassword&#40;cFile&#41;,"a","no" &#41;+ " password" Return lRet [/code:2gbzzm34]
zip unzip problem
Antonio,would you be so kind to post the necessary changes in buildh.bat/buildx,bat to compile this sample.Thanks in advanceOtto
zip-unzip
I'm trying to work with zipfile() and unzipfile(), testing testzip.prg in the samples folder. I get a link error for the two unknown functions. Looking at functions help of FWH, it seems the two functions were integrated in FWH libs. I'm using Xharbour, where is the problem? regards
zip-unzip
Riccardo, Those functions are not available in FWH. You may use the free hbzip.lib for Harbour/xHarbour.
zip-unzip
Ok Antonio. Why are they in FWH 2.6 docs? anyway, where could I find hbzip.lib? regards, riccardo
zip-unzip
[quote="Maverich":3wq0w2jd]Ok Antonio. Why are they in FWH 2.6 docs? anyway, where could I find hbzip.lib? regards, riccardo[/quote:3wq0w2jd] Those functions are in FW 2.6 because they only work on 16 bits, both, 32 & 16 bits FiveWin use the most of the functions, not all of them so they share the same documentatio. FW 16 bits zip system is based on a free DLL set inclued with fivewin, (see DLL folder, infounz.dll and wizzip.dll) and those DLLs can only be used under 16 bits FiveWin. If you are workin with (x)HB, you have to use the hbzip.lib inclued in the contributions of the project, for xHB you can donwload the lib from <!-- w --><a class="postlink" href="http://www.xharbour.org">www.xharbour.org</a><!-- w -->, section DOWNLOADS/CONTRIBS Regard RF <!-- m --><a class="postlink" href="http://www.google.com">http://www.google.com</a><!-- m -->
zip-unzip
thanks rene
zipfiles
I tryed to compile testuzip.prg but it make errors I also insert into file batch hbzip.lib but the compilation not found these functions [code:1inbbykx] &#91;1&#93;&#58;iLink32&#46;Exe -Gn -aa -Tpe -s @testuzip&#46;bcl Turbo Incremental Link 5&#46;00 Copyright &#40;c&#41; 1997, 2000 Borland Error&#58; Unresolved external '_HB_FUN_UNZIPFILE' referenced from C&#58;\WORK\FWH\SAMPLES\OBJ\TESTUZIP&#46;OBJ Error&#58; Unresolved external '_HB_FUN_ISZIP' referenced from C&#58;\WORK\FWH\SAMPLES\OBJ\TESTUZIP&#46;OBJ Error&#58; Unresolved external '_HB_FUN_GETFIRSTINZIP' referenced from C&#58;\WORK\FWH\SAMPLES\OBJ\TESTUZIP&#46;OBJ Error&#58; Unresolved external '_HB_FUN_GETNEXTINZIP' referenced from C&#58;\WORK\FWH\SAMPLES\OBJ\TESTUZIP&#46;OBJ Error&#58; Unresolved external '_HB_FUN_CLOSEZIPFILE' referenced from C&#58;\WORK\FWH\SAMPLES\OBJ\TESTUZIP&#46;OBJ [/code:1inbbykx] How I can compile it ?
zipfiles
Hello Silvio See you this link <!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=4677&highlight=litezip">http://fivetechsoft.com/forums/viewtopi ... ht=litezip</a><!-- m --> I make the wraper to two dlls A greeting
zipfiles
Paco thanks but I have this old program and I want use it Antonio, I have compiled also testunzip.prg of fwh and I insert hbzip on batch compilation the procedure not compile it and it make errors
zipfiles
Silvio, FW 16 bits ZIP functions are not available in FWH, because we were using an external library that its not available for 32 bits.
zipfiles
good Mr Linares, i want use 32 bit code... but I have try to compile your testzip.prg and testuzip.prg these files are in fwh\samples directory I use into batch file also hbzip.lib I need these functions iszip() getfirstinzip() getnextinzip() closezipfile() unzipfile() Can you explain me How I can use it ?
zoom and unzoom
I wish insert a slider on bottom of window and zoom and unzoom particular section of wndmain ( and all controls are showed) How make it ?
zoom and unzoom
Silvio, [quote:wilr79aw]I wish insert a slider on bottom of window and zoom and unzoom particular section of wndmain ( and all controls are showed)[/quote:wilr79aw] I tested to zoom sections but [color=#0000FF:wilr79aw]NOT[/color:wilr79aw] in edit-mode only viewing that works on cursorposition the area is defined with a given size from a bottom slider [quote:wilr79aw]particular section of wndmain [/quote:wilr79aw] The zoom-section is defined with the size of the result-area the cursor-position is the center. here is the test <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim.gif" alt=":!:" title="Exclamation" /><!-- s:!: --> You can zoom / unzoom any area on cursorposition. A slider can be used to define the zoom-factor, a button to switch zoom on/off. [img:wilr79aw]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Zoom20&#46;jpg[/img:wilr79aw] regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
zoom and unzoom
no I sent you a message
zoom and unzoom
Hi Uwe, Is it possible to see an example source for the Zoom In / Zoom Out function. I would like to use this for one of my application. Making the cursor as center point..on the main window TEXTTITLE Thnx, Regards
zoom and unzoom
Uwe use the zoom function of samples\zoomer.prg or zoomer2.prg I Mean another zoom I have 200 btns on a dialog with resize and I wish resize all controls on this dialog ( each controls can have founts and text ) sample : for this test ( new calculator) my function run ok because the controls are all type btnbmps (the fonts are recreated for each controls) if there are other type of control not run ok [img:1pu5vxz4]https&#58;//i&#46;postimg&#46;cc/fymb7N47/calc&#46;gif[/img:1pu5vxz4]
zoom and unzoom
Thanks, Silvio, Nice, magnification tool. I will look into the sample zoomer prgs and try to fit it into my application.
“Certified for Windows Vista” Software Logo Requirements
Hello! <!-- m --><a class="postlink" href="http://blogs.msdn.com/uac/archive/2006/06/28/650262.aspx">http://blogs.msdn.com/uac/archive/2006/ ... 50262.aspx</a><!-- m --> [quote:1g3kq19y]Critical to the success of User Account Control is having software that works well for standard users and administrators, without excess prompts. Since User Account Control is such a central part of Windows Vista, User Account Control compatibility is one of the key requirements to display the Certified for Windows Vista Logo on software. [/quote:1g3kq19y] [quote:1g3kq19y]Make sure the application works well for standard users, unless it is something truly designed to be run only by system administrators such as disk partitioning software. If the program has admin and non-admin components the main application should still be run as a standard user and administrative features should be moved to a separate executable. [/quote:1g3kq19y] [quote:1g3kq19y]Executable files with .EXE, .DLL, .SYS, .DRV, .OCX, .CPL, or .SCR extensions must be signed with an Authenticode certificate.[/quote:1g3kq19y] Roman
¡AYUDA URGENTE! TRerport bug en startgroup al inciar el docu
Por favor ayudenme he pasado muchas horas en resolver el siguente problema y no he podido: Mando imprimir un encabezado antes de comenzar la impresion de un grupo, pero siempre al iniciar el documento se sobreescribe con la primera linea del grupo. Despues de que se imprime el primer grupo el problema no ocurre, el encabezado del grupo ya no se empalma con la impresion de la primera linea del grupo El codigo es: [code:1dnrg60h] REPORT oReport ; TITLE WcTitulo2; HEADER WcTitulo1 CENTER; FOOTER OemtoAnsi&#40;"Pagina&#58; "&#41;+str&#40;oReport&#58;nPage,3&#41; right; FONT oFontArial8; preview COLUMN TITLE 'Fecha' data Fecha COLUMN TITLE 'Codigo' data Codigo GROUP ON codigo; footer 'Total de movimientos'+str&#40;oReport&#58;aGroups&#91;1&#93;&#58;nCounter&#41; END REPORT ACTIVATE REPORT oReport; on StartGroup &#40;oReport&#58;newLine&#40;&#41;,oReport&#58;&#40;'Nuevo Grupo'&#41;,oReport&#58;newLine&#40;&#41;&#41; [/code:1dnrg60h] Al iniciar la impresion del documento la frase "Nuevo Grupo" se sobreescribe con la fecha del primer elemento del grupo. A partir del siguiente grupo que se imprime en el documento el problema ya no ocurre. Uso FWH 2.4 BCC 5.5 y XH 0.99.3 De antemano Muchas Gracias. Jose Rios.
¡AYUDA URGENTE! TRerport bug en startgroup al inciar el docu
Buenos Dias. Es casi un echo que todos los que programamos en FWH usamos o hemos usado alguna vez el motor de reportes. Por lo menos alguien digame si en alguna version posterior a la 2.4 no ocurre este probema. Gracias. Jose Rios.
¡AYUDA URGENTE! TRerport bug en startgroup al inciar el docu
Hola Fernando. Si, ya probe poner varios newline(), pero cuando es el primer grupo del documento hace caso omiso de las lineas a saltar. A partir del segundo grupo este problema no ocurre. ¿a ti te ha ocurrido este problema?. Saludos.
¡AYUDA URGENTE! TRerport bug en startgroup al inciar el docu
Parece ser que alguien mas ya habia tenido este problema, pero no tuvo respuestas en el foro: <!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=6233&highlight=startgroup">http://fivetechsoft.com/forums/viewtopi ... startgroup</a><!-- m -->. Saludos.
¡AYUDA URGENTE! TRerport bug en startgroup al inciar el docu
Hola Amigos. El motor de reportes FW en combinacion con scopes y los AOF, permite hacer maravillas, se pueden crear reportes que de otra forma nos llevarian muchisimas mas lineas. En un sistema de punto de venta que estoy desarrollando utilizo estas herramientas para hacer reportes de kardex, estadisticas, etc., con muy pocas lineas de codigo. Pero tengo el problema que les planteo del encabezado del primer grupo del documento que se sobreescribe con la primera linea del primer grupo. ¿Alguien sabe como solucionar esto?. De antemano muchas gracias. Jose Rios.
¡AYUDA URGENTE! TRerport bug en startgroup al inciar el docu
José: Yo utilizo las siguientes líneas y me funcionan bien oReport:EndLine() oReport:StartLine() Saludos, Armando
¡AYUDA URGENTE! TRerport bug en startgroup al inciar el docu
¡Armando Muchas Gracias!. Problema arreglado anexando un oReport:endLine() antes del oReport:say() en StartGroup Saludos. Jose Rios.
¡Feliz Día Programadores!
Feliz día para todos! Y gracias por los aportes a esta gran comunidad!
¡Feliz Día Programadores!
Llegó el dia 256 del año! Feliz día para todos nosotros! Un Abrazo !
¡Feliz Día Programadores!
01000110 01000101 01001100 01001001 01011010 00100000 01000100 01001001 01000001 00100000 01000100 01000101 01001100 00100000 01010000 01010010 01001111 01000111 01010010 01000001 01001101 01000001 01000100 01001111 01010010
¡Feliz Día Programadores!
01101000 01100001 01110010 01100010 01101111 01110101 01110010 00100000 01111001 00100000 01100110 01101001 01110110 01100101 01110111 01101001 01101110 00100000 01110000 01101111 01110111 01100101 01110010
¡Feliz Día Programadores!
Muchas Felicidades estimados amigos!!
¡Feliz Día Programadores!
Feliz día para todos los excelentes programadores de esta maravillosa comunidad. Saludos Ruben Dario Fernández Enviado desde mi 21081111RG mediante Tapatalk