Call customize Main method in Vb.net
July 20, 2010 at 1:49 pm Leave a comment
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.
Entry filed under: .net, query on .net, Stuffs.
Trackback this post | Subscribe to the comments via RSS Feed