programming Q

This is a discussion on programming Q within the C Programming forums, part of the General Programming Boards category; I have to create a popup screen in my program (basically Yes/NO screen), and the front end users should have ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    21

    programming Q

    I have to create a popup screen in my program (basically Yes/NO screen), and the front end users should have the capability to turn on/off the ability.

    Which is the best way to do it? Create a touch file or
    just create a flag in the system control database tables?

    Thanks
    RN

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    depends on the operating system. MS-Windows you would create an entry in the registry. *nix some kind of configuration file that contains this and other program options.

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Real programmers write a routine to modify the executable itself to change the value of a constant that tells the program if it should pop it up.

    jk

    config file or something along those lines will do fine

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    Quote Originally Posted by Thantos
    Real programmers write a routine to modify the executable itself
    Oh! you mean like those who write viruses and other nasty programs Depending on the operating system it may not be possible to modify a running program.

  5. #5
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Quote Originally Posted by Ancient Dragon
    Oh! you mean like those who write viruses and other nasty programs Depending on the operating system it may not be possible to modify a running program.
    Hence the JK

Popular pages Recent additions subscribe to a feed

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