Results 1 to 7 of 7

Thread: wanna start my application when window start

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Pakistan
    Posts
    15

    Question wanna start my application when window start

    when i run setup file of my software, i want that softwar to register in win registry, and when i start win i want that application to start with window, code shold work in all microsoft opperating systems.

  2. #2
    New Member
    Join Date
    Nov 2002
    Location
    Over your Head !
    Posts
    3

    The so Easy Way is Create One ...

    Hi !

    The First Way and The Short Way is find Windows Directory Location and Put One Copy Of Your Software In There !

    I Hope You Can Find WinDirectory Location With API !

  3. #3
    Banned Michael_Kamen's Avatar
    Join Date
    May 2001
    Location
    The Netherlands
    Posts
    1,180
    And otherwise, place a shortcut to your program in the registry, in this key:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Pakistan
    Posts
    15

    Question How can i register in win registry

    How can i register path of my application after run setup file in windows registry so my application start when win boot .

  5. #5
    Lively Member
    Join Date
    Feb 2002
    Location
    India
    Posts
    83

    Use registry API

    Use the Registry API.
    You just put the 'PATH' of the program in the place where, Michael_Kamen had earlier pointed out..
    Don't tweak Batch files and all .Just use API

    Go and download a API GUIDE from www.allapi.net
    There u could find how a Value could be put in the registry...
    Try it..Other wise i will send u the code...

  6. #6
    Member
    Join Date
    Dec 2002
    Location
    USA
    Posts
    33
    you could also add a key here. works same as stated above. just make sure to have if app.previnstance in your code to make sure you arent running more than one version of the program..

    here is the key
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

  7. #7
    Member
    Join Date
    Sep 2001
    Location
    Hyderabad, India
    Posts
    51

    Lightbulb use registry api's

    use registry api's and program to store

    key - "application name"
    and
    value - "the path of the application"

    in this registry key

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

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