Office AddIn Office Object Model

I am developping addin for office Application to integerate the system we are using in company. I use IDTExtensibility2
model for addin in order to enable this add-in for all application comes with office.

when I try to open in word doc from addin going like this,

Dim wordDoc as new word.application
word.Documents.open pathtodocument

it creates another word instance and open it there whether or not I have document open in the current word. same thing with excel and powerpoint.

for going like this

Dim excelWksht as excel.application
excelWkSht.Workbooks.Open PathToworkbook
will open a workbook in a different excel instance.

how to use this office application model in order for opening
a document in the current application.

Thanks in Avanced

Shin
[846 byte] By [pc101] at [2007-11-18 20:32:53]