How do you auto run a Vb6 exe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yoda
    Contributor
    • Dec 2006
    • 291

    How do you auto run a Vb6 exe

    I want to auto run a VB6 exe so, like when windows starts up the program shows up it would be a big help.

    Thanks Yoda
  • yoda
    Contributor
    • Dec 2006
    • 291

    #2
    can anyone help me?

    Comment

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

      #3
      Originally posted by yoda
      can anyone help me?
      Have you considered burning it to disc, leave the disc in there and hope it runs when you boot up :-)

      Just being silly Yoda, this is way over my head. But I did search google for you and found something that looks promissing. Look at the bottom of the page:



      Let me know how it turns out.

      Comment

      • yoda
        Contributor
        • Dec 2006
        • 291

        #4
        Originally posted by Dököll
        Have you considered burning it to disc, leave the disc in there and hope it runs when you boot up :-)

        Just being silly Yoda, this is way over my head. But I did search google for you and found something that looks promissing. Look at the bottom of the page:



        Let me know how it turns out.
        not much help i'll keep looking or some one might help o well see ya later.

        Comment

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

          #5
          Originally posted by yoda
          not much help i'll keep looking or some one might help o well see ya later.
          Hummm...That's weird, looks solid to me. I'll give it a whirl myself to be sure. I believe the same technique used on disc software is similar if not the same as booting up your machine and have a program run. Hopefully your week-end goes as planned:-)

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by yoda
            not much help i'll keep looking or some one might help o well see ya later.
            Why not just put it in your Startup group, like any other program?

            Comment

            • cjbrx3115
              New Member
              • Jan 2007
              • 93

              #7
              Yeah, just put it in your Startup folder. Anything in that folder starts when Windows does.

              Comment

              • yoda
                Contributor
                • Dec 2006
                • 291

                #8
                Originally posted by cjbrx3115
                Yeah, just put it in your Startup folder. Anything in that folder starts when Windows does.
                yea thanks for the suggestion never thought of that i'm really new to programming most of my posts r questions, anyway thanks

                Yoda

                Comment

                • Killer42
                  Recognized Expert Expert
                  • Oct 2006
                  • 8429

                  #9
                  Originally posted by cjbrx3115
                  Yeah, just put it in your Startup folder. Anything in that folder starts when Windows does.
                  Oops! I meant folder, of course - not group. Slipped back to Windows 3 thinking for a moment, there. :)

                  Comment

                  • devonknows
                    New Member
                    • Nov 2006
                    • 137

                    #10
                    Originally posted by Killer42
                    Oops! I meant folder, of course - not group. Slipped back to Windows 3 thinking for a moment, there. :)
                    Just a comment on the startup directory... if you are going to be using the app on other programs for or OS's then the startup dir will be different for different users, my suggestion would be to use the registry

                    for that user:
                    "HKEY_CURRENT_U SER\Software\Mi crosoft\Windows \CurrentVersion \Run"
                    or
                    for all users:
                    "HKEY_LOCAL_MAC HINE\Software\M icrosoft\Window s\CurrentVersio n\Run"

                    if you dont want to go through the aggro of making your own registry module then just open a file for output, put the reg vars in there and shell it rofl. I have a registry module i picked up from DevX, if need be, bit too big to be posting to be honest, plus if you use registry you can get it to automatically cahnge the settings alot easier if you move the application etc etc.

                    Hope This helps ya,
                    Kind Regards
                    Devon.

                    Comment

                    • devonknows
                      New Member
                      • Nov 2006
                      • 137

                      #11
                      And for some reason its put a space in the "Current" bit of the reg locations, just letting you know it doesnt actually have a space inside of it...

                      Wierd, Laters
                      Devon.

                      Comment

                      • Killer42
                        Recognized Expert Expert
                        • Oct 2006
                        • 8429

                        #12
                        Originally posted by devonknows
                        And for some reason its put a space in the "Current" bit of the reg locations, just letting you know it doesnt actually have a space inside of it...
                        Yes, for some reason TheScripts inserts a space to break up long strings like this. It can be quite annoying at times.

                        Possibly using the CODE tag would prevent it, but I don't recall whether I've ever tried.

                        Comment

                        • Denburt
                          Recognized Expert Top Contributor
                          • Mar 2007
                          • 1356

                          #13
                          You didn't specify which version of Windows I know WinXP not only looks at a specific users startup folder they also have:
                          "C:\Documen ts and Settings\All Users\Start Menu\Programs\S tartup"

                          Comment

                          • yoda
                            Contributor
                            • Dec 2006
                            • 291

                            #14
                            Originally posted by Denburt
                            You didn't specify which version of Windows I know WinXP not only looks at a specific users startup folder they also have:
                            "C:\Documen ts and Settings\All Users\Start Menu\Programs\S tartup"
                            thanks for the help everyone just haven't had time i'll get back to you guys.

                            Yoda

                            Comment

                            Working...