Results 1 to 4 of 4

Thread: [RESOLVED] problem with form_load

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2013
    Posts
    534

    Resolved [RESOLVED] problem with form_load

    I have found the problem I had form1 as a splash screen
    Last edited by georgesutfin; Feb 3rd, 2025 at 02:33 PM.

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2013
    Posts
    534

    Re: problem with form_load

    I found the problem I had the splash screen on

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,981

    Re: [RESOLVED] problem with form_load

    In future, please don't delete the contents of your original post. That doesn't help anyone and just leaves a mess for us to clean up. Instead, how about you post your solution so that it might help someone else with a similar issue? If the solution likely wouldn't help anyone else, e.g. it was due to a typo, then you can report your post to the mods and ask for the thread to be deleted. Don't just intentionally leave a useless thread.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,463

    Re: [RESOLVED] problem with form_load

    The OP had a single line of code in their Form_Load event to call some other Sub. That Sub was being called twice and they couldn't understand why.

    As I read their update, that form must have been set as both the Splash Screen form and the Startup form, which presumably caused the form to load and then unload (as the splash screen), and then load once again as the startup form. Since the form was loaded twice, the Sub was called twice when executing the program.

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