i hada let dog outside for a min so i thought i'd come and check...
You may call me noob right now... god knows i am...
i know i should figure tis out on my own...and i will but just incase i cant find where... can you give me an example...
i would think that...
VB Code:
Private Sub Apply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Apply.Click 'Save the updated user credentials. 'Load the user credentials. Dim currentUser As UserCredentials = Me.LoadUserCredentials() currentUser.UserName = Me.UserName.Text currentUser.Password = Me.password.Text Me.SaveUserCredentials(currentUser) End Sub
i get no underlined code there...VB Code:
Private Sub mnuBotConfig_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Load the user credentials. Dim currentUser As UserCredentials = Me.LoadUserCredentials() 'Populate the text boxes with the user credentials. Me.UserName.Text = currentUser.UserName Me.password.Text = currentUser.Password 'Do whatever. End Sub
but when i run it and i access the form it exeptions me




Reply With Quote