473,405 Members | 2,279 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,405 software developers and data experts.

Get notified when the modem gets connected

Is there some way in dotNet to get notified when my modem gets
connected? Do I have to set up a hook using win32 api or can this be
handled by the framework? If thru win32, what api function should I
use?

Thanks.
Apr 29 '06 #1
1 1335
Use the system.IO.SerialPort class.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Khurram" <k************@somewhere.com> wrote in message
news:o6********************************@4ax.com...
Is there some way in dotNet to get notified when my modem gets
connected? Do I have to set up a hook using win32 api or can this be
handled by the framework? If thru win32, what api function should I
use?

Thanks.

Apr 30 '06 #2

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

Similar topics

1
by: Kees Bakelaar | last post by:
Hi all, This is not really a VB question, however, i am stuck a modem problem The modem is connected to a cristie teleport with a speed of 9600 bps. How can i set the modems DTE speed at...
1
by: Ashish | last post by:
Hi, I was trying to make a out going call through the voice modem, play a audio file and disconnect. With the XTAPI implementation of the JTAPI I am able to do it with an analog phone line. The...
1
by: Gerd Güldenast | last post by:
Hi, I am having a problem with a replication over a Modem-Connection, which works fine over LAN. Has anyone experienced this problem before? Settings are: 2 SQL Servers 2000, SP3 on Windows...
1
by: mf_sina | last post by:
Hi! how can i check if modem is connected to the computert in a vb.net application and if it doesn't exist, my application prompts user: plz check or reconnect your modem and also if modem exists...
3
by: roger beniot | last post by:
I would like to figure out how to detect an IP address change for an XP/Win2K3 machine that is leasing an IP via DHCP (and do it in C#)... Is there any event that indicates an IP address...
0
by: Cat | last post by:
Hello. Is it POSSIBLE to get notified when the machine is connected to the internet or disconnected from the internet? I mean, using .NET class not using Windows API. Other than pinging a website...
11
by: tnhoe | last post by:
Hi, I am looking for above. Any recommendation ? The GSM modem is a data card with phone chip in notebook which can send sms directly without going through other sms gateway URL. I only need...
2
by: Doru-Catalin Togea | last post by:
Hi! I asked previously how to address the COM port from Python and I was directed to pyserial. It is very elegant and I guess it works very well. However, it seems that what I try to do is...
1
by: govindadya | last post by:
Hi All, Can anybody help me out that how to transfer files through serial modem under windows platform? Scenario is that my serial to WLAN modem is connected to windows PC and I want to...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.