06/01/10 12:24
Sem93
Salve, sto imparando da poco il visual basic e vorrei fare un form di accesso a facebook, non avendo persone al mio fianco esperte che possano seguirmi chiedo a voi.
Ecco :S legge i dati da un foglio txt esterno, potreste aiutarmi voi? Grazie per la cortesia in anticipo.
Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Facebook_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Facebook.Click Dim reader As IO.TextReader = New IO.StreamReader("c:/login.txt") TextBox1.Text = reader.ReadLine TextBox2.Text = reader.ReadLine End Sub Private Sub Accedi_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Accedi.Click Dim shell As Object shell = CreateObject("shell.iexplore.exe") shell.open(TextBox3.Text) shell.open("www.facebook.com") End Sub End Class
Ecco :S legge i dati da un foglio txt esterno, potreste aiutarmi voi? Grazie per la cortesia in anticipo.
aaa