导航

2004年8月19日

摘要: C#操作Word! namespace ImportExportToOffice{ using System; using System.ComponentModel; using System.Data; using System.Windows.Forms; public class ImportExportToWord { private ... 阅读全文

posted @ 2004-08-19 08:23 wngwz 阅读(11585) 评论(12) 推荐(0) 编辑

摘要: C#操作Excel! public class ImportExportToExcel { private string strConn ; private System.Windows.Forms.OpenFileDialog openFileDlg=new System.Windows.Forms.OpenFileDialog(); ... 阅读全文

posted @ 2004-08-19 08:19 wngwz 阅读(9963) 评论(19) 推荐(0) 编辑

2004年7月9日

摘要: System.Diagnostics.Process proc = new System.Diagnostics.Process();//程序名称proc.StartInfo.FileName = "mt3000.exe"; //参数proc.StartInfo.Arguments = "/p1 /b38400 /fstock /mr"; //隐藏proc.StartInfo.... 阅读全文

posted @ 2004-07-09 08:06 wngwz 阅读(933) 评论(1) 推荐(0) 编辑

2004年7月6日

摘要: 例如: private void buuton1_Click( object sender, EventArgs e ){ Assembly _myAssembly = Assembly.LoadFrom(@"e:windowsApplication6.dll"); Type _myType = _myAssembly.GetType( "WindowsApplication6.Fo... 阅读全文

posted @ 2004-07-06 18:54 wngwz 阅读(651) 评论(0) 推荐(0) 编辑

2004年6月24日

摘要: 注册成功! 阅读全文

posted @ 2004-06-24 16:10 wngwz 阅读(407) 评论(0) 推荐(0) 编辑