Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2004, 11:45 AM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to david29118 Send a message via MSN to david29118
Default VB.NET MDI Application

I am trying to get a Child form to load into a parent form at the point the application executes.

I have the following forms:

1. frmMain (MDI Parent)
2. frmWelcome (MDI Child)

I need frmWelcome to open at the same time the MDI Parent form loads.

ANy ideas how i can do this?

Thanks,
David

 
Old June 7th, 2004, 07:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

Open the frmWelcome in the MDIForm_Load event, although for some reason I think that this not satisfactory?

Brian
 
Old June 7th, 2004, 08:26 PM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to david29118 Send a message via MSN to david29118
Default

I am using VB.net Standard 2003 edition. I reviewed the entire codebase for all of frmMain and do not see a load event.

 
Old June 8th, 2004, 09:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

I loaded my VB.NET application, and found a <formname>_Load method in my project. Although I have Enterprise, it should exist. You can use this method to load the frmWelcome form.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
MDI application!!!!! angelboy C# 2005 0 February 23rd, 2007 12:36 PM
MDI application !!!!! angelboy C# 2005 0 February 7th, 2007 06:12 AM
MDI Application phillipjones1988 C# 2005 0 December 3rd, 2006 12:56 AM
MDI Application dayaananthanm VB How-To 1 August 24th, 2006 04:39 PM
VB.NET MDI Application david29118 Beginning VB 6 2 July 19th, 2004 12:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.