Jump to content

Tirar porçao de codigo html de um ficheiro


zoep
 Share

Recommended Posts

Bom Dia pessoal, eu tenho um ficheiro de texto com esta porção de código

<tbody><tr class="Laranja"><td class="titulotabela" width="20%" align="center">Indexante</td><td class="titulotabela" width="20%" align="center">Prazo</td><td class="titulotabela" width="18%" align="center">Data</td><td class="titulotabela" width="16%" align="center">Valor</td><td class="titulotabela" width="26%" align="center">Média do último mês</td></tr><tr class="Branco"><td><font class="textotabela">EURIBOR</font></td><td><font class="textotabela">1 Semana</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,169%</font></td><td align="right"><font class="textotabela">-</font></td></tr><tr class="Branco"><td><font class="textotabela">EURIBOR</font></td><td><font class="textotabela">1 Mês</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,398%</font></td><td align="right"><font class="textotabela">1,628%</font></td></tr><tr class="Branco"><td><font class="textotabela">EURIBOR</font></td><td><font class="textotabela">3 Meses</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,726%</font></td><td align="right"><font class="textotabela">1,943%</font></td></tr><tr class="Branco"><td><font class="textotabela">EURIBOR</font></td><td><font class="textotabela">6 Meses</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,842%</font></td><td align="right"><font class="textotabela">2,034%</font></td></tr><tr class="Branco"><td><font class="textotabela">EURIBOR</font></td><td><font class="textotabela">12 Meses</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,957%</font></td><td align="right"><font class="textotabela">2,135%</font></td></tr><tr class="Branco"><td><font class="textotabela">LIBOR</font></td><td><font class="textotabela">1 Mês</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,386%</font></td><td align="right"><font class="textotabela">-</font></td></tr><tr class="Branco"><td><font class="textotabela">LIBOR</font></td><td><font class="textotabela">3 Meses</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,732%</font></td><td align="right"><font class="textotabela">-</font></td></tr><tr class="Branco"><td><font class="textotabela">LIBOR</font></td><td><font class="textotabela">6 Meses</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,856%</font></td><td align="right"><font class="textotabela">-</font></td></tr><tr class="Branco"><td><font class="textotabela">LIBOR</font></td><td><font class="textotabela">12 Meses</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,970%</font></td><td align="right"><font class="textotabela">-</font></td></tr><tr class="Branco"><td><font class="textotabela">EONIA</font></td><td><font class="textotabela">-</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,261%</font></td><td align="right"><font class="textotabela">-</font></td></tr><tr class="Branco"><td><font class="textotabela">TBA</font></td><td><font class="textotabela">-</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,856%</font></td><td align="right"><font class="textotabela">-</font></td></tr><tr class="Branco"><td><font class="textotabela">REFIRATE *</font></td><td><font class="textotabela">-</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,500%</font></td><td align="right"><font class="textotabela">-</font></td></tr></tbody>

Como é que eu ao carregar num button, faço para ele ir buscar só este bocado de codigo:

<tr class="Branco"><td><font class="textotabela">EURIBOR</font></td><td><font class="textotabela">12 Meses</font></td><td align="center"><font class="textotabela">06/03/2009</font></td><td align="right"><font class="textotabela">1,957%</font></td><td align="right"><font class="textotabela">2,135%</font></td></tr>

Obrigado pessoal!

Link to comment
Share on other sites

Calma! O pessoal ajuda, quando pode  😛

Acho que já te disse isto antes, e não se se chegaste a tentar, mas podes usar o IndexOf() para verificares a posição e depois o Substring() para mostrares o que te interessa.

Mais ou menos isto:

 

     Dim str As String = «O teu código html»

        Dim posA As Integer = str.IndexOf("<tr class='Branco'>")
        Dim posB As Integer = str.IndexOf("</tr>", posA)
        Debug.WriteLine(str.Substring(posA, posB - posA))
Link to comment
Share on other sites

eu tenho estado a tentar fazer de outra maneira ! Por isso ainda nao cheguei lá  :down:

Eu vou a uma pagina web, guardo o codigo-fonte da página num ficheiro txt, e depois qero navegar no ficheiro e tirar uma porção de codigo.

Já consigo navegar no ficheiro até ao fim (quando aparece /html)

Agora gostava que ele enquanto tivesse lá dentro, quando encontrasse aquela 2a tabela que eu disse, a guardasse na memoria

Para ler o ficheiro fiz assim

        'vai ler o ficheiro até ao fim, e a var iolines vai ficar com o ficheiro todo
        Dim sr As New StreamReader("C:\Documents and Settings\BRUNO_2\Ambiente de trabalho\Estágio\projecto\teste.txt")
        Dim ioLine As String
        Dim ioLines As String
        ioLine = sr.ReadLine
        ioLines = ioLine
        While Not ioLine = "</html>"
            ioLine = sr.ReadLine
            ioLines = ioLines & vbCrLf & ioLine
        End While
        sr.Close()
        MsgBox(ioLines)
Link to comment
Share on other sites

Imports System
Imports System.IO
Imports System.Collections


Public Class form1
    Private Sub BT_go_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BT_go.Click
        WebBrowser1.Navigate(TXT_url.Text) 'diz que o url do webbrowser vai ser o que o utilizador escreveu
    End Sub

    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
        Dim abc As String = WebBrowser1.DocumentText 'manda o codigo fonte para uma varial
        TXT_codhtml.Text = abc 'iguala uma txtbox invisivel á variavel abc que tem o codigo fonte




    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BT_guardarcod.Click
        'Grava sobre a informaçao do fixeiro
        Dim objStream As New System.IO.FileStream("C:\Documents and Settings\BRUNO_2\Ambiente de trabalho\Estágio\projecto\teste.txt", IO.FileMode.OpenOrCreate)
        Dim Arq As New System.IO.StreamWriter(objStream)


        Arq.WriteLine(WebBrowser1.DocumentText) 'guarda o que está na textbox num ficheiro de texto
        Arq.Close()
        MessageBox.Show("Codigo HTML guardado!")
    End Sub

    Private Sub BT_limpar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BT_limpar.Click
        'limpa a txtbox e o ficheiro txt
        Dim stream As New IO.StreamWriter("C:\Documents and Settings\BRUNO_2\Ambiente de trabalho\Estágio\projecto\teste.txt", False)
        stream.WriteLine("")
        TXT_pesquisar.Text = ""
        stream.Close()
        MessageBox.Show("Codigo HTML apagado!")


    End Sub

    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        'vai ler o ficheiro até ao fim, e a var iolines vai ficar com o ficheiro todo
        Dim sr As String = IO.File.ReadAllText("C:\Documents and Settings\BRUNO_2\Ambiente de trabalho\Estágio\projecto\teste.txt")
        Dim posA As Integer = Str.IndexOf("<tr class='Branco'>")
        Dim posB As Integer = Str.indexof()("</tr>", posA)




        'Dim ioLine As String
        'Dim ioLines As String
        'ioLine = sr.ReadLine
        'ioLines = ioLine
        'While Not ioLine = "</html>"
        '    ioLine = sr.ReadLine
        '    ioLines = ioLines & vbCrLf & ioLine
        'End While
        'sr.Close()
        'TXT_pesquisar.Text = ioLines






    End Sub
End Class
Link to comment
Share on other sites

Dim sr As String = IO.File.ReadAllText("C:\Documents and Settings\BRUNO_2\Ambiente de trabalho\Estágio\projecto\teste.txt")
Dim posA As Integer = Str.IndexOf("<tr class='Branco'>")
Dim posB As Integer = Str.indexof()("</tr>", posA)

Isto não está como eu coloquei .... é:

Dim str As String = IO.File.ReadAllText("C:\Documents and Settings\BRUNO_2\Ambiente de trabalho\Estágio\projecto\teste.txt")

e depois:

Debug.WriteLine(str.Substring(posA, posB - posA))
Link to comment
Share on other sites

Hellblazer nao percebest muito bem qual é o intuito da coisa lol

Lê bem o topic...

O que eu quero é que o programa, no button1_click, "tire" um bocado do codigo, e o meta numa txtbox! O bocado que quero tirar já é default (por agora dps mudo isso)! Lê o primeiro topico que tá lá que porção quero tirar, e do que quero tirar !

Link to comment
Share on other sites

Depois de meter tudo bem, e correr o programa da-me este erro:"O índice estava fora do intervalo. Tem de ser não negativo e inferior ao tamanho da colecção. Nome do parâmetro: startIndex"

codigo:

        'vai ler o ficheiro até ao fim, e a var iolines vai ficar com o ficheiro todo
        Dim str As String = IO.File.ReadAllText("C:\Documents and Settings\BRUNO_2\Ambiente de trabalho\Estágio\projecto\teste.txt")
        Dim posA As Integer = str.IndexOf("<tr class='Branco'>")
        Dim posB As Integer = str.IndexOf("</tr>", posA)

        Debug.WriteLine(str.Substring(posA, posB - posA))

O Erro é no 2o str.indexof

Link to comment
Share on other sites

consigo.


<html>

<head>
<title>BPI Investimentos - Boas Vindas</title>
</head>

<link rel="stylesheet" href="/include/style.css" type="text/css">
<body bgcolor="#ffffff" topmargin="5" leftmargin="0" marginheight="5" marginwidth="0">
<!--body marginwidth="8" marginheight="8" leftmargin="5" topmargin="8" bgColor="White"-->

<table border="0" cellspacing="0" cellpadding="0" width="750" align="center">
<tr>
	<td colspan="5"><!doctype html public '-//w3c//dtd xhtml 1.0 transitional//en' 'http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd'><html><head><title>Investimento</title><meta name='lastmodified' content='2008-09-01 12:02:31.517'/><link rel='stylesheet' href='/include/stylebancobpi.css' type='text/css'/><script language='javascript' src='/library/jsfunctions.js'></script></head><body><table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><table width="760" border="0" cellspacing="0" cellpadding="0"><tr><td valign="top"><a href="http://www.bancobpi.pt/pagina.asp?s=1&opt=s"><img src="/images/EstruturaSite/img_LogoBBPI.gif" border="0"></a></td><td valign="top" width="100%" align="right"><table border="0">
<tr>
<td><img src="/images/EstruturaSite/img_setatopolaranja.gif" width="5" height="12"><img src="/images/EstruturaSite/img_spacer.gif" width="2" height="1"><a class="menu_items" href="http://www.bancobpi.pt/pagina.asp?s=1&opt=s"><font color="#ff6600">Particulares</font></a><img src="/images/EstruturaSite/img_spacer.gif" width="15" height="4"><img src="/images/EstruturaSite/img_setatopolaranja.gif" width="5" height="12"><img src="/images/EstruturaSite/img_spacer.gif" width="2" height="1"><a class="menu_items" href="http://www.bancobpi.pt/pagina.asp?s=2&opt=s">Empresas</a><img src="/images/EstruturaSite/img_spacer.gif" width="15" height="4"><img src="/images/EstruturaSite/img_setatopolaranja.gif" width="5" height="12"><img src="/images/EstruturaSite/img_spacer.gif" width="2" height="1"><a class="menu_items" target="_new" href="http://bpi.bancobpi.pt/index.asp?riLang=pt">Investor Relations</a><img src="/images/EstruturaSite/img_spacer.gif" width="15" height="4"><img src="/images/EstruturaSite/img_setatopolaranja.gif" width="5" height="12"><img src="/images/EstruturaSite/img_spacer.gif" width="2" height="1"><a class="menu_items" href="http://www.bancobpi.pt/pagina.asp?s=1&f=2209&opt=f">Contactos</a><img src="/images/EstruturaSite/img_spacer.gif" width="15" height="4"><img src="/images/EstruturaSite/img_setatopolaranja.gif" width="5" height="12"><img src="/images/EstruturaSite/img_spacer.gif" width="2" height="1"><a class="menu_items" href="http://www.bancobpi.pt/pagina.asp?s=1&f=1793&opt=f">Pesquisa</a></td>
</tr>
</table>
</td></tr></table> <table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="3" valign="top"><!--BEGIN: naveg topos--><table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/images/EstruturaSite/img_spacer.gif" width="82" height="1"></td>
<td align="right" valign="bottom" width="100%"><a href="/pagina.asp?s=1&a=2&opt=a"><img border="0" src="/images/EstruturaSite/img_area_bpiContas.gif" alt="Contas"></a><a href="http://www.bpiinvestimentos.pt/"><img border="0" src="/images/EstruturaSite/img_area_bpiInvestimento_highlite.gif" alt="Investimento"></a><a href="/pagina.asp?s=1&a=1&opt=a"><img border="0" src="/images/EstruturaSite/img_area_bpiCr%C3%A9dito.gif" alt="Cr�dito"></a><a href="/pagina.asp?s=1&a=3&opt=a"><img border="0" src="/images/EstruturaSite/img_area_bpiCart%C3%B5es.gif" alt="Cart�es"></a><a href="/pagina.asp?s=1&a=145&opt=a"><img border="0" src="/images/EstruturaSite/img_area_bpiSeguros.gif" alt="Seguros"></a><a href="/pagina.asp?s=1&a=4&opt=a"><img border="0" src="/images/EstruturaSite/img_area_bpiServi%C3%A7os.gif" alt="Servi�os"></a><a href="/pagina.asp?s=1&a=5&opt=a"><img border="0" src="/images/EstruturaSite/img_area_bpiGrupo BPI.gif" alt="Grupo BPI"></a><a href="/pagina.asp?s=1&a=40&opt=a"><img border="0" src="/images/EstruturaSite/img_area_bpiSeguran%C3%A7a.gif" alt="Seguran�a"></a></td>
</tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="1">
<tr bgcolor="#000066">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td><img border="0" src="
                                                                 /images/EstruturaSite/img_area_bpiFundos_img_topo.jpg"></td>
<td align="right">
<font class="menu_items"><a class="menu_items" href="http://www.bpiinvestimentos.pt/Fundos/home.asp" alt="Fundos">Fundos</a> | <a class="menu_items" href="http://www.bpiinvestimentos.pt/ProdutosEstruturados/home.asp" alt="Estruturados">Estruturados</a> | <a class="menu_items" href="http://www.bpiinvestimentos.pt/obrigacoes/home.asp" alt="Obriga��es">Obriga��es</a> | <a class="menu_items" href="http://www.bpiinvestimentos.pt/SegurosCapitalizacao/home.asp" alt="Seguros">Seguros</a> | <a class="menu_items" href="/pagina.asp?s=1&a=6&p=23&opt=p" alt="Reforma">Reforma</a> | <a class="menu_items" href="http://www.bpiinvestimentos.pt/PoupancaJunior/home.asp" alt="J�nior">J�nior</a> | <a class="menu_items" href="http://www.bpiinvestimentos.pt/Research/Research.asp?opc=7" alt="Research">Research</a> | <a class="menu_items" href="http://www.bpiinvestimentos.pt/Mercados/home.asp" alt="Mercados">Mercados</a><img src="/images/EstruturaSite/img_spacer.gif" width="5" height="1"></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--END: naveg topos--></td>
</tr>
<tr align="right">
<td colspan="3" height="15"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" border="0" width="1" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>

<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3149845-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<script src='http://webcare.byside.com/agent/usert_agent.php?webcare_id=24C48E3229〈=pt' type='text/javascript'></script>

</body></html>

<!--rc:--><!--2-->



<!--LINK REL="stylesheet" HREF="/include/styleBancoBPI.css" TYPE="text/css"/>
<table border="0" cellspacing="0" cellpadding="0" width="770" align="center">
<tr>
	<td colspan="5">

<HTML>
<BODY BGCOLOR="#FFFFFF" TOPMARGIN="5" LEFTMARGIN="0" MARGINHEIGHT="5" MARGINWIDTH="0">
	<HEAD>
		<TITLE>Banco BPI</TITLE>
		<LINK REL="stylesheet" HREF="/include/styleBancoBPI.css" TYPE="text/css"/>
		<SCRIPT LANGUAGE="javascript" SRC="/library/jsFunctions.js"></SCRIPT>
	</HEAD>


<img src='/images/1x1_trans.gif' height='7px' width='600px'/><table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><a href="http://www.bancobpi.pt/pagina.asp?s=1
						&opt=s"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=LogoBBPI" border="0"></a></td>
<td valign="top" align="right">
<table border="0">
<tr>
<td><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Seta%20Topo%20Laranja" width="5" height="12"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" width="2" height="1"><a class="menu_items" href="http://www.bancobpi.pt/pagina.asp?s=1
						&opt=s"><font color="#ff6600">Particulares</font></a><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" width="15" height="4"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Seta%20Topo%20Laranja" width="5" height="12"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" width="2" height="1"><a class="menu_items" href="http://www.bancobpi.pt/pagina.asp?s=2
						&opt=s">Empresas</a><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" width="15" height="4"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Seta%20Topo%20Laranja" width="5" height="12"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" width="2" height="1"><a class="menu_items" target="_new" href="http://bpi.bancobpi.pt/index.asp?riLang=en">Investor Relations</a></td>
</tr>
<tr>
<td align="right" valign="bottom">
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="3" valign="top"><table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" width="82" height="1"></td>
<td align="right" valign="bottom" width="100%"><a href="/pagina.asp?s=1&a=2&opt=a"><img border="0" src="/storage/imagedownload.asp?schema=886E0EE3-BB7D-4E11-92DE-712B44BA243D&channel=211C7A0F-E3D3-4B31-9225-C06D31564FBB&content_id=5D94B21C-679B-40DF-B1FE-76105B29B4E1&field=imagem_link&lang=pt&ver=1" alt="Contas"></a><a href="http://www.bpiinvestimentos.pt/"><img border="0" src="/storage/imagedownload.asp?schema=886E0EE3-BB7D-4E11-92DE-712B44BA243D&channel=E8EC5377-6B3D-4D18-9D7C-1142BC6B8591&content_id=BA4DB6C2-A92B-49CE-A58F-9A0DC86875B5&field=imagem_link_highlite&lang=pt&ver=1" alt="Investimento"></a><a href="/pagina.asp?s=1&a=1&opt=a"><img border="0" src="/storage/imagedownload.asp?schema=886E0EE3-BB7D-4E11-92DE-712B44BA243D&channel=8507054F-0F97-486A-883B-E4C1E5A10EB4&content_id=40FEBCCC-DD73-42B6-80F5-7FF0B9AAC5CC&field=imagem_link&lang=pt&ver=1" alt="Cr�dito"></a><a href="/pagina.asp?s=1&a=3&opt=a"><img border="0" src="/storage/imagedownload.asp?schema=886E0EE3-BB7D-4E11-92DE-712B44BA243D&channel=8B363BA0-1C00-4F92-8A06-8CF64BD910DA&content_id=BED8E188-A1C7-4251-838B-0D614D203833&field=imagem_link&lang=pt&ver=1" alt="Cart�es"></a><a href="/pagina.asp?s=1&a=4&opt=a"><img border="0" src="/storage/imagedownload.asp?schema=886E0EE3-BB7D-4E11-92DE-712B44BA243D&channel=1EF4B893-A432-4100-AB32-16A0A97B3D2D&content_id=949E278A-1DB2-44F6-A852-DC6F3569485E&field=imagem_link&lang=pt&ver=1" alt="Servi�os"></a><a href="/pagina.asp?s=1&a=5&opt=a"><img border="0" src="/storage/imagedownload.asp?schema=886E0EE3-BB7D-4E11-92DE-712B44BA243D&channel=DF4C0026-DFFA-4AA7-A3E3-34E464807822&content_id=9BFE1B62-E148-4EE8-922D-F47A3E5FD404&field=imagem_link&lang=pt&ver=1" alt="Grupo BPI"></a><a href="/pagina.asp?s=1&a=40&opt=a"><img border="0" src="/storage/imagedownload.asp?schema=886E0EE3-BB7D-4E11-92DE-712B44BA243D&channel=D3C01E2C-D376-4E61-9AC5-F1C85C8FDBB0&content_id=2EE9A47F-DC49-48CA-8B53-13BEFAA2F245&field=imagem_link&lang=pt&ver=1" alt="Seguran�a"></a></td>
</tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="1">
  <tr bgcolor="#000066">
<td>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
		<tr>
			<td>
				<img border="0" src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Banco%20BPI%20-%20Navegacao&content=Home_Particulares"></td>
			<td align="right">
				<font class="menu_items">
					<a class="menu_items" href="http://www.bpiinvestimentos.pt/Fundos/home.asp" alt="Fundos">Fundos</a> | 
					<a class="menu_items" href="http://www.bpiinvestimentos.pt/ProdutosEstruturados/home.asp" alt="Estruturados">Estruturados</a> | 
					<a class="menu_items" href="http://www.bpiinvestimentos.pt/SegurosCapitalizacao/home.asp" alt="Seguros">Seguros</a> | 
					<a class="menu_items" href="http://www.bancobpi.pt/pagina.asp?s=1&a=6&p=23&opt=p" alt="Reforma">Reforma</a> | 
					<a class="menu_items" href="http://www.bpiinvestimentos.pt/PoupancaJunior/home.asp" alt="Poupança Júnior">Poupan�a J�nior</a> | 
					<a class="menu_items" href="http://www.bpiinvestimentos.pt/Research/Research.asp?opc=7" alt="Research">Research</a> | 
					<a class="menu_items" href="http://www.bpiinvestimentos.pt/Mercados/home.asp" alt="Mercados">Mercados</a>
					<img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=ImgSpacer" width="5" height="1">
				</font>
			</td>
		</tr>
	</table>
</td>
  </tr>
</table><br/-->

</td>
</tr>
<tr>
	<td valign="top"><table border="0" cellspacing="0" cellpadding="0" width="140">
<tr><td height="15" class="textodestaque"><b>Cota��es</b><br><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Header" border="0"></td></tr>		
<tr><td><a class="menu_items" href="/Mercados/CotacoesAccoes.asp">Ac��es</a></td></tr>
<tr><td><a class="menu_items" href="/Mercados/Warrants.asp">Warrants</a></td></tr>
<tr><td><a class="menu_items" href="/Mercados/CotacoesIndices.asp"><font class="menu_items">�ndices</font></a></td></tr>
<tr><td><a class="menu_items" href="/Mercados/QuadroCotacoesIndexantes.asp">Indexantes</a></td></tr>
<tr><td><a class="menu_items" href="/Mercados/QuadroCotacoesCambios.asp">C�mbios</a></td></tr>
<tr><td><a class="menu_items" href="/Fundos/QuadroCotacoesFundos.asp?opc=1">Fundos</a></td></tr>
<tr><td><a class="menu_items" href="/ProdutosEstruturados/QuadroCotacoesProdEst.asp">Produtos Estruturados</a></td></tr>
<tr><td><a class="menu_items" href="/SegurosCapitalizacao/QuadroCotacoes.asp">Seguros de Capitaliza��o</a></td></tr>
<!--tr><td><a class="link_indice" href="QuadroCotacoesTaxasConversao.asp"><font class="menu_items">Taxas de Convers�o</font></a></td></tr-->
<tr><td><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Footer" border="0"/></td></tr>

<tr><td height="20"><img src="../images/1x1_trans.gif" WIDTH="1" HEIGHT="1"></td></tr>

<tr><td height="15" class="textodestaque"><b>Rentabilidades</b><br><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Header" border="0"></td></tr>				
<tr><td><a class="menu_items" href="/Fundos/QuadroRentabilidades.asp">Fundos</a></td></tr>
<!--tr><td><a class="menu_items" href="/ProdutosEstruturados/QuadroRentabilidades.asp">Produtos Estruturados</a></td></tr-->
<tr><td><a class="menu_items" href="/SegurosCapitalizacao/QuadroRentabilidades.asp">Seguros de Capitaliza��o</a></td></tr>
<tr><td><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Footer" border="0"/></td></tr>	

<tr><td height="20"><img src="../images/1x1_trans.gif" WIDTH="1" HEIGHT="1"></td></tr>

<tr><td height="15" class="textodestaque"><b>Informa��o Financeira</b><br><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Header" border="0"></td></tr>		
<tr><td><a class="menu_items" href="/Research/Research.asp?opc=3">Di�rio Financeiro</a></td></tr>
<tr><td><a class="menu_items" href="/Research/MercadosFinanceiros.asp">Mercados Financeiros</a></td></tr>
<tr><td><a class="menu_items" href="/Research/Research.asp?opc=10">Angola</a></td></tr>
<tr><td><a class="menu_items" href="/Research/Research.asp?opc=8">Economia & Mercados</a></td></tr>
<tr><td><a class="menu_items" href="/Research/Research.asp?opc=5">Previs�es</a></td></tr>
<tr><td><a class="menu_items" href="/Research/Research.asp?opc=6">An�lise T�cnica</a></td></tr>
<tr><td><a class="menu_items" href="/AgendaMC/Agenda.asp">Agenda de Bolsa</a></td></tr>
<tr><td><a class="menu_items" href="/Mercados/CalendarioFiscal.asp">Calend�rio Fiscal</a></td></tr>
<!--tr><td><a class="link_indice" href="OPV.asp"><font class="menu_items">OPV</font></a></td></tr-->
<tr><td><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Footer" border="0"/></td></tr>	

<tr><td height="20"><img src="../images/1x1_trans.gif" WIDTH="1" HEIGHT="1"></td></tr>

<tr><td height="15" class="textodestaque"><b>Simuladores</b><br><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Header" border="0"></td></tr>		
<tr><td><a class="menu_items" href="/Simuladores/SimuladorPPREPensoes.asp?sim=Reforma">Reforma</a></td></tr>
<tr><td><a class="link_indice" href="/Simuladores/SimuladorPPRE.asp?sim=Reforma"><font class="menu_items">PPR</font></a></td></tr>
<tr><td><a class="menu_items" href="/Simuladores/SimuladorRentabilidade.asp?sim=Fundos">Rentabilidade</a></td></tr>
<!--tr><td><a class="menu_items" href="/Simuladores/SimuladorCarteiraFundos.asp?sim=Fundos">Carteira</a></td></tr-->
<tr><td><a class="menu_items" href="/Simuladores/SimuladorSegurosCapitalizacao.asp">Seguros de Capitaliza��o</a></td></tr>
<!--tr><td><a class="link_indice" href="Simuladores/SimuladorPPRE.asp?sim=Reforma"><font class="menu_items">PPR/E</font></a></td></tr-->
<!--tr><td><a class="link_indice" href="Simuladores/SimuladorPPRGarantido.asp?sim=Reforma"><font class="menu_items">BPI Reforma Garantida</font></a></td></tr-->
<!--tr><td><a class="link_indice" href="Simuladores/SimuladorPensoes.asp?sim=Reforma"><font class="menu_items">Pens�es</font></a></td></tr-->
<tr><td><a class="link_indice" href="Simuladores/SimuladorPoupancaFiscal.asp?sim=PoupancaFiscal"><font class="menu_items">Poupan�a Fiscal</font></a></td></tr>
<!--tr><td colspan="2" class="menu_tits" height="15">Recrutamento</td></tr>
<tr><td colspan="2" height="3"><img src="../images/1x1_trans.gif" WIDTH="1" HEIGHT="1"></td></tr>
<tr><td width="5"></td><td><a class="link_indice" href="http://www.bancobpi.pt/pagina.asp?s=1&f=314&opt=f"><font class="menu_items">BPI Fundos</font></a></td></tr-->
<tr><td><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Footer" border="0"/></td></tr>	

<tr><td height="20"><img src="../images/1x1_trans.gif" WIDTH="1" HEIGHT="1"></td></tr>

<tr><td class="menu_tits" height="15">DMIF<br/><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Header" border="0"/></td></tr>
<tr><td><a class="menu_items" href="/Mercados/DMIF.asp">O que �?</a></td></tr>
<tr><td><a target="_blank" class="menu_items" href="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20BPI%20Investimentos%20-%20Mercados&content=Manual_Investidor_CAP3">Politica Execu��o Ordens</a></td></tr>
<tr><td><a target="_blank" class="menu_items" href="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20BPI%20Investimentos%20-%20Mercados&content=Manual_Investidor_CAP5">Politica Conflitos Interesses</a></td></tr>
<tr><td><a class="menu_items" href="/PaginasComuns/PerguntasFrequentes.asp?opc=7">Perguntas Frequentes</a></td></tr>
<tr><td><a class="menu_items" href="/Mercados/manual.asp">Manual do Investidor</a></td></tr>
<tr><td><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20Imagens%20Comuns%20Sites%20-%20Comuns&content=Img_Border_Footer" border="0"/></td></tr>

<tr><td height="7"><img src="../images/1x1_trans.gif" WIDTH="1" HEIGHT="1"></td></tr>


</table>
</td>
	<td width="15"><img height="1" src="images/1x1_trans.gif" width="8"></td>
	<td valign="top" width="610"><font class="historico"><a href="http://www.bancobpi.pt" class="link">P�gina Inicial</a> > </font><font class="historico_selected">Investimento</font>
	<br>

		<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr height="10"><td></td></tr>
			<tr>
				<td><a href="/pagina.asp?s=1&a=2&p=5&f=2370&opt=f"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20BPI%20Investimentos%20-%20Destaques%20e%20Banners&content=Banner_DP" border="0"></a></td>
			</tr>
			<tr>
				<td><img width="100%" height="0" src="images/px_cinza.gif"></td>
			</tr>
		</table>
		<br>
		<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr>
				<td valign="top" width="50%">					
					<table border="0" cellspacing="0" cellpadding="0" width="100%">		
						<tr>
							<td valign="top"><a href="/pagina.asp?s=1&a=6&f=2872&opt=f"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20BPI%20Investimentos%20-%20Destaques%20e%20Banners&content=Dest_PlanosPoupanca" border="0" WIDTH="64" HEIGHT="64"></a></td>
							<td width="10"></td>
							<td valign="top">
								<table border="0" cellspacing="0" cellpadding="0" width="100%">
									<tr><td valign="top"><a class="link_indice" href="/pagina.asp?s=1&a=6&f=2872&opt=f"><font class="menu_items">Planos Poupan�a</font></a></td></tr>
									<tr height="10"><td></td></tr>
									<tr><td><font class="FontCinza1">Fa�a um plano de entregas peri�dicas flex�vel, no qual pode definir o montante, o prazo e o produto.</font></td></tr>
								</table>
							</td>
						</tr>							
						<tr height="10"><td colspan="3"></td></tr> 	
						<tr>
							<td valign="top"><a href="/Simuladores/SimuladorPPREPensoes.asp?sim=Reforma"><img src="/RepMultimedia/getMultimedia.asp?channel=Multimedia%20-%20BPI%20Investimentos%20-%20Destaques%20e%20Banners&content=destaque%20reforma" border="0" WIDTH="64" HEIGHT="64"></a></td>
							<td width="10"></td>
							<td valign="top">
								<table border="0" cellspacing="0" cellpadding="0" width="100%">
									<tr><td valign="top"><a class="link_indice" href="/Simuladores/SimuladorPPREPensoes.asp?sim=Reforma"><font class="menu_items">Como vai ser a sua Reforma?</font></a></td></tr>
									<tr height="10"><td></td></tr>
									<tr><td><font class="FontCinza1">Simule e descubra. O BPI tem � sua disposi��o um simulador de Reforma que calcula o valor da sua Pens�o.</font></td></tr>
								</table>
							</td>
						</tr>		
						<tr height="10"><td colspan="3"></td></tr> 							
					</table>

				<br>
					<font class="FontBoldLaranja2">Novidades BPI</font>
					<table border="0" width="100%" bgcolor="#ffffff">
<tr>
<td>
<p>
<a class="menu_items" href="noticia.asp?id=CB1284FA-D068-4D79-B8DD-5161F004050B&cod=2529">Research - Angola </a><br />
<font class="FontCinza0">2009-03-05</font><br />
<font class="FontCinza1"> J� se encontra dispon�vel o relat�rio "Angola" do m�s de Mar�o 2009 </font>
</p>
</td>
</tr>
<tr>
<td><img src="images/1x1_trans.gif" width="1" height="10" /></td>
</tr>
</table>
<table border="0" width="100%" bgcolor="#ffffff">
<tr>
<td>
<p>
<a class="menu_items" href="noticia.asp?id=937A3B52-B34A-4CAE-9179-ECBA05F608FF&cod=1761">Mercados Financeiros Mar�o 2009</a><br />
<font class="FontCinza0">2009-03-04</font><br />
<font class="FontCinza1"> J� se encontra dispon�vel o relat�rio "Mercados Financeiros" de Mar�o 2009 </font>
</p>
</td>
</tr>
<tr>
<td><img src="images/1x1_trans.gif" width="1" height="10" /></td>
</tr>
</table>

					<div align="right"><a class="link_indice" href="lista_noticias.asp"><font class="menu_items">Todas as Novidades</font></a></div>
				</td>
				<td width="15"></td>
				<td valign="top" align="right">
					<table border="0" cellspacing="0" cellpadding="0" width="100%">
						<!--tr>								<td><a href="javascript:window.location.href=vect[corrente-1].link"><img border="0" name="pub" width="205" height="60" src="images/1x1_trans.gif"></a></td>							</tr-->
						<tr>
							<td class="FontAzul1" valign="center" align="left"> <b>Evolu��o Unidade Participa��o</b></td>
						</tr>
						<!--tr>								<td class="FontBoldAzul1" height="20" valign="center" align="left">																	</td>							</tr-->
						<tr>
							<td align="left">
								<?xml version="1.0" encoding="UTF-16"?><img border="0" src="&#xA;			/storage/imagedownload.asp?schema=266132DC-C498-4295-9F9D-1393ED52054A&channel=A68585F4-BAEB-49A9-B5E7-81700687E732&content_id=45517FD1-3230-4CBE-8EE1-389670223435&field=imagem&lang=pt&ver=1" />
							</td>
						</tr>
						<tr>
							<td height="10"><img height="1" src="images/1x1_trans.gif" width="1"></td>
						</tr>
						<tr>
							<td align="center">
								<form method='POST' action='index.asp' id='ff1' name='ff1'><select class='FontCinza1' name='bSelect' id='bSelect' onChange='document.ff1.submit();'><option value='877'>BPI Reforma Ac��es PPR</option><option value='890'>BPI Global</option><option value='812'>BPI Universal</option><option value='807'>BPI Brasil</option><option value='861'>BPI Liquidez</option><option value='298'>BPI Tesouraria</option><option value='803'>BPI Taxa Vari�vel</option><option value='895'>BPI Euro Taxa Fixa</option><option value='859'>BPI Ob. Alto Rend. Alto Risco</option><option value='865'>BPI Portugal</option><option value='851'>BPI Europa Valor</option><option value='899'>BPI Europa Crescimento</option><option value='849'>BPI Am�rica</option><option value='809'>BPI Tecnologias</option><option value='838'>BPI Reestrutura��es</option><option value='197'>BPI Reforma Segura - PPR</option><option value='869'>BPI Ref. Investimento - PPR</option><option value='870'>BPI Vida PPR</option><option value='897'>BPI Poupan�a Ac��es - PPA</option><option value='842'>BPI Vida Universal (Ac��es)</option><option value='844'>BPI Vida Taxa Fixa</option><option value='848'>BPI Vida Taxa Vari�vel</option><option value='813'>BPI Selec��o</option></select></form>
							</td>
						</tr>
					</table>


					<table border="0" cellspacing="0" cellpadding="0" width="100%">
						<tr>
							<td>
								<font class="FontAzul1"><b>Produtos Estruturados</b></font>
							</td>
						</tr>
						<tr>
							<td height="20"><font class="FontAzul1">Maiores subidas no �ltimo m�s</font></td>
						</tr>
						<tr class="Azul"> 
							<td>
								<table width="100%" border="0" cellspacing="1" cellpadding="1">
									<tr class="Laranja" align="center"> 
										<td align="center" width="6%" class="FontBranco2">Produto</td>
										<td align="center" width="4%" class="FontBranco2"> Cot(%)</td>
										<td align="center" width="6%" class="FontBranco2">Var. </td>
									</tr>

									<tr class="Branco"> 
										<td class="FontAzul1" width="12%">BPI Gold USD 115% 2007-2012</td>
										<td class="FontAzul1" width="5%" align="right"> 109,19</td>
										<td class="FontAzul1" width="5%" align="right"> 2,55%</td>
									</tr>

									<tr class="Branco"> 
										<td class="FontAzul1" width="12%">BPI Vasco da Gama 2008-2013</td>
										<td class="FontAzul1" width="5%" align="right"> 89,41</td>
										<td class="FontAzul1" width="5%" align="right"> 2,17%</td>
									</tr>

									<tr class="Branco"> 
										<td class="FontAzul1" width="12%">BPI D�lar Euro 2008-2011</td>
										<td class="FontAzul1" width="5%" align="right"> 112,38</td>
										<td class="FontAzul1" width="5%" align="right"> 1,55%</td>
									</tr>

									</table>
								</td>
							</tr>
					</table>
				</td>
			</tr>
		</table>		
	</td>
</tr>
<tr><td height="20" colspan="5"></td></tr>
<tr>
	<td colspan="5"><table border="0" width="100%" height="18" cellspacing="1" cellpadding="3">
<tr>
	<td align="center" width="35%"><img src="images/1x1_trans.gif" height="10"></td>
	<td align="center" class="FontAzul1"><a class="link_azul" target="_blank" href="http://www.bpinet.pt">BPI Net</a></td>
	<td align="center" class="FontAzul1">|</td>
	<td align="center" class="FontAzul1"><a class="link_azul" target="_blank" href="http://www.bpionline.pt">BPI Online</a></td>
	<!--td align="center" class="FontAzul1">|</td>
	<td align="center" class="FontAzul1"><a class="link_azul" target="_blank" href="http://www.bancobpi.pt">Banco BPI</a></td-->
	<td align="center" class="FontAzul1">|</td>
	<td align="center" class="FontAzul1"><a class="link_azul" target="_blank" href="http://www.bancobpi.pt/pagina.asp?s=1&a=5&f=1243&opt=f">Balc�es BPI</a></td>
	<td align="center" width="35%"><img src="images/1x1_trans.gif" height="10"></td>
</tr>
</table>
<table border="0" width="100%" height="15" cellspacing="0" cellpadding="0">
<tr>
	<td align="center" class="FontCinza0">Banco BPI � 2009</td>
</tr>
<tr>
	<td align="center" class="FontCinza0">O Banco BPI encontra-se registado na <a class="link_azul" target="_blank" href="http://www.cmvm.pt/">CMVM</a><br>Site optimizado para IE vers�o 6.x ou superior Resolu��o 800 x 600</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

<!--P2-->

é uma página html!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.