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 How-To
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 3rd, 2005, 04:50 AM
Registered User
Join Date: Mar 2005
Location: Arlington, VA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How Do I SHOW and HIDE Windows Forms in VB.NET?

I am new to VB.NET and have experience programming in VB5 and VB6. Using a button click, when I declare a form and then try to use the .show method, I receive an error. Does anyone have working sample VB.NET source code that explains/displays/shows how to show and hide windows forms using VB.NET? Or can anyone explain how to perform these tasks using VB.NET?

Best regards,


Keith George
Penn '04/EMTM '04
Reply With Quote
  #2 (permalink)  
Old March 10th, 2005, 03:49 AM
Registered User
Join Date: Feb 2005
Location: Chandigarh, Haryana, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


As .NET is fully object oriented ,U can'nt use FRMNAME.Show.

Can Use:

Dim objFrm as new <FormName>

To Hide Forms

Me.Hide or <objFrm.Activate>.

Happy Programming..

Reply With Quote

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
Updating SQL Database using Windows Forms in VB planopeeks VB Databases Basics 5 June 12th, 2008 11:33 AM
Hide Cursor Blinking in textbox VB.NET asadullah Visual Studio 2005 0 October 6th, 2007 06:36 AM
how to show/hide forms ? ashrafzia C# 3 November 3rd, 2006 11:07 AM
C# Windows Forms in VS.Net rb157 VS.NET 2002/2003 0 January 10th, 2004 06:57 PM
Windows Forms DataGrid .NET antalpak VS.NET 2002/2003 2 June 20th, 2003 08:09 AM

All times are GMT -4. The time now is 05:01 AM.

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