dr995
February 1st, 2007, 02:33 AM
Dear all
I have a check box and when the check box gets checked i would like to start this application. The application is external and i am using SHELLEXECUTE.
But i dont know how to do it because the code for the event is inside the form.h header file. If i try and put some more includes that are necesary for the SHELLEXECUTE structure i get compile errors.
private: System::Void checkBox1_CheckedChanged(System::Object * sender, System::EventArgs * e)
{
if(this->checkBox1->Checked == true);
****at this point call a function that will start my external application
Would anyone will be able to help me with that?
Thank you for your time and help.
Sincerely
I have a check box and when the check box gets checked i would like to start this application. The application is external and i am using SHELLEXECUTE.
But i dont know how to do it because the code for the event is inside the form.h header file. If i try and put some more includes that are necesary for the SHELLEXECUTE structure i get compile errors.
private: System::Void checkBox1_CheckedChanged(System::Object * sender, System::EventArgs * e)
{
if(this->checkBox1->Checked == true);
****at this point call a function that will start my external application
Would anyone will be able to help me with that?
Thank you for your time and help.
Sincerely