Startup Form is Blank

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kronecker@yahoo.co.uk

    #1

    Startup Form is Blank

    I converted a C# program to VB.Net and it compiles fine. However, when
    I run it I get a blank form with nothing on it. There should be a few
    text boxes,pull down menus etc that I put on the form (they are
    there). Also the form that is blank that pops up is larger than the
    original. I have specified the right form to start in the properties
    as well.
    The popup form at startup is not any of the other forms on the project
    either!


  • Tom Shelton

    #2
    Re: Startup Form is Blank

    On 2008-08-05, kronecker@yahoo .co.uk <kronecker@yaho o.co.ukwrote:
    I converted a C# program to VB.Net and it compiles fine. However, when
    I run it I get a blank form with nothing on it. There should be a few
    text boxes,pull down menus etc that I put on the form (they are
    there). Also the form that is blank that pops up is larger than the
    original. I have specified the right form to start in the properties
    as well.
    The popup form at startup is not any of the other forms on the project
    either!
    >
    >
    Does your Sub New on the form call Initialize component?

    --
    Tom Shelton

    Comment

    • kronecker@yahoo.co.uk

      #3
      Re: Startup Form is Blank

      On Aug 6, 10:30 am, Tom Shelton <tom_shel...@co mcastXXXXXXX.ne t>
      wrote:
      On 2008-08-05, kronec...@yahoo .co.uk <kronec...@yaho o.co.ukwrote:
      >
      I converted a C# program to VB.Net and it compiles fine. However, when
      I run it I get a blank form with nothing on it. There should be a few
      text boxes,pull down menus etc that I put on the form (they are
      there). Also the form that is blank that pops up is larger than the
      original. I have specified the right form to start in the properties
      as well.
      The popup form at startup is not any of the other forms on the project
      either!
      >
      Does your Sub New on the form call Initialize component?
      >
      --
      Tom Shelton
      Yes it does.

      Comment

      • Cor Ligthert[MVP]

        #4
        Re: Startup Form is Blank

        Why not show that code that you use.

        That you converted a C# program to VB is not so important.

        Although it seems that you forgot the designer generated part.
        (But we are now busy with gambling, do you give prices?)

        :-)

        Cor

        <kronecker@yaho o.co.ukschreef in bericht
        news:5965a5b5-7320-4393-9b04-083d7debc936@t1 g2000pra.google groups.com...
        >I converted a C# program to VB.Net and it compiles fine. However, when
        I run it I get a blank form with nothing on it. There should be a few
        text boxes,pull down menus etc that I put on the form (they are
        there). Also the form that is blank that pops up is larger than the
        original. I have specified the right form to start in the properties
        as well.
        The popup form at startup is not any of the other forms on the project
        either!
        >
        >

        Comment

        Working...