If you have tried to find main method in vb.net, you would not able to find it because vb.net automatically generates that method at runtime. We don’t require writing it. Developer who have worked with C# may find this problem most.
You can write your own main method that can be used at runtime. You can write your main method in a class or a module like below.
But you need be aware of one thing on your project properties
Application->uncheck Enable application framework. In this case, your main method will be invoked instead of automatic generated one.
No comments:
Post a Comment