Run program triggered by click event

Can anybody show me how to do this quickly please?

I just want to click a control and for it to launch an application...

 
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) { }


What can I put in the brackets to make it run a program when I click button1?

I did put

system("C:\\Users\\Ben\\Documents\\FineReader.exe");

But this launches cmd.exe before launching Finereader.exe. I just want it to run Finereader. I've been stuck on this for a while now feeling dejected hope someone can help! Thx!

ben
Last edited on
in Windows:
ShellExecute(handle, "open", "C:\\Users\\Ben\\Documents\\FineReader.exe", NULL, NULL, SW_SHOWNORMAL);
Topic archived. No new replies allowed.