ASP.Net FAX ?
-
My prime objective is to create one asp.net application to send fax. For which i have written the following code , and added the reference of required DLL called (fsxcomex.dll). But still i am not being able to rectify the following errors. FAXCOMEXLib.FaxServer not defined. FAXCOMEXLib.FaxDocument not defined . so alternatively i tried to create Activex object for it . But it didn't work. Here is my Complete Code : Seeking immediate respone . Thanx in advance. Dim faxServer As Object faxServer = CreateObject("FAXCOMEXLib.FaxServer") Dim faxDoc As Object faxDoc = CreateObject("FAXCOMEXLib.FaxDocument") ' Dim faxServer As FAXCOMLib.FaxServer = New FAXCOMLib.FaxServerClass faxServer.Connect(Environment.MachineName) ' Dim faxDoc As FAXCOMLib.FaxDoc = CType(faxServer.CreateDocument(path), FAXCOMLib.FaxDoc) faxDoc.RecipientName = RecipientName faxDoc.FaxNumber = FaxNumber faxDoc.DisplayName = DocumentName faxDoc.SenderName = "SenderName " faxDoc.SenderCompany = "SenderCompany " Dim Response As Integer = faxDoc.Send faxServer.Disconnect()
sanjay kumar samantaray
-
My prime objective is to create one asp.net application to send fax. For which i have written the following code , and added the reference of required DLL called (fsxcomex.dll). But still i am not being able to rectify the following errors. FAXCOMEXLib.FaxServer not defined. FAXCOMEXLib.FaxDocument not defined . so alternatively i tried to create Activex object for it . But it didn't work. Here is my Complete Code : Seeking immediate respone . Thanx in advance. Dim faxServer As Object faxServer = CreateObject("FAXCOMEXLib.FaxServer") Dim faxDoc As Object faxDoc = CreateObject("FAXCOMEXLib.FaxDocument") ' Dim faxServer As FAXCOMLib.FaxServer = New FAXCOMLib.FaxServerClass faxServer.Connect(Environment.MachineName) ' Dim faxDoc As FAXCOMLib.FaxDoc = CType(faxServer.CreateDocument(path), FAXCOMLib.FaxDoc) faxDoc.RecipientName = RecipientName faxDoc.FaxNumber = FaxNumber faxDoc.DisplayName = DocumentName faxDoc.SenderName = "SenderName " faxDoc.SenderCompany = "SenderCompany " Dim Response As Integer = faxDoc.Send faxServer.Disconnect()
sanjay kumar samantaray
So your app takes an uploaded file, and sends it from the server via fax ? What do you charge for this service, to cover your phone costs ?
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )