Hi
I'm trying to open a file, fill it and then save it as another name and path.
The first time I click on the button who bring the event this is working fine.
But the second time one line make me this error "Object reference not set to an instance of an object."
here is the line...
Hi
I have a procedure in vb.net that create a word document. Here is my code
Dim wrd As Word.Application
Dim doc As Word.Document
Dim rng As Word.Range
Try
wrd = New Word.Application wrd.Visible = False
Catch ex As Exception
MsgBox("An error occured while printing, please try again")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.