Hey i have coded a little in vb 2008 and 2010 can anyone help me to make a login system where u need to type in the information u use on the website?
O.o maybe u misunderstand here's a example:
my website www.testloginvb.com (this website not exist)
How can i use the website database to login???
Originally Posted by Rene8848
Hey i have coded a little in vb 2008 and 2010 can anyone help me to make a login system where u need to type in the information u use on the website?
O.o maybe u misunderstand here's a example:
my website www.testloginvb.com (this website not exist)
How can i use the website database to login???
Multiple ways. If you're in control of the database you can use a database connector into MPGH and go from there, if not you can always simulate an attempted login on the website and if it was successful report a valid login...etc. Depends what the situation is.
Posts 1–10 of 10 · Page 1 of 1
Post a Reply
Tags for this Thread
None
You want to know how to connect to your database by VB? If is that i can help you XD
Originally Posted by Jason
Multiple ways. If you're in control of the database you can use a database connector into MPGH and go from there, if not you can always simulate an attempted login on the website and if it was successful report a valid login...etc. Depends what the situation is.
I have a test website but i have no direct way to enter the datatbases... I have tried some httpwebrequestes but causes dc and error... I have tried use the webbrowser but i can not find a code makes something on a successfully login else i just would have puttet it away under the project...
Originally Posted by -Away
You want to know how to connect to your database by VB? If is that i can help you XD
Oh yes thats a good way i just wanna know how to use the specific websites member database
i would be offline next hmm around 12 hours or more PM me please if u can help
Originally Posted by Rene8848
I have a test website but i have no direct way to enter the datatbases... I have tried some httpwebrequestes but causes dc and error... I have tried use the webbrowser but i can not find a code makes something on a successfully login else i just would have puttet it away under the project...
Oh yes thats a good way i just wanna know how to use the specific websites member database
i would be offline next hmm around 12 hours or more PM me please if u can help
In my WebScraping Toolkit I released there is a "PostData" function, this does all the HttpWebRequest and response stuff for you, all you need to do is figure out the HTTP headers using a program like Live Http Headers. If you can't do that, just PM me a link to the site and I'll give you the info you'll need. PostData returns the pagesource of whatever comes after you log in (i.e if I were to use PostData to login to MPGH. it would return the pagesource of the "Thank you for logging in, Jason" page) You can use string functions to determine if the login was successful (again using the MPGH example, if the resulting page contained "Thank you for logging in," I'd know that the login was successful.)
Originally Posted by Jason
In my WebScraping Toolkit I released there is a "PostData" function, this does all the HttpWebRequest and response stuff for you, all you need to do is figure out the HTTP headers using a program like Live Http Headers. If you can't do that, just PM me a link to the site and I'll give you the info you'll need. PostData returns the pagesource of whatever comes after you log in (i.e if I were to use PostData to login to MPGH. it would return the pagesource of the "Thank you for logging in, Jason" page) You can use string functions to determine if the login was successful (again using the MPGH example, if the resulting page contained "Thank you for logging in," I'd know that the login was successful.)
I can't i can not figure out what u meen
Just set the value of a control in the webbrowser and simulate a Click event.
Originally Posted by Hawk_
Just set the value of a control in the webbrowser and simulate a Click event.
1 word. Yuk.
@OP just PM me with the site you need to simulate a login to and I'll write you the necessary code.
It's the easiest and most casual way.
Originally Posted by Hawk_
It's the easiest and most casual way.
Also the most second rate, error prone and downright disgusting way to do things. Gotta love hearing the clickity click from a hidden webbrowser as it navigates around.