By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,568 Members | 1,688 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,568 IT Pros & Developers. It's quick & easy.

Form Show Question

P: n/a
I have a class that is sort of a custom console
it has an object member in this class that is a custom form
with a sub show which has a command of frm.sho

my question is i had a module with a instance of this class
and in the sub main i hit the show sub of the class
it opens but then closes immediately
how do i get this form to stay open
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Application.Run([instance of form goes here])

-Rob Teixeira [MVP]

"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:E5**********************************@microsof t.com...
I have a class that is sort of a custom console
it has an object member in this class that is a custom form
with a sub show which has a command of frm.show

my question is i had a module with a instance of this class
and in the sub main i hit the show sub of the class
it opens but then closes immediately
how do i get this form to stay open

Nov 20 '05 #2

P: n/a
* =?Utf-8?B?V1N0b3JleUlJ?= <pa**********@sbcglobal.net> scripsit:
I have a class that is sort of a custom console
it has an object member in this class that is a custom form
with a sub show which has a command of frm.show

my question is i had a module with a instance of this class
and in the sub main i hit the show sub of the class
it opens but then closes immediately
how do i get this form to stay open


\\\
Application.Run(New FooForm())
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.