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 01: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, 07:43 PM
By Maria Jose Serres in forum dotnet.announcements
Last Post: 05-28-2003, 11:34 AM
By Zahid Iqbal in forum dotnet.announcements
Last Post: 05-20-2003, 08:06 AM
Last Post: 02-28-2002, 09:26 AM
By Tim Coulter in forum VB Classic
Last Post: 02-01-2001, 07:49 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center