Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 9th, 2006, 07:53 AM
Authorized User
 
Join Date: Aug 2006
Location: Mumbai, Maharashtra, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to amit_mande@yahoo.com Send a message via AIM to amit_mande@yahoo.com Send a message via MSN to amit_mande@yahoo.com Send a message via Yahoo to amit_mande@yahoo.com
Default on the click of a button how to load another form?

I am doing a project in vb.net.I am new to vb.net.I dont know how to load a form and unload a form.I am Using main form as MDI form.
Please tell me how to do this.


Reply With Quote
  #2 (permalink)  
Old August 15th, 2006, 01:13 AM
Registered User
 
Join Date: Aug 2006
Location: , , Indonesia.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i assume that you know how to make your main form as parent form that can contain child form. just set your ISMDIContainer main form properties to true. :)

in the click button event type this code

Dim frmChild1 As New FormChild1
        frmChild1.MdiParent = Me
        frmChild1.Show()

that's it :)

Reply With Quote
  #3 (permalink)  
Old September 12th, 2006, 06:53 AM
Authorized User
 
Join Date: Aug 2006
Location: Mumbai, Maharashtra, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to amit_mande@yahoo.com Send a message via AIM to amit_mande@yahoo.com Send a message via MSN to amit_mande@yahoo.com Send a message via Yahoo to amit_mande@yahoo.com
Default

Ya Its works.Thanks

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error On Load and On Click needelp Access VBA 3 November 3rd, 2006 08:34 AM
Button Click ~Bean~ ASP.NET 1.0 and 1.1 Basics 2 September 27th, 2005 09:32 AM
How to load 6 diff html pages with 1 mouse click bekim Javascript How-To 13 January 23rd, 2005 08:43 PM
creating reports thru a button click on a form clueless_may Access VBA 3 May 13th, 2004 09:34 PM



All times are GMT -4. The time now is 05:17 PM.


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