I am writing a project VB.NET2005 where I declared a Function Capture_error() but it show following error:
"Function without an 'AS' clause;return type of object assumed"
What can I do for it
:'(
I am writing a project VB.NET2005 where I declared a Function Capture_error() but it show following error:
"Function without an 'AS' clause;return type of object assumed"
What can I do for it
:'(
Are you declaring the return type for this function, Every function expects return type.
If you don't need a return value from this function then declare this as a Sub like this:
Sub Capture_error()
'Your code logic goes here
End Sub
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.