Solved

fax from vb.net

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

734 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