?
Solved

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

Posted on 2004-04-22
4
Medium Priority
?
1,742 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 500 total points
ID: 10892582
0
 
LVL 8

Assisted Solution

by:rajaloysious
rajaloysious earned 500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 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