Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Open Form
Author:
Mike Renaud
Submitted:
3/8/2007
Version:
VB.NET 2003
Compatibility:
VB.NET 2003, VB 2005
Category:
Forms
Views:
19223
Open a new form Without the "New" word.
Declarations:
'none
Code:
'pallet is an existing form Dim pallet As System.Windows.Forms.Form Dim typeToOpen As Type typeToOpen = GetType(Pallet) Dim frm As Form = CType(System.Activator.CreateInstance(typeToOpen), Pallet) frm.Show()
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement