Click here to Skip to main content
12,239,778 members (66,508 online)
Click here to Skip to main content
Add your own
alternative version

Stats

175.3K views
9.6K downloads
49 bookmarked
Posted

Faxing with XP and C#

, 5 Jan 2014 CPOL
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)

Share

About the Author

Leon van Wyk
Software Developer (Senior) Being IT Solutions
South Africa South Africa
No Biography provided

You may also be interested in...

Comments and Discussions

 
Questionin win 8 Pin
Member 1029384829-Dec-13 20:26
memberMember 1029384829-Dec-13 20:26 
GeneralMy vote of 4 Pin
William Croft24-Feb-11 12:05
memberWilliam Croft24-Feb-11 12:05 
GeneralMy vote of 1 Pin
Shute31230-Aug-09 18:47
memberShute31230-Aug-09 18:47 
QuestionFax Application in Windows server 2003 and 2008.. this one is just in xp and 2k rite?? Pin
Amitsglja4-Aug-09 0:51
memberAmitsglja4-Aug-09 0:51 
QuestionIs there license issue? Pin
san_geit3-Jul-09 1:04
membersan_geit3-Jul-09 1:04 
QuestionHow can we send a multipage tiff file? Pin
samwiz25-Apr-09 19:12
membersamwiz25-Apr-09 19:12 
AnswerRe: How can we send a multipage tiff file? Pin
Leon v Wyk30-Apr-09 9:06
memberLeon v Wyk30-Apr-09 9:06 
QuestionException from HRESULT:0x8007000D Pin
SedArash10-May-08 21:52
memberSedArash10-May-08 21:52 
AnswerRe: Exception from HRESULT:0x8007000D Pin
Leon v Wyk11-May-08 0:53
memberLeon v Wyk11-May-08 0:53 
GeneralRe: Exception from HRESULT:0x8007000D Pin
SedArash11-May-08 2:23
memberSedArash11-May-08 2:23 
GeneralRe: Exception from HRESULT:0x8007000D Pin
sSupergirl15-Aug-08 5:17
membersSupergirl15-Aug-08 5:17 
GeneralRe: Exception from HRESULT:0x8007000D Pin
Leon v Wyk15-Aug-08 5:31
memberLeon v Wyk15-Aug-08 5:31 
GeneralRe: Exception from HRESULT:0x8007000D Pin
sSupergirl15-Aug-08 6:03
membersSupergirl15-Aug-08 6:03 
GeneralRe: Exception from HRESULT:0x8007000D Pin
qiusongze6-Oct-08 0:40
memberqiusongze6-Oct-08 0:40 
GeneralThe system can not find the file specified Pin
Zapss27-Jan-08 21:36
memberZapss27-Jan-08 21:36 
GeneralFile Name + Fax Information Pin
s3rro25-Sep-07 5:16
members3rro25-Sep-07 5:16 
GeneralRe: File Name + Fax Information Pin
Leon v Wyk25-Sep-07 7:26
memberLeon v Wyk25-Sep-07 7:26 
GeneralRe: File Name + Fax Information Pin
s3rro26-Sep-07 4:54
members3rro26-Sep-07 4:54 
GeneralUnknown Exceptional error Pin
mast42823-Jul-07 3:51
membermast42823-Jul-07 3:51 
GeneralRe: Unknown Exceptional error Pin
mast42823-Jul-07 4:30
membermast42823-Jul-07 4:30 
GeneralProblem accessing FAXCOM from other service Pin
LAcike@sk28-Jun-07 6:20
memberLAcike@sk28-Jun-07 6:20 
GeneralRe: Problem accessing FAXCOM from other service Pin
Leon v Wyk28-Jun-07 10:19
memberLeon v Wyk28-Jun-07 10:19 
GeneralRe: Problem accessing FAXCOM from other service Pin
LAcike@sk28-Jun-07 23:28
memberLAcike@sk28-Jun-07 23:28 
GeneralRe: Problem accessing FAXCOM from other service Pin
Member 216916020-Jun-08 20:20
memberMember 216916020-Jun-08 20:20 
GeneralSending FAX using C#.net FAXCOMLib -The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8) Pin
Member 216916020-Jun-08 20:22
memberMember 216916020-Jun-08 20:22 
GeneralRe: Sending FAX using C#.net FAXCOMLib -The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8) Pin
Leon v Wyk21-Jun-08 4:55
memberLeon v Wyk21-Jun-08 4:55 
QuestionHow to receive fax messages? Pin
alek_kowalczyk17-Jul-06 22:22
memberalek_kowalczyk17-Jul-06 22:22 
AnswerRe: How to receive fax messages? Pin
LAcike@sk28-Jun-07 6:23
memberLAcike@sk28-Jun-07 6:23 
QuestionHow to fetch th information of a fax send request ? (whether successfully sent or failed) Pin
softwareashok4-Jul-06 11:41
membersoftwareashok4-Jul-06 11:41 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) Pin
Leon v Wyk4-Jul-06 22:29
memberLeon v Wyk4-Jul-06 22:29 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) Pin
mast42814-Aug-07 23:27
membermast42814-Aug-07 23:27 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) Pin
Wade@Crans27-Sep-07 23:59
memberWade@Crans27-Sep-07 23:59 
AnswerRe: How to fetch th information of a fax send request ? (whether successfully sent or failed) Pin
ginji2018-Jun-08 18:00
memberginji2018-Jun-08 18:00 
GeneralThe data is invalid. Pin
Carmen Cerino3-Mar-06 10:54
memberCarmen Cerino3-Mar-06 10:54 
QuestionRe: The data is invalid. Pin
sdanyalk3-May-06 23:01
membersdanyalk3-May-06 23:01 
AnswerRe: The data is invalid. Pin
LAcike@sk28-Jun-07 6:12
memberLAcike@sk28-Jun-07 6:12 
GeneralPCL, EPS and PS Files Pin
nickbungus21-Feb-06 1:31
membernickbungus21-Feb-06 1:31 
GeneralRe: PCL, EPS and PS Files Pin
Leon v Wyk27-Feb-06 2:38
memberLeon v Wyk27-Feb-06 2:38 
GeneralCannot Send Fax Pin
awsedrftgy23-Aug-05 19:00
memberawsedrftgy23-Aug-05 19:00 
GeneralRe: Cannot Send Fax Pin
vandan_desai31-Jul-06 3:42
membervandan_desai31-Jul-06 3:42 
GeneralHide Software PopUp When Faxing Pin
parviz rashidi20-Aug-05 23:34
memberparviz rashidi20-Aug-05 23:34 
GeneralRe: Hide Software PopUp When Faxing Pin
Leon v Wyk21-Aug-05 22:18
memberLeon v Wyk21-Aug-05 22:18 
GeneralSupressing Acrobat dialog Pin
JDEVIL15-Jun-05 21:18
memberJDEVIL15-Jun-05 21:18 
GeneralRe: Supressing Acrobat dialog Pin
Leon v Wyk16-Jun-05 4:01
memberLeon v Wyk16-Jun-05 4:01 
GeneralRe: Supressing Acrobat dialog Pin
JDEVIL17-Jun-05 21:07
memberJDEVIL17-Jun-05 21:07 
QuestionHow does your solution work? Pin
Sebastian Gumpold15-Sep-05 2:14
memberSebastian Gumpold15-Sep-05 2:14 
AnswerRe: How does your solution work? Pin
JDEVIL15-Sep-05 8:06
memberJDEVIL15-Sep-05 8:06 
AnswerRe: How does your solution work? Pin
Sebastian Gumpold18-Sep-05 8:53
memberSebastian Gumpold18-Sep-05 8:53 
GeneralSend PDF Pin
Guillaume MEYER2-Apr-05 4:17
memberGuillaume MEYER2-Apr-05 4:17 
GeneralRe: Send PDF Pin
Guillaume MEYER2-Apr-05 4:31
memberGuillaume MEYER2-Apr-05 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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 | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 Jan 2014
Article Copyright 2004 by Leon van Wyk
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid