ShellExecute(this->m_hWnd,"open",strTarget,NULL,NULL,SW_SHOW);

void CTypeManualDlg::OnBtnReleasedoc() 
{
    // TODO: Add your control notification handler code here
    UpdateData(TRUE);
    CString strTarget="\\\\xxx\\xxx\\" + this->m_ReleaseDoc;
    CString cmd="explorer "+strTarget;
    ShellExecute(this->m_hWnd,"open",strTarget,NULL,NULL,SW_SHOW);    
}

 

posted @ 2017-10-06 09:39  sky20080101  阅读(99)  评论(0)    收藏  举报