how to add new form at runtime in vb 2005?
Page 1 of 1
how to add new form runtime in vb 2005
#2
Re: how to add new form runtime in vb 2005
Posted 24 August 2008 - 09:55 PM
In an event just add two lines of code...
This code creates an instance of a new form and then shows it during runtime. Simple no?
Enjoy!
"At DIC we be new form creating and showing ninjas... we also create chaos and show anarchy. That is just what we do."
' Create a new form variable called "newForm" and then call its show method ' to actually show the form. Dim newForm as Form = New Form() newForm.Show()
This code creates an instance of a new form and then shows it during runtime. Simple no?
Enjoy!
"At DIC we be new form creating and showing ninjas... we also create chaos and show anarchy. That is just what we do."
Page 1 of 1

Ask A New Question
Reply





MultiQuote




|