现在手头上有大量的VFP脚本程序,想办这些脚本利用起来,如何用C#去调用这些脚本?有没有做过的高手?

解决方案 »

  1.   

    把VFP程序封装成dll C#可以调用
      

  2.   

    用这个:        [DllImport("shell32.dll")]
            public extern static int ShellExecute(IntPtr hwnd,
                                                     string lpOperation,
                                                     string lpFile,
                                                     string lpParameters,
                                                     string lpDirectory,
                                                     int nShowCmd
                                                    );