Hi Lisa,
I've tried the program below, but still not make it.
TCHAR szPath[MAX_PATH];
SHGetSpecialFolderPath(hWnd, szPath, CSIDL_PROGRAMS, FALSE);
SHELLEXECUTEINFO info;
info.cbSize = sizeof(info);
info.hwnd = hWnd;
info.lpFile = szPath;
info.lpParameters = _T("");
info.lpDirectory = _T("");
info.nShow = SW_HIDE;
info.hInstApp = g_hInst;
info.fMask = 0;
info.lpVerb = _T("open");
::ShellExecuteEx(&info);
It shows an error msg on the screen, "The file 'Programs' cannot be
opened. Either it is not signed with a trusted certificate,
or ........."
Do you have any idea?
Thanks for your kindly help
Aska