Solved

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

Posted on 2004-04-22
4
1,698 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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