Hi,
>
Ok, this approach is interesting. I finally found what you meant by Sub Main(). However, in order to be able to do this, I have to disable the application framework in the project property. Doing this, I loose my XP style on the form.
>
Haven't used VB much in 2005 but I believe you can use the Application.UseVisualStyles property for that. I assume that all of the options there have equivalent properties/methods in the app class.
>
Also, a Sub cannot inherits from my application framework. So, I am back to square one.
>
Take a closer look at the C# example. Main() creates an instance of your sub-classed WindowsFormsApplicationBase.
Regards,
Viv
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only