Wrox Programmer Forums
Visual Basic 2008 Professionals For advanced Visual Basic coders working in version 2008. Beginning-level questions will be redirected to other forums,
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 3rd, 2009, 08:40 PM
Registered User
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login to a website

Hello, for a school project we was told to write a application to log into a web site. And i wrote this

            Me.WebBrowser1.Document.GetElementById("username").InnerText = Me.TextBox1.Text
            Me.WebBrowser1.Document.GetElementById("password").InnerText = Me.TextBox2.Text
I was talking to my dads friend and he said i should look into system.net namespace? as its a better way to do this.

Can any one show me some tutorials on learning this?

edit: very sorry just seen that begginer question should not be here :(

Last edited by ident; May 3rd, 2009 at 10:07 PM..
Old May 4th, 2009, 12:44 AM
Friend of Wrox
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts

You can try using ASP.NET login control





C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Old May 19th, 2009, 07:18 AM
Friend of Wrox
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts

Nah no point.
I think mate the code you got at the moment is absolutely fine! Also a bit fun, take google display it in your own webbrowser and disable the button! Pretty confusing for some people!

Alrite have fun!
Apocolypse2005, I'm a programmer - of sorts.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic website to Static website Aboal3ood ASP.NET 1.x and 2.0 Application Design 4 December 7th, 2006 11:46 AM
login control problem (asp.net2.0 website progr..) rookie07 ASP.NET 2.0 Basics 1 June 22nd, 2006 09:25 AM
website query with login Leveland Excel VBA 0 March 15th, 2006 12:56 PM
making a login on a website Apocolypse2005 JSP Basics 0 June 14th, 2005 08:35 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.