?
Solved

fax from vb.net

Posted on 2004-09-03
5
Medium Priority
?
282 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 11

Accepted Solution

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

Assisted Solution

by:kemp_a
kemp_a earned 248 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
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:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

777 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