|
-
Oct 6th, 2008, 01:28 AM
#1
Thread Starter
Member
urgent help plz
hello all when i run any block of code in my vb2005 project the application exit the run time
example
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
msgbox ("hello word")
End Sub
after press button i exit immidiatly
plz why and how to fix it
this case just in one project not in all project
and thanx
-
Oct 6th, 2008, 01:34 AM
#2
Fanatic Member
Re: urgent help plz
have you tried making a new project?
-
Oct 6th, 2008, 04:31 AM
#3
Thread Starter
Member
-
Oct 6th, 2008, 04:45 AM
#4
Re: urgent help plz
Check the value of AcceptButton property of the form. If it is set to anything then just clear it.
-
Oct 6th, 2008, 05:07 AM
#5
Re: urgent help plz
You say that it exits if you run any block of code. What happens if you remove all the code from your form and run it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|