Solved

What Namespace of the .NET framework would allow to automatically send a fax using VB.NET?

Posted on 2004-04-22
4
1,627 Views
Last Modified: 2010-04-24
I need to know What Namespace of the .NET framework would allow to automatically send a fax using VB.NET?
Sample code for the routine will be welcome.
Thanks everybody
0
Comment
Question by:mpoincare
4 Comments
 
LVL 1

Accepted Solution

by:
theonlyfreaky earned 125 total points
ID: 10892582
0
 
LVL 8

Assisted Solution

by:rajaloysious
rajaloysious earned 125 total points
ID: 10896845
See in ms-help://MS.VSCC/MS.MSDNVS/fax/faxlegacyvb_9tb3.htm

To create a FaxServer object, call the Visual Basic CreateObject function as illustrated in the following sample:
Dim FaxServer as Object
Set FaxServer = CreateObject("FaxServer.FaxServer")
Following is a list of the Visual Basic methods of FaxServer objects.

Method Visual Basic Example
Connect  
Connects a fax client application to an active fax server.  Dim FS As Object
Dim ServerName As String
ServerName = "MyServer"
FS.Connect(ServerName)
 
CreateDocument  
Creates a FaxDoc object. The object allows a user to create and send a fax document. Dim FD As Object
Dim FS As Object
Dim FileName As String
FileName = "MyFile"
Set FD = FS.CreateDocument(FileName)
 
Disconnect  
Terminates a connection to a fax server.
 Dim FS As Object
FS.Disconnect()
 
GetJobs  
Creates a FaxJobs object. The object allows enumeration of the queued jobs for the connected fax server.
 Dim FJ As Object
Dim FS As Object
FJ = FS.GetJobs()
 
GetPorts  
Creates a FaxPorts object. The object allows enumeration of fax port configuration information for the connected fax server.
 Dim FP As Object
Dim FS As Object
FP = FS.GetPorts()
 
Following is a list of the Visual Basic properties of FaxServer objects.

Property Visual Basic Example
ArchiveDirectory
STRING
Read/Write  
Location at which the fax server archives outgoing fax transmissions.  ' Retrieve
Dim strArchDir As String
strArchDir = objFaxServer.ArchiveDirectory
' Assign
objFaxServer.ArchiveDirectory = "MyDirectory"
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now