• GAH. So frickin' close to the end of this and now I have 2 menu items that keep "sticking" to old values that I'm no longer using.

    For instance, on the UserName, I cleared it in the Application Settings, made sure its text was bound to the Application setting userprefUserName and every time I debug the form, instead of coming up with a blank text box like it does in Design mode, it comes up with "Me" (which was my original test value).

    I cannot get the damn thing clear, no matter what I do. And it's not populating from the code. I don't actually set the value to "Me" anywhere.

    The same thing with the Random Int. It keeps populating with 1, even though I keep changing the application setting to 2 or 3 or 4 or 5.

    My head hurts. I cannot figure out what I've done wrong that I can't change the value.

    So I thought I lost this stuff (see strike out text) when I realized that some how all my HANDLES code had disappeared. Odd, that. I put it back in and suddenly it's all working again.

    And when I say the HANDLES code disappeared, I still had the Private Sub through the arguments

    example


    Private Sub RandomIntToolStripMenuItem_KeyDown (ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)

    Dim BreakTime As Int32 = 1

    If Int32.TryParse(RandomIntToolStripMenuItem.Text, BreakTime) Then

    My.Settings.RandomInt = RandomIntToolStripMenuItem.Text

    My.Settings.Save()

    Else

    MsgBox("Whoops")

    End If

    RandomIntToolStripMenuItem.HideDropDown()

    End Sub

    But after the "KeyEventArgs)" part of the line, there was NOTHING. YIKES.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.