目前分類:C# (2)

瀏覽方式: 標題列表 簡短摘要

using System.Reflection;
string CurAppDir;
CurAppDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);
Reference



jpsix 發表在 痞客邦 留言(0) 人氣()

整合?是蝦咪碗糕?
其實就是你可以用寫code的方式去控制Microsoft Office Word Excel...etc
第一步
要去微軟的官網下載Office主要 Interop 組件 (PIA)
就我所知目前有三個版本

分別是Office XP

oxppia.exe

jpsix 發表在 痞客邦 留言(0) 人氣()