Search Binary Spectrum
Home | Resources | Sitemap | Support helathcare blog
Binary Spectrum - custom software development
about binary spectrum - custom heatlchare, reatil software development industry - information technology software development it services - latest technology software development career - healthcare portal, medical software, hospital inormation software client - healthcare software web based, client server based contact binary spectrum for developing user frinedly medical software
   
healtchare technology
Knowledge Bank: Contents information technology
Creating good ASP.NET Applications
Why Convert ASP to ASPNET part 1
Why Convert ASP to ASPNET part 2
Standards for Web Applications
Web Standards
Preparing Quotation
Cascading style sheets
Whats new in C# 2.0?
Send Fax using C#
C# Coding Standards
 
 
latest technology
software tehcnology Technology
medical softwares Healthcare
retail technology Retail
 
Using Windows Fax Service to Send Fax using C#

In todays world, while building an application you might run into scenarios where you need to send a Fax from the application. And to a certain extent this is very much required, because I would not want take a print out and go to a fax machine to send a fax. Why cant it be sent from my application?

It is very simple to send a fax using Windows 2000 Fax Service in C#. The application makes use of FaxCom.dll that ships with Windows 2000. This dll is usually located in C:\WINNT\system32 folder. Within the VS.NET IDE, adding a reference to this DLL generates the equivalent Interop.

You can than use the following code to send a fax.


FaxServerClass fs = new FaxServerClass();
fs.Connect("mymachine"); //specifies the machinename
object obj = fs.CreateDocument("myfilename");
FaxDoc fd = (FaxDoc)obj;
fd.FaxNumber = "myfax#";
fd.RecipientName = "Tester";
int i = fd.Send();
MessageBox.Show(i.ToString());
fs.Disconnect();


Prior to using this, we must make sure to attach the Fax modem, install its drivers and see if the modem is shown within the Device Manager. This same code will also work on Windows 2003 and Windows XP Operating systems.

Now that you have implemented a system which will send a fax. Well what about if you want to receive a fax. Well writing all that would mean serious trouble keeping in mind the small time frame you will have to develop your applicaiton. Well every Fax Server, receives a fax as an image and stores it in a Folder (You can see the destination folder path in the properties). There is also an option to save a copy of the incoming fax to a specific folder. Just set these changes, and write a code which will display the contents of that folder and thats it. You are done with your Fax Integration for your application.


   
bluetooth partner
Binaryspectrum develops EMR, EHR, Practice Management, e-prescription, e-Commerce, CRM and SCM systems using .Net, J2EE, Oracle, Bluetooth and Piconet platforms with Microsoft certified professionals
sunpartner
 
Case Studies
bluetooth technology HL7 Integration
mobile technology HIPPA Transactions
j2ee Template Manager
  More case studies
 
mobile software
net bean software development How to choose the right EMR for your Practice?
j2se

What is the roadmap for the implementation of an EHR system at a practice?

ms .net Which is better - Web based EMR system or Client server EMR system?
database six stages in the EMR implementation road map
  Ask more questions?
   
Healthcare Blog
healthcare software

Privacy | Terms of use | Blog | EMR | EHR | Retail | MS.NET | Wireless | Design | Healthcare Areas | Healthcare Security | Healthcare Stat-license | Retail - Store Operation

© 2003 Binary Spectrum All Rights Reserved