Solved

fax from vb.net

Posted on 2004-09-03
5
278 Views
Last Modified: 2012-06-27
Hi to experts can u help me out in sending fax using vb.net
0
Comment
Question by:gulaigari
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
raj3060 earned 63 total points
ID: 11974007
0
 
LVL 5

Assisted Solution

by:kemp_a
kemp_a earned 62 total points
ID: 12356216
What fax software are you using?

Is if Microsoft Fax? If so, something like this should work:

Set FaxServer = WScript.CreateObject("FAXCOMEX.FaxServer")
WScript.Echo "FaxServer created"
FaxServer.Connect "SERVERNAME"
Set FaxDoc = WScript.CreateObject("FAXCOMEX.FaxDocument")
'Set file name of any printable document.
FaxDoc.Body = "DOCUMENT"
FaxDoc.DocumentName = "Subject"
FaxDoc.Recipients.Add ("FAXNUMBER")
'Set the sender properties.
FaxDoc.Sender.Name = "SENDERSNAME"
FaxDoc.Sender.FaxNumber = "SENDERSFAX"
JobID = FaxDoc.ConnectedSubmit(FaxServer)
WScript.Echo "FaxDoc.ConnectedSubmit success"
Set FaxDoc=Nothing
Set FaxServer=Nothing

Cheers
0
 
LVL 11

Expert Comment

by:raj3060
ID: 12494071
That's fine with me.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now