Stucked in log out option

Supporting Visual Studio on Windows
Fresh meat
Posts: 1
Joined: Fri Sep 13, 2013 3:43 am

Stucked in log out option

Postby Bagavati » Fri Sep 13, 2013 3:45 am

Hi all,

i am getting stuck in my application..i have included web browser component in my website for Facebook page..and i have passed the username and password through two text boxes and button to enter into it enters but i dunno how to log out from it automatically..can anyone solve my problem...

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles fb_button.Click
Dim fb_button As String = Nothing
For Each element As HtmlElement In WebBrowser1.Document.All
If InStr(element.Id, "u_0_b") Then
fb_button = element.Id
End If
WebBrowser1.Document.GetElementById("email").SetAttribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("pass").SetAttribute("value", TextBox2.Text)

End Sub

here is a code which i have used to enter into the webpage through button...what my question is..if i have to include a session?if it is done whether it will automatically log out??please provide me a code for it..

User avatar
Human-Cyborg Relations
Posts: 441
Joined: Tue Sep 27, 2011 2:37 pm
Location: Calgary

Re: Stucked in log out option

Postby burley » Fri Sep 13, 2013 12:10 pm

Maybe I am missing something but I don't see what this has to do with Phidgets?
Brian Burley
403-282-7335 ext. 6003

Return to “VB .NET”

Who is online

Users browsing this forum: No registered users and 1 guest