Announcement

Collapse
No announcement yet.

please help. i want to add myapp to startup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • please help. i want to add myapp to startup

    hello all

    please i want create startup registry to run my app in startup

    like my app.exe was in %ApplicationDataFolder%\\app.exe

    i want set path compatible with all variable paths and different os

    in win7 path=%ApplicationDataFolder%\roaming\app.exe

    who can i create this registry key

    my auto play version is 8.5

  • #2
    Any help found
    i'm waiting

    Comment


    • #3
      A quick Google search found - try before posting and read manual on registry

      The simplest way would be to place a shortcut of the Program in the Windows Startup folder.
      The Current Users Startup folder in Windows is located at:

      C:\Users\Username\AppData\Roaming\Microsoft\Window s\Start Menu\Programs\Startup

      These programs start up for the current logged in user only. To directly access this folder, open Run, type shell:startup and hit Enter.
      The All Users Windows startup folder is located at:

      C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

      To open this folder, bring up the Run box, type shell:common startup and hit Enter.
      You can add shortcuts of the programs you want to start with you Windows in this folder

      OR

      The Windows registry includes the following four keys:

      HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Run
      HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run
      HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\RunOnce
      HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\RunOnce

      cheers

      Comment


      • #4
        THANK U DEAR
        FRISTLY
        fully tired from seach in all site

        secondly
        i want add myapp made by autoplay media studio to startup
        not add app to my own pc

        Comment


        • #5
          SHORTCUT and REGISTRY are in the manual PLEASE READ
          cheers

          Comment


          • #6
            yes i know i want to add myapp.exe to startup by two methods
            add file by copy to startup folder or create reg key
            now in the autoplay media studio
            add the
            these command line but not working

            Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\ \Run ", "Javached", "_AppData\\myapp.exe", REG_SZ);
            File.Open("AutoPlay\\Docs\\Power.exe", "", SW_SHOWNORMAL);

            Comment


            • #7
              In your first code you have typo - space between slashes CurrentVersion & Run
              Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\ \Run ", "Javached", "_AppData\\myapp.exe", REG_SZ);

              Second I would use Shell.Execute instead of File.Run for exe
              Shell.Execute(_SourceFolder.."\\AutoPlay\\Docs\\Po wer.exe", "open", "", "", SW_SHOWNORMAL, false);

              Cheers

              Comment


              • #8
                thank you dear friend
                i will try and replay

                Comment


                • #9
                  no key was created also

                  Comment


                  • #10
                    no key was created also
                    Hi, is your system X64?

                    You will have to use Wow64 plugin by Ulrich http://www.mindquake.com.br/software...ugins/14-wow64

                    I will make sample if I have time - but you can give it a go first
                    Cheers

                    Comment


                    • #11
                      Originally posted by colc View Post
                      Hi, is your system X64?

                      You will have to use Wow64 plugin by Ulrich http://www.mindquake.com.br/software...ugins/14-wow64

                      I will make sample if I have time - but you can give it a go first
                      Cheers
                      i will see this post and waiting ur example

                      thank you very much for your time dear friend

                      Comment


                      • #12
                        Originally posted by mohat444 View Post

                        i will see this post and waiting ur example

                        thank you very much for your time dear friend
                        He asked you to go give it a try first so go do that and show us you have tired,
                        Plugins or Sources MokoX
                        BunnyHop Here

                        Comment


                        • #13
                          Originally posted by kingzooly View Post

                          He asked you to go give it a try first so go do that and show us you have tired,
                          yes i know but i didn't find any tutorial for it

                          Comment


                          • #14
                            How do you think we leart ? we read the manual, to looks at tools already out there and just tried different things first before asking for help.
                            Plugins or Sources MokoX
                            BunnyHop Here

                            Comment


                            • #15
                              i had download the file and setup it but not shown in actions

                              who can i find it
                              simply i want create registry key to start file in appdata folder

                              who can i do it?

                              Comment

                              Working...
                              X