VC调用VBS
void CCALLVBSDlg::OnButton1()
{
// TODO: Add your control notification handler code here
SHELLEXECUTEINFO shei;
shei.cbSize = sizeof(shei);
shei.fMask = SEE_MASK_INVOKEIDLIST;
shei.lpFile = _T("computer name.vbs");
shei.lpVerb = _T("open");
ShellExecute(NULL,shei.lpVerb, shei.lpFile, _T(""), _T(""), SW_SHOW);
}
补充:软件开发 , Vc ,