i have a funtion as below:
void CCommandDlg::OnOK()
{
// TODO: Add extra validation here
UpdateData(true);
AfxMessageBox(m_ipstart);
AfxMessageBox(m_ipend);
CString parameter;
parameter = "ipscan" + m_ipstart + " " + m_ipend + "text8.txt";
ShellExecute (NULL, "Open", "C:\WINDOWS\Desktop\Ipscan.exe", parameter, "C:\WINDOWS\Desktop", SW_MAXIMIZE);
CDialog::OnOK();
}
the command to launch my application is:
ipscan 192.33.15.2 192.33.15.6 text8.txt
i run the program in windows2000, but the application is not launched, who can help me to figure it out? thanks a lot!!!!
regards
kaya
void CCommandDlg::OnOK()
{
// TODO: Add extra validation here
UpdateData(true);
AfxMessageBox(m_ipstart);
AfxMessageBox(m_ipend);
CString parameter;
parameter = "ipscan" + m_ipstart + " " + m_ipend + "text8.txt";
ShellExecute (NULL, "Open", "C:\WINDOWS\Desktop\Ipscan.exe", parameter, "C:\WINDOWS\Desktop", SW_MAXIMIZE);
CDialog::OnOK();
}
the command to launch my application is:
ipscan 192.33.15.2 192.33.15.6 text8.txt
i run the program in windows2000, but the application is not launched, who can help me to figure it out? thanks a lot!!!!
regards
kaya