
03-08-2006, 09:24 PM
|
|
Freshman
|
|
Join Date: Mar 2006
Posts: 33
|
|
Function warnings in vb.net 2005
|
I use some functions in a program I designed in VB.net 2003 and now I get errors like Function without an AS clause return of type of object assumed.
or "Function doesn't return a value on all code paths"
Function ResetForm ()
button1.visible = true
textbox1.text = "reset"
end function
Where can I get information on types? Type was optional in 2003 as stated in O'reilley's "Nutshell" book.
Finally the "end function" is underlined with green giving me the last warning
What would a textbox write or button visible return?
Thanks,
Gary
|
|