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
  1. Home
  2. General Programming
  3. Visual Basic
  4. load vb.net application when OS starts

load vb.net application when OS starts

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
8 Posts 5 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.
  • L Offline
    L Offline
    len_ems
    wrote on last edited by
    #1

    Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?

    C I D A 4 Replies Last reply
    0
    • L len_ems

      Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Write it as a Windows Service, install the service, set the service Startup Type to automatic.


      "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

      L 1 Reply Last reply
      0
      • L len_ems

        Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?

        I Offline
        I Offline
        ineedhelp
        wrote on last edited by
        #3

        Put it or a shortcut to it in the Startup folder. e.g. C:\Documents and Settings\All Users\Start Menu\Programs\Startup

        C 1 Reply Last reply
        0
        • L len_ems

          Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?

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

          Or put an entry in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key using RegEdit or some other method of writing to the registry. All you need to so is create a REG_SZ value, give it any name you want and give it the entire commandline you would use to launch your app, just like you would use in a shortcut. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          L 1 Reply Last reply
          0
          • I ineedhelp

            Put it or a shortcut to it in the Startup folder. e.g. C:\Documents and Settings\All Users\Start Menu\Programs\Startup

            C Offline
            C Offline
            Colin Angus Mackay
            wrote on last edited by
            #5

            xtremean wrote: Put it or a shortcut to it in the Startup folder. That won't actually run the application when the computer boots, which is what the original poster requested.


            "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

            1 Reply Last reply
            0
            • C Colin Angus Mackay

              Write it as a Windows Service, install the service, set the service Startup Type to automatic.


              "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

              L Offline
              L Offline
              len_ems
              wrote on last edited by
              #6

              dear sir, thanks for the message... len_ems

              1 Reply Last reply
              0
              • D Dave Kreskowiak

                Or put an entry in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key using RegEdit or some other method of writing to the registry. All you need to so is create a REG_SZ value, give it any name you want and give it the entire commandline you would use to launch your app, just like you would use in a shortcut. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                L Offline
                L Offline
                len_ems
                wrote on last edited by
                #7

                dear sir, thank you for the message... len_ems

                1 Reply Last reply
                0
                • L len_ems

                  Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?

                  A Offline
                  A Offline
                  antiem
                  wrote on last edited by
                  #8

                  You can create your application is a windows service or Your application is a standard project and you write infomation of your application to registry -good luck-

                  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