R
Rody Reulen
I made an console application with Visual Basic .net. Visual Basic will
automatically create the sub procedure main for you. I try to convert the
main procedure to a function.
During the compilation I will get an error message:
No accessible 'Main' method with an appropriate signature was found in
<application>.
I took a look at the following settings in Visual Basic dotnet:
Project, properties, common properties, general, start object
Here it's possible to define you startup project, but when I modify this
option, the startup object is automatically reset to Sub Main in stead of
Function Main.
Does someone know how to change this?
Thank in advance.
Kind regards,
Rody
automatically create the sub procedure main for you. I try to convert the
main procedure to a function.
During the compilation I will get an error message:
No accessible 'Main' method with an appropriate signature was found in
<application>.
I took a look at the following settings in Visual Basic dotnet:
Project, properties, common properties, general, start object
Here it's possible to define you startup project, but when I modify this
option, the startup object is automatically reset to Sub Main in stead of
Function Main.
Does someone know how to change this?
Thank in advance.
Kind regards,
Rody