Start up form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brett Wesoloski

    #1

    Start up form

    I just want to change the start up form. I did look under the
    projects-application properties but there is nothing to change. I would
    expect it to be in the start up object but all that was there was
    ProgramName.Pro gram so I am assuming it is calling the program.cs class.

    I changed my program.cs file to be a different form I am working on. But
    when I go to run the application it still brings up the form that was
    originally declared as new. When I put in a break point the program does
    not stop. It is in debug mode. If I change the program.cs file back to the
    form that was originally being used. The program does go into debug mode.
    But if I change code in that file it isn't using it. It is like the program
    is using an old compiled version.

    Can anyone tell me how to change the startup form?

    Thanks,
    Brett



  • Milan

    #2
    Re: Start up form

    Hi

    Is ur program running in debug mode ?

    Milan

    Brett Wesoloski wrote:
    I just want to change the start up form. I did look under the
    projects-application properties but there is nothing to change. I would
    expect it to be in the start up object but all that was there was
    ProgramName.Pro gram so I am assuming it is calling the program.cs class.
    >
    I changed my program.cs file to be a different form I am working on. But
    when I go to run the application it still brings up the form that was
    originally declared as new. When I put in a break point the program does
    not stop. It is in debug mode. If I change the program.cs file back to the
    form that was originally being used. The program does go into debug mode.
    But if I change code in that file it isn't using it. It is like the program
    is using an old compiled version.
    >
    Can anyone tell me how to change the startup form?
    >
    Thanks,
    Brett

    Comment

    • Brett Wesoloski

      #3
      Re: Start up form

      Yes.

      "Milan" <milanwarik@goo glemail.comwrot e in message
      news:1161784490 .399098.246370@ b28g2000cwb.goo glegroups.com.. .
      Hi
      >
      Is ur program running in debug mode ?
      >
      Milan
      >
      Brett Wesoloski wrote:
      >
      >I just want to change the start up form. I did look under the
      >projects-application properties but there is nothing to change. I would
      >expect it to be in the start up object but all that was there was
      >ProgramName.Pr ogram so I am assuming it is calling the program.cs class.
      >>
      >I changed my program.cs file to be a different form I am working on. But
      >when I go to run the application it still brings up the form that was
      >originally declared as new. When I put in a break point the program does
      >not stop. It is in debug mode. If I change the program.cs file back to
      >the
      >form that was originally being used. The program does go into debug
      >mode.
      >But if I change code in that file it isn't using it. It is like the
      >program
      >is using an old compiled version.
      >>
      >Can anyone tell me how to change the startup form?
      >>
      >Thanks,
      >Brett
      >

      Comment

      • Brett Wesoloski

        #4
        Re: Start up form

        Well I created a new project and was able to change it.

        Something must have been messed up with the project.

        Thanks,
        Brett
        "Brett Wesoloski" <brett.wesolosk i@kcc.omwrote in message
        news:12juqht2su heffe@corp.supe rnews.com...
        >I just want to change the start up form. I did look under the
        projects-application properties but there is nothing to change. I would
        expect it to be in the start up object but all that was there was
        ProgramName.Pro gram so I am assuming it is calling the program.cs class.
        >
        I changed my program.cs file to be a different form I am working on. But
        when I go to run the application it still brings up the form that was
        originally declared as new. When I put in a break point the program does
        not stop. It is in debug mode. If I change the program.cs file back to
        the
        form that was originally being used. The program does go into debug mode.
        But if I change code in that file it isn't using it. It is like the
        program
        is using an old compiled version.
        >
        Can anyone tell me how to change the startup form?
        >
        Thanks,
        Brett
        >
        >
        >

        Comment

        • Milan

          #5
          Re: Start up form

          Hi,

          I checked with my poject. Its running perfectly fine.
          Pls try - remove class and again add to the project

          Cheers

          Milan

          Brett Wesoloski wrote:
          Well I created a new project and was able to change it.
          >
          Something must have been messed up with the project.
          >
          Thanks,
          Brett
          "Brett Wesoloski" <brett.wesolosk i@kcc.omwrote in message
          news:12juqht2su heffe@corp.supe rnews.com...
          I just want to change the start up form. I did look under the
          projects-application properties but there is nothing to change. I would
          expect it to be in the start up object but all that was there was
          ProgramName.Pro gram so I am assuming it is calling the program.cs class.

          I changed my program.cs file to be a different form I am working on. But
          when I go to run the application it still brings up the form that was
          originally declared as new. When I put in a break point the program does
          not stop. It is in debug mode. If I change the program.cs file back to
          the
          form that was originally being used. The program does go into debug mode.
          But if I change code in that file it isn't using it. It is like the
          program
          is using an old compiled version.

          Can anyone tell me how to change the startup form?

          Thanks,
          Brett

          Comment

          Working...