Click here to Skip to main content
Click here to Skip to main content

Faxing with XP and C#

, 5 Jan 2014
Rate this:
Please Sign up or sign in to vote.
Send faxes with C# using Win 2k or XP

Sample Image - Fax-XP-ing.gif

Introduction

This code can be used to send Faxes using Windows XP and 2000. I have included a bitmap image in the demo that will be faxed to a recipient. You can make your own bitmap using System.Drawing class, save it to disk and then reference it and send it to a fax number. All you need is a Modem, windows fax service which comes with XP and a telephone line and you are on you way. I understand that there might be some issues with limited User rights but have not yet tested it, I was only using my Administator Account when testing this. Anyway, all you might need to do is add a reference to the "faxcom 1.0 Libary" and you are set. Your feed back is welcome and I will keep track on any problems. 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Leon van Wyk
Software Developer (Senior) Being IT Solutions
South Africa South Africa
No Biography provided
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
Questionin win 8 PinmemberMember 1029384829-Dec-13 19:26 
GeneralMy vote of 4 PinmemberWilliam Croft24-Feb-11 11:05 
GeneralMy vote of 1 PinmemberShute31230-Aug-09 17:47 
QuestionFax Application in Windows server 2003 and 2008.. this one is just in xp and 2k rite?? PinmemberAmitsglja3-Aug-09 23:51 
QuestionIs there license issue? Pinmembersan_geit3-Jul-09 0:04 
QuestionHow can we send a multipage tiff file? Pinmembersamwiz25-Apr-09 18:12 
AnswerRe: How can we send a multipage tiff file? PinmemberLeon v Wyk30-Apr-09 8:06 
QuestionException from HRESULT:0x8007000D PinmemberSedArash10-May-08 20:52 
AnswerRe: Exception from HRESULT:0x8007000D PinmemberLeon v Wyk10-May-08 23:53 
GeneralRe: Exception from HRESULT:0x8007000D PinmemberSedArash11-May-08 1:23 
GeneralRe: Exception from HRESULT:0x8007000D PinmembersSupergirl15-Aug-08 4:17 
GeneralRe: Exception from HRESULT:0x8007000D PinmemberLeon v Wyk15-Aug-08 4:31 
GeneralRe: Exception from HRESULT:0x8007000D PinmembersSupergirl15-Aug-08 5:03 
GeneralRe: Exception from HRESULT:0x8007000D Pinmemberqiusongze5-Oct-08 23:40 
GeneralThe system can not find the file specified PinmemberZapss27-Jan-08 20:36 
GeneralFile Name + Fax Information Pinmembers3rro25-Sep-07 4:16 
GeneralRe: File Name + Fax Information PinmemberLeon v Wyk25-Sep-07 6:26 
GeneralRe: File Name + Fax Information Pinmembers3rro26-Sep-07 3:54 
GeneralUnknown Exceptional error Pinmembermast42823-Jul-07 2:51 
GeneralRe: Unknown Exceptional error Pinmembermast42823-Jul-07 3:30 
GeneralProblem accessing FAXCOM from other service PinmemberLAcike@sk28-Jun-07 5:20 
GeneralRe: Problem accessing FAXCOM from other service PinmemberLeon v Wyk28-Jun-07 9:19 
GeneralRe: Problem accessing FAXCOM from other service PinmemberLAcike@sk28-Jun-07 22:28 
GeneralRe: Problem accessing FAXCOM from other service PinmemberMember 216916020-Jun-08 19:20 
GeneralSending FAX using C#.net FAXCOMLib -The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8) PinmemberMember 216916020-Jun-08 19:22 
GeneralRe: Sending FAX using C#.net FAXCOMLib -The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8) PinmemberLeon v Wyk21-Jun-08 3:55 
QuestionHow to receive fax messages? Pinmemberalek_kowalczyk17-Jul-06 21:22 
AnswerRe: How to receive fax messages? PinmemberLAcike@sk28-Jun-07 5:23 
QuestionHow to fetch th information of a fax send request ? (whether successfully sent or failed) Pinmembersoftwareashok4-Jul-06 10:41 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) PinmemberLeon v Wyk4-Jul-06 21:29 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) Pinmembermast42814-Aug-07 22:27 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) PinmemberWade@Crans27-Sep-07 22:59 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) Pinmemberginji2018-Jun-08 17:00 
GeneralThe data is invalid. PinmemberCarmen Cerino3-Mar-06 9:54 
QuestionRe: The data is invalid. Pinmembersdanyalk3-May-06 22:01 
AnswerRe: The data is invalid. PinmemberLAcike@sk28-Jun-07 5:12 
GeneralPCL, EPS and PS Files Pinmembernickbungus21-Feb-06 0:31 
GeneralRe: PCL, EPS and PS Files PinmemberLeon v Wyk27-Feb-06 1:38 
GeneralCannot Send Fax Pinmemberawsedrftgy23-Aug-05 18:00 
GeneralRe: Cannot Send Fax Pinmembervandan_desai31-Jul-06 2:42 
GeneralHide Software PopUp When Faxing Pinmemberparviz rashidi20-Aug-05 22:34 
GeneralRe: Hide Software PopUp When Faxing PinmemberLeon v Wyk21-Aug-05 21:18 
GeneralSupressing Acrobat dialog PinmemberJDEVIL15-Jun-05 20:18 
GeneralRe: Supressing Acrobat dialog PinmemberLeon v Wyk16-Jun-05 3:01 
GeneralRe: Supressing Acrobat dialog PinmemberJDEVIL17-Jun-05 20:07 
QuestionHow does your solution work? PinmemberSebastian Gumpold15-Sep-05 1:14 
AnswerRe: How does your solution work? PinmemberJDEVIL15-Sep-05 7:06 
AnswerRe: How does your solution work? PinmemberSebastian Gumpold18-Sep-05 7:53 
GeneralSend PDF PinmemberGuillaume MEYER2-Apr-05 3:17 
GeneralRe: Send PDF PinmemberGuillaume MEYER2-Apr-05 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 5 Jan 2014
Article Copyright 2004 by Leon van Wyk
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid