473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Automating multiple faxes in .NET

I need to verify the availability of a number of fax lines. This needs to be
done on an hourly basis. I have a VB.NET program that reads the numbers from
an app.config file and then stores them in memory. I am using the FAXComLib
in Windows XP. I should mention that I am fairly new to .NET, but I've been
programming VB for nearly 12 years.

After I dial the first number and start the send, I abort the process. Then
I attempt to dial the second number. However, when I start to check the
status of the fax job, it throws "System.ArgumentException:Parameter
Incorrect at FAXComLib.IFaxJob.Refresh()"

The relative bit of code reads -
Label2.Text = "Job Count - " & oFaxJob.Count

oFax = oFaxJob.Item(1)
oFax.Refresh()
where oFaxJob is defined as FAXComLib.FaxJobs and oFax is FAXComLib.FaxJob.

I am currently using a timer to control the timing between the checks of the
job status (currently 1 second), and another for the timing between dialings
(currently 2 minutes).

Any ideas and help would be appreciated.
Sep 12 '05 #1
0 1021

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Benny | last post by:
Hi, Is there a script/compoenent which can capture Faxes and store that in a DB using a unique ID? Any help will be greatly appriciated. Thanks, Benny
9
by: amitavabardhan | last post by:
How Can I extract multiple tiff images into single images through asp programming? Is there any free dll's that I can use in ASP to split multiple tiffs into single tiffs? Any suggestion...
7
by: xzzy | last post by:
I need to automate a report in a different database (and thank yous to Terry Kreft for pointing me in the right direction). below is the code with the one line that does not work, marked: 'Does...
4
by: Andy Rigby | last post by:
I'm setting up a small network of 3 WinXp Pro machines and a shared Access database. I need to be able to send faxes from the copy of Access that's running on any of the machines, using VBA. ...
0
by: Wake-up-Jeff | last post by:
I really like the "Printers & Faxes" GUI in XP. Particularly the LHS - Printer Tasks, See Also, Other Places, Details, etc. Are there a set of controls which can be used to produce a similar look...
1
by: Bill Nguyen | last post by:
I installed Window Faxserver on a Win 2003. I'm looking for sample source codes to send/receive faxes programmatically in VB.NET Thanks Bill
6
by: RobR | last post by:
We have a customer using our application that has a problem. Within our app, we have a two different forms (one generates an email, the other a fax via a webservice). When they click the submit...
2
by: Alan Pretre | last post by:
I have a .NET windows service that automates IE through interop to shdocvw. Everything works great as long as I only try to do one task at a time. However, this is a multithreaded service where...
1
by: need2know | last post by:
I've heard that it is possible to send a fax from your pc via a regular fax machine. Is it true? How would that work though? Just wondering. Wondering as well, i know XP comes with an option to...
1
by: =?Utf-8?B?Wm9vbWllNzM3?= | last post by:
Anytime I try to print from any program, the program becomes unresponsive. I can close out the program and try again with the same results. When I open control panel, and select printers and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.