CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Aug 2002
    Location
    Altamonte Springs, FL
    Posts
    25

    Multiple SDI Forms (Ignore...Dupe Post)

    Sorry, TAB Key didn't work as expected.
    Hello all.

    I have two forms: (fL as new frmLogin and fc as new frmMINCalc).

    In Sub Main i had "fl.showdialog"

    This didn't work because I wanted the user to have 3 chances to log in. I replaced the showdialog with "application.run(fL)

    This works great and now the user has 3 chances to log in.

    Upon successful completion of logging in, the app exits. I want it to show fc, but it doesn't work. I've tried fc.showdialog, and the most recent below

    Sub Main()
    Application.Run(New frmLogin())
    Application.ExitThread
    if bValidated Then
    Application.Run(New frmMINCalc)
    Last edited by crpowell; February 24th, 2003 at 02:05 PM.

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

Featured