T
tonegawa
I'm using word automation, and I need to correct the old code, in order to
use just the reflection, and not the direct reference to the office libraries
from visual studio.
The old code had:
varDlg =
varWord.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFilePrint]
I don't know how to invoke the [] operator using reflection.
(also Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFilePrint is not an
int, but an enum type)
use just the reflection, and not the direct reference to the office libraries
from visual studio.
The old code had:
varDlg =
varWord.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFilePrint]
I don't know how to invoke the [] operator using reflection.
(also Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFilePrint is not an
int, but an enum type)