Visual Basic.NET
  Home arrow Visual Basic.NET arrow Page 3 - 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

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Programmatically Controlling Windows Fax Services Using VB.net - Starting to Write the Application
    (Page 3 of 4 )

    It's very unlikely you will be writing the application on the same machine on which you have installed the fax services, so you need to connect to the shared fax device on your development machine. Its just as simple as running the Add Printer wizard and pointing it at the shared fax device on the server.

    Once you have installed it on your machine, send another test fax from your machine, and also make it email you a job receipt (on the delivery notification screen, give it your email address). If the job is successful the fax should arrive on your fax machine, and you should receive an email in your in box that looks similar to this:

    Fax Fax Job #!72686!# was successfully sent to Customer at 01772 123456

    Fax submitted: 17:05:04

    To server: fax1-svr

    Transmission started: 17:05:05

    Transmission end: 17:06:27

    Number of retries: 1

    Number of pages: 2

     

    You can also look at the job information on the fax server by using the fax console app. This lists all incoming and outgoing jobs in a similar way to Outlook, and shows all the information and documents associated with the job.   


    If that has worked okay, you now need to get a copy of the fxscomex.dll file. This is contained in the Windows 2003 Platform SDK. You need to install the Core platform SDK. It can be downloaded from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

    When you have installed this, look in your Windows folder for a file called fxscomex.dll, and just to be on the safe side, run regsvr32 on this file to make sure it's registered. Once that is done, fire up Visual Studio and create a new Visual Basic project called something like TestFaxServices.

    Once the project has been created, add a COM reference to the dll. To do this in Visual Studio go into the Project menu, then Add Reference and click on the COM tab. From the list, select Microsoft Fax Service Extended COM Type Library and hit the select button, then OK. You are now set up to use the library.

    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...




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