How To: Launch a MDI Form from Module in VB.NET 2003
I've set my forms IsMDIContainer property to True but forms icon in Solution Explorer still shows non-MDI icon.
Form will only launch with mdiForm.Showdialog(), Crashes with mdiForm.Show
I'm trying to launch the mdiform from within Sub Main() in Module1
Last edited by JeffMurdock; 03-06-2006 at 12:18 AM.
I have tested about your problem in my machine.
Yeah. The MDI doesn't shown when the application is running.
If you want to show MDI from Sub Main, you need to write this code.
Hope it solve your problem.
Public Sub Main()
Dim objMDI As New frmMain
Please let us know your result.
By moe188 in forum VB Classic
Last Post: 03-11-2005, 06:43 PM
By Maria Jose Serres in forum dotnet.announcements
Last Post: 05-28-2003, 10:34 AM
By Zahid Iqbal in forum dotnet.announcements
Last Post: 05-20-2003, 07:06 AM
Last Post: 02-28-2002, 08:26 AM
By Tim Coulter in forum VB Classic
Last Post: 02-01-2001, 06:49 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL