somebody Asked this question to me and i thought it would be easy to search rather than to dig
so here it is from http://www.binaryspectrum.com/knowledge_bank/send_fax_using_CSharp.htm
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.
Saturday, April 7, 2007
Wednesday, March 7, 2007
An exception occurred while trying to synchronize the state of service 'SharePointPSSearch' to Running. The operation will be retried in 4 minute(s).
i think that problem can be resolve only by reinstalling or repairing SPS so i am going for repair option. lets see what happens after that.
Thursday, December 7, 2006
“craxdui.dll” and “crviewer9.dll”; the file “craxdrt9.dll” is not getting registered.
Following are the reasons for the problem that I identified during long session of conversations.
Crystal 9.0 is basically a managed code but it can be used as COM objects in VB 6.0 applications. So instead of runtime libraries we need complete of reusable DLL files which is around 26 files
Crystal Report 9.0 have almost 7 services packs due to huge number of problems in this first release of managed code we need to make sure that we have latest services pack on developers machine before creating a setup of the project.
create a new installer including all files mentioned below and then install on client machine.
sacommoncontrols.dll ,
filedialog.dll ,
crdb_dictionary.dll ,
p2ixbse.dll ,
CRAnalyzer.dll ,
sscdlg.dll ,
sscrc.dll ,
keycode.dll ,
u2ddisk.dll ,
u2ftext.dll ,
crtslv.dll ,
ExportModeller.dll ,
crxf_xls.dll ,
crxf_wordw.dll ,
crxf_rtf.dll ,
crxf_pdf.dll ,
sscsdk80.dll ,
exlate32.dll ,
querybuilder.dll ,
crdb_odbc.dll ,
crdb_dao.dll ,
crdb_ado.dll ,
crqe.dll ,
Implode.dll ,
u25samp1.dll ,
u25dts.dll ,
u252000.dll ,
u2lfinra.dll ,
u2lexch.dll ,
u2ldts.dll ,
u2lcom.dll ,
u2l2000.dll ,
ufmanager.dll ,
crtowords_en.dll ,
unicows.dll ,
craxddrt9.dll ,
craxdrt9.dll ,
crviewer9.dll ,
above files are included basically in PD wizard
Crystal 9.0 is basically a managed code but it can be used as COM objects in VB 6.0 applications. So instead of runtime libraries we need complete of reusable DLL files which is around 26 files
Crystal Report 9.0 have almost 7 services packs due to huge number of problems in this first release of managed code we need to make sure that we have latest services pack on developers machine before creating a setup of the project.
create a new installer including all files mentioned below and then install on client machine.
sacommoncontrols.dll ,
filedialog.dll ,
crdb_dictionary.dll ,
p2ixbse.dll ,
CRAnalyzer.dll ,
sscdlg.dll ,
sscrc.dll ,
keycode.dll ,
u2ddisk.dll ,
u2ftext.dll ,
crtslv.dll ,
ExportModeller.dll ,
crxf_xls.dll ,
crxf_wordw.dll ,
crxf_rtf.dll ,
crxf_pdf.dll ,
sscsdk80.dll ,
exlate32.dll ,
querybuilder.dll ,
crdb_odbc.dll ,
crdb_dao.dll ,
crdb_ado.dll ,
crqe.dll ,
Implode.dll ,
u25samp1.dll ,
u25dts.dll ,
u252000.dll ,
u2lfinra.dll ,
u2lexch.dll ,
u2ldts.dll ,
u2lcom.dll ,
u2l2000.dll ,
ufmanager.dll ,
crtowords_en.dll ,
unicows.dll ,
craxddrt9.dll ,
craxdrt9.dll ,
crviewer9.dll ,
above files are included basically in PD wizard
Tuesday, November 28, 2006
about:Tabs
well i think i should make it since IE 7 is launched by MS with these words in each empty tab :)
Blue Screen Error when update to SPS 2007
i belive the problem is due to installtion failure of .NET 3.0 so i have downloaded the new framework and now gona try it you can download the entire insllation of .net 3.0 from MS site link is
http://go.microsoft.com/fwlink/?LinkId=70848
http://go.microsoft.com/fwlink/?LinkId=70848
Virtual Machine Reset Error Code (13)
since last two months facing this problem tried everything i know about computers and VMs finally found a solution which very basic.
if you are facing similar problem simply disable the hyper threading from setup and this problem will be resolved.
if you are facing similar problem simply disable the hyper threading from setup and this problem will be resolved.
Friday, December 23, 2005
CRM tools
Today me and my team is searching for good CRM with compaign managment feature. none of the good software provides all features related to customer requriment. i think we should go for a custom one.
there are not multi compaign fetures and lot more that we need. i have not idea now wat to do.
there are not multi compaign fetures and lot more that we need. i have not idea now wat to do.
Subscribe to:
Posts (Atom)