Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.67/5 (5 votes)
See more:
VB
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim a=15 As Integer


        Print(a)
 End Sub
Posted
Comments
abbaspirmoradi 28-Aug-13 6:26am    
insert lable control with name lbl1 into your form and then: lbl1.Content = a.ToString()
[no name] 28-Aug-13 6:33am    
Well the first thing that you should do is get yourself a book on basic programming for Windows. Go through the book, read the book and do all of the exercises.

Following Code will help you.........
VB
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim a=15 As Integer


      MessageBox.Show(a)
 End Sub
 
Share this answer
 
Comments
Thanks7872 28-Aug-13 6:28am    
The answer is duplicated. Please remove one.
[no name] 28-Aug-13 6:44am    
Answer already deleted.....
You REALLY need to pickup a beginners book on VB.NET and work through it. This is one of those "first day of class" things you need to know.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900