I am new to Vb,
i am getting error in my source code,
here is my code snippet,
Dim a,b as integer
a=val (txtf.Text)
b=val (txts.Text)
if(a>b)then
txtr=a
else
txtr=b
end if
end sub
ERROR: Runtime Error 424 Object Required:
any help will be appriciated.
txtf,txtsandtxtr-- are they textbox controls?