Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 April 23rd, 2006, 01:29 AM
Registered User
Join Date: Apr 2006
Location: vkm, kerala, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default doubt in .net

dear sir ,
How to display windows form dynamicaly in VB.net

You Enter the form name in textbox . after that u assign that text in the text box to a variable. We need to show the form stored in that variable now without any conditions like "if" conditions..
Old April 25th, 2006, 11:53 AM
Registered User
Join Date: Jan 2006
Location: Crawley, Sussex, United Kingdom.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Dim ChosenForm As New frmSomething

This should open the new form and close the current one.
There has to be an IF, select case or something if there are several forms to choose from.


Old April 25th, 2006, 10:49 PM
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts

You want to force the user to know the name of a form before you show it? I suggest you re-think your logic.

How is the user supposed to intuitively know what the names of your forms are? You are much better off allowing them to select what form to display from some type of list that is pre-generated, then show a particular form based on the selection.

Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net doubt virus220 ASP.NET 2.0 Professional 1 August 10th, 2007 11:47 AM
doubt sampathk Visual Basic 2005 Basics 1 November 28th, 2006 02:45 PM
urgent doubt to run calc.exe from asp.net page geetha ASP.NET 1.0 and 1.1 Professional 0 July 19th, 2006 07:35 AM
doubt! kk_katepally ASP.NET 1.0 and 1.1 Basics 1 February 7th, 2006 01:58 PM
very very urgent doubt spec in c#.net geetha VS.NET 2002/2003 0 December 21st, 2005 07:29 AM

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