It's not who you are underneath, it's what you do that defines you

摘要: http://blog.csdn.net/duanzilin/article/details/5951709 阅读全文
posted @ 2012-06-25 15:44 金铭杰 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1、判断是否安装的是Excel2000: RegistryKey regk = Registry.LocalMachine; RegistryKey akey =regk .OpenSubKey(@"SOFTWARE\\Microsoft\\Office\\9.0\\Word\\InstallRoot\\"); //检查本机是否安装Office2000if(akey !=null) { string file00 =akey .GetValue("Path").ToString(); if (File.Exists(file00 +"Excel 阅读全文
posted @ 2012-06-25 11:45 金铭杰 阅读(3855) 评论(0) 推荐(0) 编辑
摘要: privatevoid button1_Click(object sender, EventArgs e) { object objApp; object objBook; object objBooks; object objSheets; object objSheet; object objRange; object objCells; object[] Parameters; ... 阅读全文
posted @ 2012-06-25 11:44 金铭杰 阅读(1080) 评论(0) 推荐(0) 编辑

Brick walls are there for a reason :they let us prove how badly we want things