Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb.net to work

Status
Not open for further replies.

BobBob10

Programmer
Apr 24, 2005
57
GB
I can't view the word document which I have created.

Code:
        Dim oWord As New Word.Application
        Dim oWordDoc As Word.Document
        
        oWord.Documents.Add()
        oWordDoc = oWord.Documents.Add()

why is this?
 
Because you haven't opened the document anywhere...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top