
Trouble Opening a Word Document with VB.NET,Open member not found in Documents
I am trying to open a Word document from VB.NET
Dim wrdApp As Word.Application
wrdApp = New Word.Application()
wrdApp.Visible = True
Dim sar As String = "E:\org\DRR2000.doc"
WrdApp.Documents.Open(sar)
The above code doesn't works
in the immediate window when i try this
the error is method Open not defined in Documents
In the documentation it is given as such
Please tell me how can i open a word document from VB.NET
I had posted this a Developer community Vb list
Where somebody recommended that i post here
*** Sent via Developersdex http://www.*-*-*.com/ ***
Don't just participate in USENET...get rewarded for it!