The user or object does not exist. - TechRepublic
General discussion
October 6, 2004 at 10:21 AM
dbrown

The user or object does not exist.

by dbrown . Updated 15 years, 4 months ago

*** heres my code… whats am i missing?

Try
rfFaxAPI = New RFCOMAPILib.FaxServer
rfFaxAPI.ServerName = “fax”
rfFaxAPI.UseNTAuthentication = True
rfFaxAPI.AuthorizationUserID = “rightfax”
rfFaxAPI.AuthorizationUserPassword = “password”
rfFaxAPI.Protocol = RFCOMAPILib.CommunicationProtocolType.cpTCPIP

rfFaxAPI.OpenServer()
newFax = rfFaxAPI.CreateObject(RFCOMAPILib.CreateObjectType.coFax)

newFax.ToFaxNumber = “18888783399” ‘p_faxnumber
newFax.ToName = “testname”
newFax.Attachments.Add(“test.txt”)
newFax.Send()

p_message = newFax.StatusDescription

Catch ex As Exception
p_message = ex.Message
End Try

End Sub

This discussion is locked

All Comments