Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. startup form

startup form

Scheduled Pinned Locked Moved Visual Basic
csharptutorialquestion
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    Xmen Real
    wrote on last edited by
    #1

    hi, i made 3 forms in vb.net 2005 , form3 set as startup form in which a combobox that contain 2 items ,1st for show form1 and 2nd for show form2. i want form3 should ask that which form will be the startup form(form1 or form2) can someone know how to do this?;)

    D S S 3 Replies Last reply
    0
    • X Xmen Real

      hi, i made 3 forms in vb.net 2005 , form3 set as startup form in which a combobox that contain 2 items ,1st for show form1 and 2nd for show form2. i want form3 should ask that which form will be the startup form(form1 or form2) can someone know how to do this?;)

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You can't change the startup object once your app is compiled. Perhaps you need to take a different approach to explaining what you want this stuff to do?

      Dave Kreskowiak Microsoft MVP - Visual Basic

      X 1 Reply Last reply
      0
      • D Dave Kreskowiak

        You can't change the startup object once your app is compiled. Perhaps you need to take a different approach to explaining what you want this stuff to do?

        Dave Kreskowiak Microsoft MVP - Visual Basic

        X Offline
        X Offline
        Xmen Real
        wrote on last edited by
        #3

        ok;)

        1 Reply Last reply
        0
        • X Xmen Real

          hi, i made 3 forms in vb.net 2005 , form3 set as startup form in which a combobox that contain 2 items ,1st for show form1 and 2nd for show form2. i want form3 should ask that which form will be the startup form(form1 or form2) can someone know how to do this?;)

          S Offline
          S Offline
          Steve
          wrote on last edited by
          #4

          You could do this... I'm not sure this is exactly what you're after but it's a way to set a "startup" form on first run. What you need to do is have an XML config file with a startup form setting that you read. You can then show the required form, after launching a blank, invisible startup form. The thing is, you're not actually changing the "startup" form though. You are however changing the visible form to the required, which is all the user really knows about. So what you want to do, is possible - but not in a pure sense.

          X 1 Reply Last reply
          0
          • S Steve

            You could do this... I'm not sure this is exactly what you're after but it's a way to set a "startup" form on first run. What you need to do is have an XML config file with a startup form setting that you read. You can then show the required form, after launching a blank, invisible startup form. The thing is, you're not actually changing the "startup" form though. You are however changing the visible form to the required, which is all the user really knows about. So what you want to do, is possible - but not in a pure sense.

            X Offline
            X Offline
            Xmen Real
            wrote on last edited by
            #5

            yeah good idea, i will check

            1 Reply Last reply
            0
            • X Xmen Real

              hi, i made 3 forms in vb.net 2005 , form3 set as startup form in which a combobox that contain 2 items ,1st for show form1 and 2nd for show form2. i want form3 should ask that which form will be the startup form(form1 or form2) can someone know how to do this?;)

              S Offline
              S Offline
              shriveni
              wrote on last edited by
              #6

              Hi From project properties from project menu, Select current form3 as startup form in vb.net 2003 In Vb.net 2005 from Project->Properties-> Resources-> Form3 as startup form

              X 1 Reply Last reply
              0
              • S shriveni

                Hi From project properties from project menu, Select current form3 as startup form in vb.net 2003 In Vb.net 2005 from Project->Properties-> Resources-> Form3 as startup form

                X Offline
                X Offline
                Xmen Real
                wrote on last edited by
                #7

                yeah i know this , i want to change it at runtime

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups