FileStr.Format("Microsoft Excel - %s [Read-Only]", pathStr); HWND hWnd= ::FindWindow(NULL,FileStr); if (hWnd == NULL) ShellExecute(NULL, "open", pseMULTI.m_tProductionTaskfBriefPath, NULL, NULL, SW_SHOWNORMAL);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)