Results 1 to 9 of 9

Thread: windows registry service

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    153

    windows registry service

    hi to all. i have developed one software. i want to automate the running of the software. so that it can easy to setting the condition one time(otherwise it will take more time to seting the user infromation).how to create the windows service for that. so plz help me for that. if anybody know plz help me.
    With thanks
    MMary

  2. #2
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Re: windows registry service

    you might need to explain your situation some more.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    153

    Re: windows registry service

    i want to create the windows service for my application. how to create the windows service and also, i need to register the windows service. how to do that?
    plz if u know help me.

    i want to run the application when the system is boot up.


    with thanks and regards
    MMary

  4. #4
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    Re: windows registry service

    In the Visual Studio "New Project" wizard, there's an option for Windows service.
    As for registering it...
    Google: .net install windows service
    http://csharpcomputing.com/Tutorials/Lesson22.htm

    .net install windows service msi
    http://www.thescripts.com/forum/post1051666-4.html

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: windows registry service

    To start an application, use System.Diagnostics.Process.Start

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: windows registry service

    It's still a little foggy exactly what you want. Are you saying that you want to turn your existing application into a service, or that you want to write a service to somehow control your existing application? If you mean the second option, what would this control involve? Are you saying that you just want to start your application when Windows starts, or that you want to run it at specific intervals, or something else?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    153

    Re: windows registry service

    thank all for the reply. i want to create the window service for the existing application . i am clearly telling my situation. i have developed one software. fist time only(when i am running the software first time) i want to get the information from the user. next time onwards(when boot up or start up of the system), it will hidden some place and run automatically. user can't see the window. this is my situation. so, plz help me to solve the problems.

    With thanks and Regards
    MMary

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: windows registry service

    Create two applications. One can be the actual windows service (so the window is not visible), one serves as a configuration utility. Whenever your windows service starts, check to see if configuration values have been loaded and if they haven't, run the configuration utility for the user to fill out.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    153

    Re: windows registry service

    thank u for ur reply.

    With thanks and regards
    MMary

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