Can I ask a favor

This is a discussion on Can I ask a favor within the C++ Programming forums, part of the General Programming Boards category; I am trying to get an autorun file to display and image on screen for a few secounds then go ...

  1. #1
    Registered User zergdeath1's Avatar
    Join Date
    Sep 2003
    Posts
    39

    Can I ask a favor

    I am trying to get an autorun file to display and image on screen for a few secounds then go to a browser program. My problem is that autorun cant do that, so I was wondering if any body here who knows how to do graphics could make that program for me.

    I know people here do not like doing this but, I am trying to help a friend and I dont C++ well enough to do this yet.

    So could you please have an image display for a few secounds (fullscreen or any where but a corner) and then have it launch a program. The other problem is that I do not know the name of the program so if you could make it so that i could edit the name of the program.

    <sarcasm>Think of it as a Challenge!</sarcasm>

    Thanks!
    Stolen Quote: Buttered Toast always lands butter side down and cats always land on their feet, what happens when you strap buttered Toast to the back of a cat?
    My Quote: Practice Makes Perfect Nobodys Perfect Why Practice?

  2. #2
    Registered User
    Join Date
    Jan 2004
    Posts
    33
    Not quite sure about the image. Heres the simplest code to open a program.
    Code:
    #include <windows.h>
    
    int main()
    {
        WinExec("notepad.exe", SW_NORMAL);
    
    return 0;
    }
    “Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. " -John Carmack

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. RAND() Does it favor the lower number?
    By Queatrix in forum C++ Programming
    Replies: 4
    Last Post: 04-12-2006, 02:38 PM
  2. A huge favor to ask
    By Doomkiller in forum Windows Programming
    Replies: 1
    Last Post: 09-17-2005, 08:56 PM
  3. Asking a favor of anyone with a GeForce 3
    By psychopath in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 07-23-2005, 09:49 PM
  4. Could someone do me a REALLY quick favor
    By DarkViper in forum Windows Programming
    Replies: 1
    Last Post: 08-10-2003, 04:50 AM
  5. Need a favor!!!
    By Nick Dillon in forum C++ Programming
    Replies: 4
    Last Post: 02-20-2002, 04:40 PM

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