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