View Full Version : VB Project Giving
sm321
02-07-2012, 10:44 AM
If I made something on Visual Basic, how would I give it to someone else on a different computer? Thanks :)
Kyle Undefined
02-07-2012, 02:09 PM
Like, the source code or just the program? Also, what version of VB?
sm321
02-08-2012, 09:43 AM
Like, the source code or just the program? Also, what version of VB?
I'm on Visual Basic 2010 Express, but that doesn't matter now, I know how, thanks anyway :). But what is wrong now is this:
If Val(Label1.Text) = Val(TextBox1.Text) Then
Val(Label14.Text) = "Goal Reached!"
Says 'Expression is a value and therefore cannot be the target of an assignment.'
Kyle Undefined
02-08-2012, 02:51 PM
Val() returns a number from a string, do this:
If Val(Label1.Text) = Val(TextBox1.Text) Then
Label14.Text = "Goal Reached!"
sm321
02-09-2012, 08:59 AM
Val() returns a number from a string, do this:
If Val(Label1.Text) = Val(TextBox1.Text) Then
Label14.Text = "Goal Reached!"
Thanks :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.