Wpf Browser Application in Visual Basic 2008? | Programming, .NET, Silverlight & More

Wpf Browser Application in Visual Basic 2008?

I recently installed Visual Basic 2008 to create an application but then I saw a WPF Browser Application and I clicked it and began creating a login screen and sofar I got this code,

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click
If TextBox1.Text = ("Troopadmin") Then
Else : MsgBox("Please Enter Valid Username")
If TextBox2.Text = ("troop26sm") Then
Else : MsgBox("Please Enter A Valid Password")
End If

End If

_____________________________________________
And between End If and End If there is supposed to be a code to open the other page and I dont know what the code is so please reply to this question with the code
THANK YOU VERY MUCH

What exactly are you trying to do? Create a Windows Application or a Web Based Application? There is a far better way to do this if its a web based application by using 'form based authentication'. This is already built into VB.

If this is for the web… I'd suggest looking at these templates which already have the heavy lifting done for you:

http://www.asp.net/community/projects/

they are free from Microsoft.

No TweetBacks yet. (Be the first to Tweet this post)

One Response

  1. youngboy1606 Says:

    What exactly are you trying to do? Create a Windows Application or a Web Based Application? There is a far better way to do this if its a web based application by using 'form based authentication'. This is already built into VB.

    If this is for the web… I'd suggest looking at these templates which already have the heavy lifting done for you:

    http://www.asp.net/community/projects/

    they are free from Microsoft.
    References :
    Programming and building computers since 1973

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.