如果是要合并成一个的话,不用任何工具怎么能够合成一个
我试过把一个程序作为form2,但是没有效果
请教高手

解决方案 »

  1.   

    string strExePath = "D:\test.exe";
    System.Diagnostics.Process.Start(strExePath);
      

  2.   

    c#中有一种叫做反射的技术,在System.Reflection的名称控件下有好些类(如assembly类等)应该可以完成你的需求。你可以具体参考MSDN帮助。
      

  3.   

    string strExePath = "D:\test.exe";
    这句话明显的不对,没有转移字符
      

  4.   

    Form2 FORM2=new Form2();
    FORM2.SHOW();ORFORM2.SHOWDIALOG();
      

  5.   

    System.Diagnostics.Process.Start(ExeName);
      

  6.   

    要引用另一个程序的DLL文件和命名空间!
      

  7.   

    System.Diagnostics.Process.Start(ExeName);
      

  8.   

    首先引入:[DllImport("Shell32",CharSet=CharSet.Auto)]
    public static extern Int32 ShellExecute(
    IntPtr hwnd,
    string lpOperation,
    string  lpFile, 
    string  lpParameters, 
    string  lpDirectory,
    int nShowCmd);然后再执行:ShellExecute(this.Handle,"open","aa.exe","","c:\\",5);  
    5 表示SW_SHOW,还有SW_HIDE等宏定义,在WinUser.h都有。自己去看看吧。
    偶是学VC++的。
      

  9.   

    解决了,这里是代码,谢谢大家
    using System.Diagnostics;
    using Microsoft.Win32;myProcess = Process.Start(@"你的文件路径");
    myProcess.WaitForExit();
      

  10.   

    Form2 name= new Form2();
    name.show();