Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Mar 2003
    Posts
    191
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Running Form (VB6)

    I have a small problem. I have a project that currently has two forms with it, one called Start and the other called Details. For some reason whenever I work on the Details form and I wish to run the form to review my changes, whenever I click Run the Details form closes and the Start form opens for review. Anyone know where my problem is?
    Thanks in advance.

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    3,802
    Thanks
    0
    Thanked 166 Times in 153 Posts

    Re: Running Form (VB6)

    Well, if they're both called from the same sub/function, and it calls the start form first, that would cause this behaviour if that's the sub/function you're running for review purposes.

    Cheers
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  4. #3
    2 Star Lounger
    Join Date
    Mar 2003
    Posts
    191
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Running Form (VB6)

    I am a bit of a newbie, so how do I see if this is the case and how do I fix it if it is? Thanks so much for your time. It is appreciated.

    Bill

  5. #4
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Running Form (VB6)

    Temporarily change the startup action to open your form instead of loading the Main sub.
    Charlotte

  6. #5
    2 Star Lounger
    Join Date
    Mar 2003
    Posts
    191
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Running Form (VB6)

    Charlotte,
    That's it. Thanks for your help.

    Bill

Posting Permissions

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