Solved

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

Posted on 2004-04-22
4
1,723 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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