Hi,

I am starting another applicaton with this code below. When starting that application it is called "javaw" in the ProcessesTab in TaskManager.

I simply wonder if it is possible to give this a choosen name in taskmanager under ProcessesTab when starting an application like this with the below code. For example if we want to call this process: "testprocess"?

//Start 3:rd party application
System::Diagnostics::Process^ startApp = gcnew System::Diagnostics::Process^();
startApp::StartInfo->FileName = "C:/someApplication.exe";
startApp::Start();

I don't know the answer, but you should no longer use Windows Forms with C++ because Microsoft dropped it support in the newly release VC++ 2012 compiler. I mentioned that only in case you are trying to write a Windows Forms program in CLR/C++. If not, then ignore it.

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.