Problems sending a fax

  • Thread starter Thread starter Jon Dempsey
  • Start date Start date
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
 
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?
 
Back
Top