Executable program

This is a discussion on Executable program within the C++ Programming forums, part of the General Programming Boards category; So what I am looking for is a program that will either run immediatly once the computer has begun booting ...

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    6

    Executable program

    So what I am looking for is a program that will either run immediatly once the computer
    has begun booting up OR a stand alone application that has only one button. What i want
    this program to do is fairly simple (i believe) however I have NO idea where to begin.
    What i'm looking for is a program that will be able to access my computer Device Manager
    and "Scan for hardware changes". So this is what I would like help with:

    Either:
    1- Executable that runs immediatly once computer is turned on
    2- Standalone desktope icon

    AND

    a program that will be able to execute the "Scan for harware changes" button in the
    Device Manager window

  2. #2
    a_capitalist_story
    Join Date
    Dec 2007
    Posts
    2,650
    You looking to hire someone?

  3. #3
    Registered User
    Join Date
    Aug 2011
    Posts
    6
    in all seriousness, all i REALLY need is to know how to execute the "Scan for hardware changes". I can manage the rest

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,548
    I think you should be looking at some scripting. Programs such as AutoHotKey and PowerShell and the like may help you more.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    If you're willing to live with a program that has one button which does the scan, why not just open Device Manager at startup and have that one button be the one you normally press to do the scan?

    You can set that up by running this from an elevated command prompt:
    schtasks /create /TN HardwareScan /sc onlogon /tr "start devmgmt.msc"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program crashing as windows executable
    By porstart in forum C Programming
    Replies: 9
    Last Post: 01-22-2011, 04:52 PM
  2. Replies: 9
    Last Post: 03-03-2006, 09:11 PM
  3. calling an executable from an executable
    By dee in forum C Programming
    Replies: 4
    Last Post: 01-10-2004, 12:32 PM
  4. Command line executable not a KDE executable?
    By FillYourBrain in forum Linux Programming
    Replies: 3
    Last Post: 10-03-2003, 12:01 PM
  5. Altering The Program's Executable?
    By Aidman in forum C++ Programming
    Replies: 7
    Last Post: 12-31-2002, 04:11 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21