Search found 16 matches
- by patrickcosta
- Wed Jul 11, 2012 6:29 pm
- Forum: Coding Help & Support
- Topic: www.website + label.text
- Replies: 2
- Views: 924
CodenStuff wrote:Remove the quotes around "lblSid.Text" like this:Thanks a lot, I made very tries, this one escapes me xD
Code: Select allWebBrowser1.Navigate("http://metrotv.forumaster.net/ucp.php?mode=logout&sid=" + lblSid.Text)
P.S: This is for the phpbb3 logout button in our vb apps.
- by patrickcosta
- Wed Jul 11, 2012 6:14 pm
- Forum: Coding Help & Support
- Topic: www.website + label.text
- Replies: 2
- Views: 924
Hi again, I know I am being annoyng but I am new at vb and I need some help.
I have this code in my form:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
lblSid.Text ...
I have this code in my form:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
lblSid.Text ...
- by patrickcosta
- Wed Jul 11, 2012 5:38 pm
- Forum: Coding Help & Support
- Topic: Get a value
- Replies: 2
- Views: 1064
CodenStuff wrote:Try:Yap, it works ! Thank you!
Code: Select allLabel1.Text = WebBrowser1.Document.All("sid").GetAttribute("value")
- by patrickcosta
- Wed Jul 11, 2012 4:52 pm
- Forum: Coding Help & Support
- Topic: Get a value
- Replies: 2
- Views: 1064
Hello guys, once a time no one answered me in my last post ( http://www.codenstuff.com/forum/viewtopic.php?f=21&t=9513 ) , I want to know how to get this value (that is in source code) in a label :
<input type="hidden" name="sid" value="54b3e4c2e8b41d84c1851ea690dcced0" />
Some code that makes ...
<input type="hidden" name="sid" value="54b3e4c2e8b41d84c1851ea690dcced0" />
Some code that makes ...
- by patrickcosta
- Mon Jul 09, 2012 11:43 pm
- Forum: Tutorials
- Topic: Mybb,phpbb login in application!
- Replies: 4
- Views: 2863
Thanks for sharing, but isn't working for me. I tried with admin account and simple user,in both the msgbox appeared :cry:
Here are the codes, see please what's wrong:
Form1
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim ...
Here are the codes, see please what's wrong:
Form1
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim ...
- by patrickcosta
- Mon Jul 09, 2012 4:27 pm
- Forum: Coding Help & Support
- Topic: [HELP]Disable login cookies/force login
- Replies: 1
- Views: 778
Hi guys !!
I would like to know how to disable login cookies or force the users login everytime I redirect them (in my vb app) to the login page. Anyone knows ?
Regards
I would like to know how to disable login cookies or force the users login everytime I redirect them (in my vb app) to the login page. Anyone knows ?
Regards
- by patrickcosta
- Sat Jul 07, 2012 5:01 pm
- Forum: Coding Help & Support
- Topic: [HOW TO]Webbrowser shows only CAPTCHA
- Replies: 5
- Views: 1899
@MrAksel I added that in the DocumentComplete event and it didn't work.
This would be more reliable:
Private Sub WebBrowser1_DocumentCompleted(sender As System.Object, e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
Dim form As HtmlElement ...
This would be more reliable:
Private Sub WebBrowser1_DocumentCompleted(sender As System.Object, e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
Dim form As HtmlElement ...
- by patrickcosta
- Sat Jul 07, 2012 12:18 am
- Forum: Coding Help & Support
- Topic: [HOW TO]Webbrowser shows only CAPTCHA
- Replies: 5
- Views: 1899
Can you give an example of the page that you are trying to take this from?
Yes, here it is a source code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="min-width ...
Yes, here it is a source code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="min-width ...
- by patrickcosta
- Fri Jul 06, 2012 11:37 pm
- Forum: Coding Help & Support
- Topic: [HOW TO]Webbrowser shows only CAPTCHA
- Replies: 5
- Views: 1899
Hi again !
Could you say me the code to make my webbrowser shows only a CAPTCHA image ? The website that have the CAPTCHA image also have another things, but I want it only show the CAPTCHA image...
Thanks in Advance!

Could you say me the code to make my webbrowser shows only a CAPTCHA image ? The website that have the CAPTCHA image also have another things, but I want it only show the CAPTCHA image...
Thanks in Advance!
- by patrickcosta
- Fri Jul 06, 2012 9:17 pm
- Forum: Coding Help & Support
- Topic: If webpage contains text like "username invalid"...
- Replies: 6
- Views: 2262
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
If WebBrowser1.DocumentText.Contains("Your username is invalid") Then
MessageBox.Show("The username you chose is invalid")
End If
End Sub ...
If WebBrowser1.DocumentText.Contains("Your username is invalid") Then
MessageBox.Show("The username you chose is invalid")
End If
End Sub ...
Copyright Information
Copyright © Codenstuff.com 2020 - 2023