USUÁRIO:      SENHA:        SALVAR LOGIN ?    Adicione o VBWEB na sua lista de favoritos   Fale conosco 

 

  Fórum

  Visual Basic
Voltar
Autor Assunto:  Como fazer ?
Msmarcus_RJ
RIO DE JANEIRO
RJ - BRASIL
Postada em 24/10/2004 19:18 hs         
=- Boa noite a Todos -=

(~) Bom, eu gostaria de criar uma função assim:

Suponhamos que num TEXTBOX eu insira um texto de HTML

<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title>Google</title><style><!--
body,td,a,p,.h{font-family:arial,sans-serif;}
.h{font-size: 20px;}
.q{color:#0000cc;}
//-->
</style>
<script>
<!--
function sf(){document.f.q.focus();}
// -->
</script>
</head><body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 onLoad=sf()><center><img src="/intl/pt-BR_br/images/logo.gif" width=276 height=110 alt="Google"><br><br>
<form action=/search name=f><table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font size=-1><b>Web</b>&nbsp;&nbsp;&nbsp;&nbsp;<a id=1a class=q href="/imghp?hl=pt-BR&tab=wi&ie=UTF-8">Imagens</a>&nbsp;&nbsp;&nbsp;&nbsp;<a id=2a class=q href="/grphp?hl=pt-BR&tab=wg&ie=UTF-8">Grupos</a>&nbsp;&nbsp;&nbsp;&nbsp;<a id=3a class=q href="/dirhp?hl=pt-BR&tab=wd&ie=UTF-8">Diretório</a>&nbsp;&nbsp;&nbsp;&nbsp;</font></td></tr></table><table cellspacing=0 cellpadding=0><tr><td width=25%>&nbsp;</td><td align=center><input type=hidden name=hl value=pt-BR><input type=hidden name=ie value="ISO-8859-1"><input maxLength=256 size=55 name=q value=""><br><input type=submit value="Pesquisa Google" name=btnG><input type=submit value="Estou com sorte" name=btnI></td><td valign=top nowrap width=25%><font size=-2>&nbsp;&nbsp;<a href=/advanced_search?hl=pt-BR>Pesquisa avançada</a><br>&nbsp;&nbsp;<a href=/preferences?hl=pt-BR>Preferências</a><br>&nbsp;&nbsp;<a href=/language_tools?hl=pt-BR>Ferramentas de idiomas</a></font></td></tr><tr><td colspan=3 align=center><font size=-1>Pesquisar: <input id=all type=radio name=meta value="" checked><label for=all> a web</label><input id=lgr type=radio name=meta value="lr=lang_pt" ><label for=lgr> páginas em português</label><input id=cty type=radio name=meta value="cr=countryBR" ><label for=cty>páginas do Brasil</label></font></td></tr></table></form><p><font size=-1><p> </font><br><br><font size=-1><a href=/intl/pt/ads/>Soluções de publicidade</a> - <a href=/intl/pt-BR/about.html>Tudo sobre o Google</a> - <a href=http://www.google.com/ncr>Google.com in English</a></font><p><font size=-2>&copy;2004 Google - Pesquisando 4.285.199.774 páginas na Web</font></p></center></body></html

Eu gostaria de criar uma função que verifica-se linha por linha
Se o código .htm existe ( e se não existir ele possa complementar )

Ex:

www.google.com.br/index
' se você perceber não existe o .htm

(~) Ele irá verificar que não tem e irá complentar, veja o 'EXEMPLO' abaixo

www.google.com.br/index.htm
' se você perceber agora existe o .htm

Alguem tem idéia de como fazer isto ?
O que eu citei acima do código HTML foi um exemplo do que eu quero fazer.

Até mais,

Atenciosamente,
Marcus Vinícius

Se quiser entrar em contato comigo me envie um e-mail para Msmarcus@hotmail.com
Que em breve estarei entrando em contato contigo.
 

______________________________
Resolveu ? Tópico Trancado!

     
Página(s): 1/1    


Seu Nome:

Seu eMail:

ALTERAR PARA MODO HTML
Mensagem:

[:)] = 
[:P] = 
[:(] = 
[;)] = 

HTML DESLIGADO

     
 VOLTAR

  



CyberWEB Network Ltda.    © Copyright 2000-2026   -   Todos os direitos reservados.
Powered by HostingZone - A melhor hospedagem para seu site
Topo da página