p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET 4 and Visual Studio 2010 General Discussions (http://p2p.wrox.com/forumdisplay.php?f=579)
-   -   Beginning Microsoft VB 2010 (http://p2p.wrox.com/showthread.php?t=83158)

Tony1997 April 3rd, 2011 05:40 AM

Beginning Microsoft VB 2010
 
Hello everyone.
Im now reading the VB 2010 beginner book by Thearon Wills and Bryan Newsome. im 14 years old and im currently stuck. i tried to code the variable program yesterday but something went wrong. every code is exactly the same like in the book. This is at Page 40. help please!

Code:

Public Class Form1

    Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click
        Dim intNumber As Integer
        intNumber = 27
        intNumber = intNumber + 1
        MessageBox.Show("Value of intNumber + 1 = " & intNumber.ToString, _ "Variables")

    End Sub
End Class

Thanks [:)]

Imar April 3rd, 2011 11:16 AM

Hi there,

I think it would help if you explained what the problem is, and what you're stuck with.

Cheers,

Imar

Imar April 3rd, 2011 11:19 AM

BTW, the book has its own forum: http://p2p.wrox.com/book-beginning-m...asic-2010-557/ which may make it easier for you and others to find relevant messages and answers to existing questions.

Cheers,

Imar


All times are GMT -4. The time now is 05:49 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.