473,387 Members | 1,534 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,387 software developers and data experts.

HOWTO: send message to pager with vs 2005 using VB.NET?

Hello There,

I need to page a pager whenever an error event takes place in my app.
What is the best approach in this?

Should I use and modify the SerialPort class to talk to the modem.

I hope someone wants to help me or has an example for me

Thanks
--
Regards, @win
Feb 6 '07 #1
2 1886
Hi,

Does the PC that is running your application have an internet connection?
If so, then the simplest thing is to use a paging web service (available via
subscription from most paging companies). The actual web service will
provide the required API. All you have to do is to subscribe to it in your
application.

You can use a dialup modem (and the SerialPort class) to page via the TAP
protocol. You dial in directly, using your modem, to the paging service to
which you subscribe, and send the message formatted using that protocol. I
have details and some examples in my book (see below), though nothing for
..NET. TAP is used less frequently these days because so many PCs have
internet connections.

If all that you need to do is to send a NUMERIC page (TAP is for full text
paging), then most services support simple dialing. You use the modem to
dial the service, after answer (you do not allow the modem to connect, but
instead use it as a simple dialer), you send some additional digits that are
the pager number -- some pagers may then allow you to send additional digits
that might be used to represent the actual error event. I have example code
for this sort of thing in my book using VB6. It could be ported to .NET
quite easily.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Feb 6 '07 #2
Hi Dick,

Thanks for your answer. Sorry for my late response (away for a few days).

The Pager run through a local PBX so I have to dial a number.
Its the simple kind of pager where you just dail the number of the pager and
thats it.

Although i'm looking for a managed code solution i will take a look at your
book.

Thanks again.

--
Regards, @win
"Dick Grier" wrote:
Hi,

Does the PC that is running your application have an internet connection?
If so, then the simplest thing is to use a paging web service (available via
subscription from most paging companies). The actual web service will
provide the required API. All you have to do is to subscribe to it in your
application.

You can use a dialup modem (and the SerialPort class) to page via the TAP
protocol. You dial in directly, using your modem, to the paging service to
which you subscribe, and send the message formatted using that protocol. I
have details and some examples in my book (see below), though nothing for
..NET. TAP is used less frequently these days because so many PCs have
internet connections.

If all that you need to do is to send a NUMERIC page (TAP is for full text
paging), then most services support simple dialing. You use the modem to
dial the service, after answer (you do not allow the modem to connect, but
instead use it as a simple dialer), you send some additional digits that are
the pager number -- some pagers may then allow you to send additional digits
that might be used to represent the actual error event. I have example code
for this sort of thing in my book using VB6. It could be ported to .NET
quite easily.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Feb 21 '07 #3

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

Similar topics

1
by: Gernot Hillier | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I'm the developer of a Linux ISDN application which uses embedded Python for controlling the communication. It starts several threads (i.e....
36
by: Richard | last post by:
My employer currently pays me $1/hour when I carry a pager. I have to carry the pager every fourth week. The problem is that my employer insists that I be available when I'm carrying the pager. ...
0
by: James T. | last post by:
Hello! I am using following code to customize DataGrid Pager. It works fine... My question is, how I can replace"&nbsp" with " | " between each LinkButton control? Thanks! James Dim...
0
by: Ray | last post by:
I am trying to add a "Next >" and "<Prev" button to the pager of my datagrid. I have been able to add the hyperlinks to the pager. I am now trying to determine the correct postback script to...
1
by: Friso Wiskerke | last post by:
Hi all, is it possible to set a separate style in a datagrid pager for the selected page to make it more clear for the user which page is selected? For example: page 3 is selected out of the 8...
2
by: nehal | last post by:
Hello , i am developing a mobile web application using vb.net which provides auto sms sending. I have also sms and pager toolkit. Is there any way to send sms to mobile without cable connection...
0
by: bdtmike | last post by:
I'm using the GridView control and have the Mode of the Pager set to "NumericFirstLast". However, when there are several pages to display, the pager shows only page numbers--and no First/Last...
2
by: =?Utf-8?B?QHdpbg==?= | last post by:
Hello there, I need to write a little app that dails a number through a modem to alert a pager. I Dont really know where to start so i hope someone can help. I presume one would have to use...
7
by: cj | last post by:
Has anyone figured out a way with VB2005 to send a numeric message to a pager using a common 56kb modem?
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.