Strange VB2005 Form self minimizing "debugging or not"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cindy2
    New Member
    • Sep 2007
    • 35

    Strange VB2005 Form self minimizing "debugging or not"

    Hi,

    Something strange happens when I run my vb2005-project. The startup form (form1) displays normally at first instance. After that you can show a dialog(form2) with a button_click. When you close the dialog with another button_click some data (mainly labels.text) must be loaded on form1. But when that happens form1 is automatically minimized and comes back in a while when all the data is loaded. This does not happen if I have no other programms in my taskbar. In that case form1 is still present, and the labels are filled one by one. What's happening here? Is someone famillair with this? Why is form1 minimized for a while?

    Oh. It does not only happen while debugging, it also happens when I first build the program and then run.

    Cindy
  • cugone
    New Member
    • Sep 2007
    • 20

    #2
    Could you pack your code into a zip file and attach it? I've never heard of the problem before and would like to get a more visual representation of what it's doing.

    Comment

    • Dököll
      Recognized Expert Top Contributor
      • Nov 2006
      • 2379

      #3
      Originally posted by cindy2
      Hi,

      Something strange happens when I run my vb2005-project. The startup form (form1) displays normally at first instance. After that you can show a dialog(form2) with a button_click. When you close the dialog with another button_click some data (mainly labels.text) must be loaded on form1. But when that happens form1 is automatically minimized and comes back in a while when all the data is loaded. This does not happen if I have no other programms in my taskbar. In that case form1 is still present, and the labels are filled one by one. What's happening here? Is someone famillair with this? Why is form1 minimized for a while?

      Oh. It does not only happen while debugging, it also happens when I first build the program and then run.

      Cindy
      Hello Cindy, Welcome!

      Please add your code here, perhaps it'll be alittle easier to to get help that way.

      Again welcome, and good luck with the project!

      I also modified your thread title to aid in gaining quicker results:-)

      Dököll
      Last edited by Dököll; Oct 13 '07, 06:10 AM. Reason: Added remark

      Comment

      • cindy2
        New Member
        • Sep 2007
        • 35

        #4
        Hello, thanks for the replies. I have attached my project as a whole, because I don't know which part of the code is responsible for the strange bahavior. Before you try to run the project read this:

        1. The program is still in the building fase, so not everything is working yet
        2. To experience the strange bahavior of the program, do the following things: A) Run the project
        B) Push the 'new'-icon in the toolbar. (The icon is a white sheet of paper). A second form will be shown.
        C) Push the "volgende"-button in the second form.
        D) Fill-in some text in the textboxes (or not), and push the "Start Spel"-button. The second form will disapere and some data will be loaded to the first form.

        The strange thing that will happen now, is that the first form is minimized and comes back when the data is loaded.

        I hope this infomation is sufficient.

        Cindy

        Comment

        • cindy2
          New Member
          • Sep 2007
          • 35

          #5
          I couldn't edit my reply anymore. I'm sorry but my project is far to big to attach(1.36 Mb Zipfile). So if you want to take a look at my project I need an e-mail adress.
          BTW It's not that there are any images in the project

          Cindy

          Comment

          Working...