Visual Basic.NET
  Home arrow Visual Basic.NET arrow Programmatically Controlling Windows Fax S...
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VISUAL BASIC.NET

Programmatically Controlling Windows Fax Services Using VB.net
By: Luke Niland
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 10
    2007-07-16

    Table of Contents:
  • Programmatically Controlling Windows Fax Services Using VB.net
  • Setting Up the Fax Server
  • Starting to Write the Application
  • Connecting to the Fax Server

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    TestComplete™ automates software testing for a fraction of what the big guys charge. Easy functional and load testing for all Windows, .NET, Java and Web apps. Download a free trial now.

    Programmatically Controlling Windows Fax Services Using VB.net
    (Page 1 of 4 )

    Windows fax services began to be available in Windows 2003 Server. The service was an advance over the alternatives of the time. As you probably guessed from the title, it can be controlled with a Visual Basic.NET application, which we will begin writing in this article.

    Background

    Prior to Windows 2003 Server, if you wanted a software-based faxing solution, you had to purchase a commercial offering (such as Genifax) or use an open source product such as Hylfax.

    The problems with using these other products is the obvious one of cost, and with the open source products there is always the problem of getting support. As most of them run on the Linux platform the support staff need some knowledge of Unix for troubleshooting and set up purposes.

    Then, when Windows 2003 Server was released it came with its own built-in fax services. It has all the features of the commercial products, such as being able to support multiple modems, send email confirmation when the job is sent, receive faxes and route to a mailbox/printer/Folder based on the number it came in on and many more. The difference is that these features are built directly into the operating system.

    Another advantage it has is that we can programmatically control it using the FAXCOMEX.dll library. In this article we are going to write an application in Visual Basic.NET that will control the fax service.   

    Installing the Fax Service on the Server

    Before installing the fax services on the machine, it's a good idea to install all the modems you are going to use, so the setup will be able to use them when the service installs. I'm not sure of the maximum number of modems it will support; I think it's six but this might not be accurate. 

    The first step is installing and setting up the fax service on the server (remember it must be running 2003). This is done in the normal way; go into the control panel, Add/Remove programs, Add/Remove Windows components, then click on the Fax Services option and it will be installed onto your server.

    If the set up runs through without any problems, you should have a new folder in the start menu under communications, and if you answered yes during set up to create a shared fax device, you will be able to connect to the server from client machines to send a fax.

    Before you go any further, send out a test fax using the Send Fax Wizard in the start menu. This will confirm that it is going to work and there's not any problems with the modems or elsewhere in the system. Send it to a local fax machine so you can see the output.

    More Visual Basic.NET Articles
    More By Luke Niland


       · Hi,Hope you find this article interesting, any comments or suggestions leave...
       · We have just started testing the Windows fax servie on Windows 2003 server. The...
     

    VISUAL BASIC.NET ARTICLES

    - Types of Operators in Visual Basic
    - Operators
    - Understanding Custom Events using Visual Bas...
    - Polymorphism using Abstract Classes in Visua...
    - Shadowing using Shadows in Visual Basic.NET ...
    - Overloading and Overriding in Visual Basic.N...
    - More on Controlling Windows Fax Services Usi...
    - Programmatically Controlling Windows Fax Ser...
    - Focusing on Forms and Menus in Visual Basic
    - Manipulating Forms with the Windows Forms Li...
    - Basics of the Windows Forms Library
    - Forms, Controls, and Other Useful Objects
    - Implementing OOP to Develop Database Oriente...
    - Using Themes and Skins for Personalization w...
    - A Deeper Look at Personalization using Visua...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway