|
-
Sep 4th, 2002, 02:25 PM
#1
Thread Starter
New Member
Help with vb.net
sorry if this is a really dumb question, but my school just got microsoft visual studio .NET and no one nows how to work it, my main question is why this code doesn't work
dim x as integer
dim y as integer
x = txtX
y = txtY
lblsum = x + y
It blue underlines everything after the equal signs and when I try to run it it says for the first two erros "value of type 'System.Form.TextBox' cannot be converted to Integer"
the third error is "value Integer cannot be converted to 'System.Windows.Form.label'
thanks for any answers
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
|