Solved

fax from vb.net

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get statistic's from a competitors website?! 1 87
Red number appears in lower right corner of browser with warning 8 68
SQL Injected data? 8 112
modify h2 4 86
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

920 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

17 Experts available now in Live!

Get 1:1 Help Now