Solved

fax from vb.net

Posted on 2004-09-03
5
276 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Read about why website design really matters in today's demanding market.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

708 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

13 Experts available now in Live!

Get 1:1 Help Now