Starting a Program?

Hey,

Im new to C++ and i need help making a program. I made a GUI, and i inserted some button, They work. But i got one more button that needs extra work. I want the button to Start a Process.

So this is the Code i guess..
1
2
3
4
5
6
7
8
9
// 
			// Game
			// 
			resources->ApplyResources(this->Game, L"Game");
			this->Game->ForeColor = System::Drawing::Color::Yellow;
			this->Game->Name = L"Game";
			this->Game->UseVisualStyleBackColor = true;
			this->Game->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
			
So all i have to do it add
1
2
3
4
5
6
7
8
9
// 
			// Game
			// 
			resources->ApplyResources(this->Game, L"Game");
			this->Game->ForeColor = System::Drawing::Color::Yellow;
			this->Game->Name = L"Game";
			this->Game->UseVisualStyleBackColor = true;
			this->Game->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
			this->Game->Click += gcnew System::Start("ProcessName"); 
<<---???

Or am i totally wrong? Please help. im using Microsoft Visual Studio 2010.

Regards,
Ash
Great. This is interveiw is informative. Looking forward more.
// Found a link to something about creating processes, unless I'm totally wrong, but here:
http://www.codeguru.com/forum/showthread.php?t=302501
Are you using any specific library to create your new process? Because if not I'd recommend Boost; it makes things so much easier if you can understand either the docs or me. :P

-Albatross
Thanks guys :D Ill try to work with these. Also, can you tell me whats boost?
Topic archived. No new replies allowed.