473,796 Members | 2,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sending fax throught a .net web application

Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.

Regards

amol

Aug 22 '06 #1
8 4159
Amol,

see if this helps.
http://renugopal.blogspot.com/2005/0...-asp-page.html

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.

Regards

amol

Aug 22 '06 #2
Hi Prasanna ,
both the links you provided are not working .Can u provide alternate
links.

Thanx
amol
Augustin Prasanna wrote:
Amol,

see if this helps.
http://renugopal.blogspot.com/2005/0...-asp-page.html

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.

Regards

amol
Aug 22 '06 #3
google for faxcomexlib.dll

Gerry
"Augustin Prasanna" <Au************ **@discussions. microsoft.comwr ote in
message news:36******** *************** ***********@mic rosoft.com...
Amol,

see if this helps.
http://renugopal.blogspot.com/2005/0...-asp-page.html

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.

Regards

amol

Aug 22 '06 #4
Amol,

it works for me.

i have copty pasted the content of that article, for your reference.

Sending Fax From ASP Page
Sending Fax From ASP Page

this articles explain how to send fax from ASP page
u need faxcom.dll to creat an instance fro Faxserver.
1) First Create an intance for FaxServer
Set FaxServer = CreateObject("F axServer.FaxSer ver")

2) Specify the Fax Machine
FaxServer.Conne ct ("\\" & FaxMachine)

3)Select the input document you want to send as Fax
Set FaxDoc = FaxServer.Creat eDocument(FileN ame)

4) Specify Fax Number
FaxDoc.FaxNumbe r = FaxNumber

5) Send Fax
FaxDoc.Send

6) Initialize to nothig
Set FaxDoc = Nothing
Set FaxServer = Nothing
References: MSDN
Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
Hi Prasanna ,
both the links you provided are not working .Can u provide alternate
links.

Thanx
amol
Augustin Prasanna wrote:
Amol,

see if this helps.
http://renugopal.blogspot.com/2005/0...-asp-page.html

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.
>
Regards
>
amol
>
>

Aug 23 '06 #5
hi prasanna ,
Thanx for the code . May be the sites are blocked over here.

Regards
amol
Augustin Prasanna wrote:
Amol,

it works for me.

i have copty pasted the content of that article, for your reference.

Sending Fax From ASP Page
Sending Fax From ASP Page

this articles explain how to send fax from ASP page
u need faxcom.dll to creat an instance fro Faxserver.
1) First Create an intance for FaxServer
Set FaxServer = CreateObject("F axServer.FaxSer ver")

2) Specify the Fax Machine
FaxServer.Conne ct ("\\" & FaxMachine)

3)Select the input document you want to send as Fax
Set FaxDoc = FaxServer.Creat eDocument(FileN ame)

4) Specify Fax Number
FaxDoc.FaxNumbe r = FaxNumber

5) Send Fax
FaxDoc.Send

6) Initialize to nothig
Set FaxDoc = Nothing
Set FaxServer = Nothing
References: MSDN
Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
Hi Prasanna ,
both the links you provided are not working .Can u provide alternate
links.

Thanx
amol
Augustin Prasanna wrote:
Amol,
>
see if this helps.
http://renugopal.blogspot.com/2005/0...-asp-page.html
>
Regards,
Augustin
http://augustinprasanna.blogspot.com
>
"Amol" wrote:
>
Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.

Regards

amol
Aug 23 '06 #6
Hi Prasanna ,
where do i get the FAXCOMEXLib.dll .I have searched a lot on net
..Please help me

regards
amol

Augustin Prasanna wrote:
Amol,

it works for me.

i have copty pasted the content of that article, for your reference.

Sending Fax From ASP Page
Sending Fax From ASP Page

this articles explain how to send fax from ASP page
u need faxcom.dll to creat an instance fro Faxserver.
1) First Create an intance for FaxServer
Set FaxServer = CreateObject("F axServer.FaxSer ver")

2) Specify the Fax Machine
FaxServer.Conne ct ("\\" & FaxMachine)

3)Select the input document you want to send as Fax
Set FaxDoc = FaxServer.Creat eDocument(FileN ame)

4) Specify Fax Number
FaxDoc.FaxNumbe r = FaxNumber

5) Send Fax
FaxDoc.Send

6) Initialize to nothig
Set FaxDoc = Nothing
Set FaxServer = Nothing
References: MSDN
Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
Hi Prasanna ,
both the links you provided are not working .Can u provide alternate
links.

Thanx
amol
Augustin Prasanna wrote:
Amol,
>
see if this helps.
http://renugopal.blogspot.com/2005/0...-asp-page.html
>
Regards,
Augustin
http://augustinprasanna.blogspot.com
>
"Amol" wrote:
>
Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.

Regards

amol
Aug 23 '06 #7
re:
this articles explain how to send fax from ASP page
u need faxcom.dll to creat an instance fro Faxserver.
That article refers to a "Classic ASP" page, not to an ASP.NET page.

You might be able to create a Runtime Callable Wrapper (RCW) to encapsulate faxcom.dll's
functions and methods, so the .Net Framework can understand them (or use tlbimp.exe to
import faxcom.dll's functions and methods into a .Net assembly) but you can't use an
unmanaged dll in an ASP.NET page by referencing it directly.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
=============== =============== =====
"Augustin Prasanna" <Au************ **@discussions. microsoft.comwr ote in message
news:6F******** *************** ***********@mic rosoft.com...
Amol,

it works for me.

i have copty pasted the content of that article, for your reference.

Sending Fax From ASP Page
Sending Fax From ASP Page

this articles explain how to send fax from ASP page
u need faxcom.dll to creat an instance fro Faxserver.
1) First Create an intance for FaxServer
Set FaxServer = CreateObject("F axServer.FaxSer ver")

2) Specify the Fax Machine
FaxServer.Conne ct ("\\" & FaxMachine)

3)Select the input document you want to send as Fax
Set FaxDoc = FaxServer.Creat eDocument(FileN ame)

4) Specify Fax Number
FaxDoc.FaxNumbe r = FaxNumber

5) Send Fax
FaxDoc.Send

6) Initialize to nothig
Set FaxDoc = Nothing
Set FaxServer = Nothing
References: MSDN
Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:
>Hi Prasanna ,
both the links you provided are not working .Can u provide alternate
links.

Thanx
amol
Augustin Prasanna wrote:
Amol,

see if this helps.
http://renugopal.blogspot.com/2005/0...-asp-page.html

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Amol" wrote:

Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.

Regards

amol



Aug 23 '06 #8
it is installed as part of the microsoft fax service

it was suggested elsewhere that a wrapper would be required,
we use this from a web service simply by referencing the .dll
i'm not sure why a web service would be any different than a web page in
this respect - you will have to try it and see.
using FAXCOMEXLib;
....

FaxServer faxsrv = null;
try
{
faxsrv = new FaxServerClass( );
faxsrv.Connect( "" ); // localhost
FaxDocument faxdoc = new FaxDocumentClas s();
faxdoc.Body = filename;
faxdoc.Document Name = "Fax Transmission";
faxdoc.Recipien ts.Add( faxnumber , "Recipient" );
System.Array JobIDs = (System.Array)f axdoc.Connected Submit( faxsrv );
}
finally
{
if ( faxsrv != null )
{
faxsrv.Disconne ct();
}
}


Gerry


"Amol" <am********@gma il.comwrote in message
news:11******** *************@h 48g2000cwc.goog legroups.com...
Hi Prasanna ,
where do i get the FAXCOMEXLib.dll .I have searched a lot on net
.Please help me

regards
amol


Aug 23 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1691
by: Paul Sweeney | last post by:
I wish to send an object (only one class, but many objects) from python running on one computer to python on another. It will be over the internet, so needs to be 'secure'. Is twisted the only way to go, or is there something simpler for my app? The code for twisted is fairly simple (I found http://twistedmatrix.com/documents/current/howto/pb-copyable) but the library is a bit heavy and I don't want to go through the hassle of...
13
3231
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using this, it seems, that the user must install IIS on their computer. Isn't there a class that will detect whatever mail server is available on a computer and use that? How do I create this functionality without having the user add any other...
0
952
by: Carramba | last post by:
hi! I want program to read file, and then diven opption for ex "press e and line number to edit the line" if user enters e 2 I wat that line 2 would by outputed in console and user could move throught it with arrow to remove add string, numbers etc. and after hitting enter line would by saved -- it would ovewritte the old one. that is the simples way to do it?
1
1610
by: user | last post by:
Hello I have structure: public struct buf { public int type; public int len; public byte data; }; and in my program: String d="something";
3
394
by: Arek | last post by:
Hey, I have a question, what are the possibilities of sending emails using ASP.net. (and VB.net) What I think is that user can send automatic reminder if he check box on the form and submit. Do I need to have SMTP server? Can it be done without using of SMTP, something similar to automation in VB? I tried before for quite a few days to automate generating word documents and finally I gave up, so I would like to know before I start...
7
3522
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server administrator told me to write the emails to the “pickup directory” instead. I know that JMail can do this in ASP, but how do you do this in asp.net? -- --------------------
9
4933
by: Miro | last post by:
VB 2003 at the end of the code, this works great. bytCommand = Encoding.ASCII.GetBytes("testing hello send text") udpClient.Send(bytCommand, bytCommand.Length) and this recieves it Dim strReturnData As String = _ System.Text.Encoding.ASCII.GetString(receiveBytes)
4
12090
by: david | last post by:
hello, I have a client/server application. the server capture picture from webcam and send it to every client connected to it.the network part works good and the capture from webcam too. I associate an event when a capture is done, then every frame of the webcam should be sent to the client. but I cannot find a way to send bitmap throught network, of course I found many method from internet, some doen't work, some work but it's never...
0
949
by: karthikkrishnan | last post by:
Plz help me sir. i have i problem in sending and receiveing sms throught connected Windows mobile in PC
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9525
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10452
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10221
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.