Trouble Opening a Word Document with VB.NET,Open member not found in Documents 
Author Message
 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!



Sat, 14 Feb 2004 12:45:25 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. opening and closing word document using vb,net

2. Opening and Saving MS Word Documents using VB.NET

3. Opening and Writing to Word Document From ASP.NET,C# application

4. document does not open in Word

5. VB error on opening word documents

6. Word Automation Failure when other word documents are open

7. Opening Existing Word Document using VB (GetObject)

8. How open a Word document since VB

9. Opening / Closing word documents from VB

10. how to use vb to call word/excel to open a document

11. Help, Opening a word document from VB

12. How open a Word document since VB

 

 
Powered by phpBB® Forum Software