Problems sending a fax

J

Jon Dempsey

I am trying to get a faxing routine working, but I cannot get past the error

An unhndled exception of the type
'System.Runtime.InteropServices.COMException' occurred in
microsoft.visualbasic.dll
Additional information: The data is invalid.



The code I am using is

Dim fxServer As Object

Dim fxDoc As Object

'

fxServer = CreateObject("Faxserver.Faxserver")

fxServer.connect("SERVER")

fxDoc = fxServer.createdocument("D:\Test1.fax")

fxDoc.faxnumber = "0123456789"

fxDoc.send()



Does anyone have any ideas.



Thanks
 
H

Herfried K. Wagner [MVP]

Jon Dempsey said:
I am trying to get a faxing routine working, but I cannot get past the
error

An unhndled exception of the type
'System.Runtime.InteropServices.COMException' occurred in
microsoft.visualbasic.dll
Additional information: The data is invalid.

Which line causes the exception?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top