Results 1 to 4 of 4

Thread: startup program on pc start

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2009
    Posts
    126

    Post startup program on pc start

    i need to get my program to startup when the pc starts if the user wants it to.
    thanks in advance
    mr smither

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: startup program on pc start

    create a shortcut in the start > programs > startup folder,
    or create a registry entry in hkcu.software.microsoft.windows.currentversion.run
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3
    Frenzied Member longwolf's Avatar
    Join Date
    Oct 2002
    Posts
    1,343

    Re: startup program on pc start

    there's a link in my sign for code that can create the startup shortcut for you.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2009
    Posts
    126

    Smile Re: startup program on pc start

    Quote Originally Posted by westconn1
    create a shortcut in the start > programs > startup folder,
    or create a registry entry in hkcu.software.microsoft.windows.currentversion.run

    sorry i cant find the Mark Thread Resolved button
    anyway can you please show me some code for entering a program to the registry to start up when the pc does.
    It would be truly appreciated
    mr smither

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width