kumaraswamy
Member
- Joined
- Jul 24, 2009
- Messages
- 12
- Programming Experience
- 1-3
Thanks a lot! It helped.
I have another query -
I have the following lines:
Dim WordApp As New Microsoft.Office.Interop.Word.Application
Dim WordDoc As Microsoft.Office.Interop.Word.Document
.
.
WordApp.Visible = False
WordDoc = WordApp.Documents.Open(strFileName)
.
.
Dim WordDoc As Microsoft.Office.Interop.Word.Document
Thought WordApp.Visible is False, the word application opens. I dont want this to happen. I just want VB .NET to display the contents of the file in the label. IS there a way to suppress the opening of Word Document?
Thanks
Kumar
I have another query -
I have the following lines:
Dim WordApp As New Microsoft.Office.Interop.Word.Application
Dim WordDoc As Microsoft.Office.Interop.Word.Document
.
.
WordApp.Visible = False
WordDoc = WordApp.Documents.Open(strFileName)
.
.
Dim WordDoc As Microsoft.Office.Interop.Word.Document
Thought WordApp.Visible is False, the word application opens. I dont want this to happen. I just want VB .NET to display the contents of the file in the label. IS there a way to suppress the opening of Word Document?
Thanks
Kumar