Starting a Program?
Oct 15, 2010 at 2:01pm UTC
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
Oct 16, 2010 at 12:16am UTC
Great. This is interveiw is informative. Looking forward more.
Oct 17, 2010 at 3:43pm UTC
Oct 17, 2010 at 3:51pm UTC
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
Oct 19, 2010 at 8:06pm UTC
Thanks guys :D Ill try to work with these. Also, can you tell me whats boost?
Topic archived. No new replies allowed.