관리 메뉴

안까먹을라고 쓰는 블로그

[C#] OLE 객체생성 [Activator.CreateInstance] 본문

Language/C#

[C#] OLE 객체생성 [Activator.CreateInstance]

YawnsDuzin 2013. 12. 3. 10:45

 

반응형
1
2
3
objCOM = Activator.CreateInstance(Type.GetTypeFromProgID("iuOleSvr.iuInterFuncOleSvr"));
object obj = objCOM.GetTagVal(txtReadTagName.Text.Trim());
if (obj != null) txtReadVal.Text = obj.ToString();
cs
반응형
Comments