Visual Basic Express 2008 Debug Help

Discussion in 'Software' started by jtu50, Feb 16, 2008.

  1. jtu50

    jtu50 Private E-2

    I am a rank total novice at this. Just downloaded VBE 2008. Have tried a simple program from a book - code is below. When trying to debug, it seems that the program goes through it's function, but doesn't open the window specified in the program, but just returns to the edit page. But if I intentionally put an error in the code, debugger picks it up. I thought this was an install problem and deleted all associated files including all .Nets found in Add/Remove, this didn't work. I rolled back computer using Restore to before I installed VBE, and reinstalled and that didn't work. I don't know why this isn't working the way it's supposed to. Can anyone help me?



    Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    MessageBox.Show("Hello World")
    End Sub
    End Class
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds