Results 1 to 4 of 4

Thread: Silly Newbie Problem [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796

    Resolved Silly Newbie Problem [RESOLVED]

    I have an app with a Sub Main in a module which instantiates and shows a form like this:
    VB Code:
    1. Public Sub Main()
    2.   Dim frm As frmMain
    3.  
    4.   frm = new frmMain
    5.   frm.Show()
    6.  
    7. End Sub
    However, when I run my application, the form flashes up, disappears and my application ends.

    How can I make the application remain running until my form has unloaded (like VB6 did)?
    Last edited by simonm; Aug 8th, 2005 at 05:26 AM.
    Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width