Results 1 to 5 of 5

Thread: Start Up

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67

    Question

    How can I get a program to turn on during start up with out the start up folder..using Autoexec.bat would be nice


    any tips?

  2. #2
    Addicted Member Mih_Flyer's Avatar
    Join Date
    Mar 2000
    Location
    some place there
    Posts
    241

    Talking rigestry

    i think you have to rigester it, but how i don't remember, or i should say i don't know

  3. #3
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb StartUp

    If you don't want to touch the registry, then all you need just copy you program into the Startup folder.

  4. #4

  5. #5
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb Alternative way...

    If you wish to hide you setting in the registry without let others people know it. You can do it this way with out using a complex API function.

    All you need is to create a new file with extension ".reg"
    Exmaple:
    AddStartup.reg

    then you need to append the follwoing line into this file:
    For Networking PC
    REGEDIT4
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
    "MyProgram"="C:\\Temp\\Disable.exe"

    For Stand Alone PC
    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    "MyProgram"="C:\\Temp\\Disable.exe"

    You must follow below format:
    Content Format
    <Registry Root String>
    <Description>=<File Path + FileName>

    After create this file, all you need is just Shell this .reg file with the regsvr32.exe:

    Shell "Regsvr32.exe AddStartup.reg , vbHide"

    [Edited by Chris on 06-19-2000 at 10:41 PM]

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