Hi, New to programming & a bit lost. How can I create an exe file inC++ that will startup another program such as Excel??
Thanks in anticipation
TP

#include <cstdlib>

std::system("<path to excel>");

Thanks for that but it doesn't seem to work. I'm pretty clueless - do you have any ideas ho to get it to work?
TP

try

{do
    {system("cls");    //clears the screen

has you can see when this program or line of code is ran, ....(this is part of my loop if your wondering) it clears the screen and starts again. Perhaps you could try putting the path of excel or something in there. I'm not to fimiliar about this line of code since I'm not ment to know about it yet.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.