V
V.Balaji
Hi Friends,
I am trying to print word document in the server using vb.net and we are using following code to do so.
Dim WordApp As New Word.Application
WordApp.Documents.Open(strFullPath, , , , , , , , , , , , , , )
WordApp.Documents(1).PrintOut(, , , , , , , bv_CopiesNum, , , False, , bv_PrinterName, False, False, False, False, False)
WordApp.Documents(1).Close()
WordApp.Application.Quit()
Here the problem is sometime when the system is restarted this donsen't work and we get exception from the word.exe as
"Word cannot print. There is no printer installed"
Any workaround or solution is highly appricated.
Thanks in advance.
Regards,
V.Balaji
iInterchange Systems Pvt. Ltd.,
Chennai | Tamil Nadu | India.
I am trying to print word document in the server using vb.net and we are using following code to do so.
Dim WordApp As New Word.Application
WordApp.Documents.Open(strFullPath, , , , , , , , , , , , , , )
WordApp.Documents(1).PrintOut(, , , , , , , bv_CopiesNum, , , False, , bv_PrinterName, False, False, False, False, False)
WordApp.Documents(1).Close()
WordApp.Application.Quit()
Here the problem is sometime when the system is restarted this donsen't work and we get exception from the word.exe as
"Word cannot print. There is no printer installed"
Any workaround or solution is highly appricated.
Thanks in advance.
Regards,
V.Balaji
iInterchange Systems Pvt. Ltd.,
Chennai | Tamil Nadu | India.