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

modems and ports

Okay, this problem is a problem that arose out
of .NET coding rather than a hardware problem.
I have a hard time trying to figure out how I
can determine the port the modem is connected
to, in Win 98 en ME using the registry
entries. This is n0t a problem with Win 2K and
XP. Neither with Win NT4 with WMI installed.

With WMI, I can determine this with the
following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Cl ass\{4D36E96D-E325-11CE-BF
C1-08002BE10318}
I can detect the modems installed using this
key on systems with WMI. On Win 98 and ME
systems, I can use the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\Modem
But in 98 & ME systems, there is no
"AttachedTo" property. I am trying to figure
out a way to determine the ports the
installed modems are connected to, and then
use serial communication to send commands
and data to it. On COM ports this is not a
problem. I can use the RS232 class from SAX.
However, when it comes to USB modems, I have
not a clue.

So its TWO distinct problems I actually have:

1. Detecting the modem's port config on
systems without WMI.

2. Sending commands and data to USB modems via
code. C# or VB.NET code is most welcome.
Anyone with helpful information on this will
be greatly appreciated. Thank you.

Nov 20 '05 #1
5 3363
I feel sorry for you, I'm facing the same problem and I think its pretty
poor really. Anyway here is a response to a previous post of mine on the
same subject, I have not had time to check it out yet, hopefuly it may help
you.

Hi,

Sorry. Sealevel is www.sealevel.com. Inside Out Networks is
www.ionetworks.com. Comes from posting from memory, rather than looking it
up. However, Google would have led you there, too.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)
Regards - OHM



delimiter wrote:
Okay, this problem is a problem that arose out
of .NET coding rather than a hardware problem.
I have a hard time trying to figure out how I
can determine the port the modem is connected
to, in Win 98 en ME using the registry
entries. This is n0t a problem with Win 2K and
XP. Neither with Win NT4 with WMI installed.

With WMI, I can determine this with the
following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Cl ass\{4D36E96D-E325-11CE-BF C1-08002BE10318}
I can detect the modems installed using this
key on systems with WMI. On Win 98 and ME
systems, I can use the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\Modem
But in 98 & ME systems, there is no
"AttachedTo" property. I am trying to figure
out a way to determine the ports the
installed modems are connected to, and then
use serial communication to send commands
and data to it. On COM ports this is not a
problem. I can use the RS232 class from SAX.
However, when it comes to USB modems, I have
not a clue.

So its TWO distinct problems I actually have:

1. Detecting the modem's port config on
systems without WMI.

2. Sending commands and data to USB modems via
code. C# or VB.NET code is most welcome.
Anyone with helpful information on this will
be greatly appreciated. Thank you.


--
Best Regards - OHM

O_H_M{at}BTInternet{dot}com
Nov 20 '05 #2
Hi,

Its is a shame. You can get most of the info from the
win32_potsmodem class. Here is a link to the wmi core redist package.
http://www.microsoft.com/downloads/d...DisplayLang=en

Ken
------------------------
"delimiter" <de*******@despammed.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Okay, this problem is a problem that arose out
of .NET coding rather than a hardware problem.
I have a hard time trying to figure out how I
can determine the port the modem is connected
to, in Win 98 en ME using the registry
entries. This is n0t a problem with Win 2K and
XP. Neither with Win NT4 with WMI installed.

With WMI, I can determine this with the
following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Cl ass\{4D36E96D-E325-11CE-BF
C1-08002BE10318}
I can detect the modems installed using this
key on systems with WMI. On Win 98 and ME
systems, I can use the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\Modem
But in 98 & ME systems, there is no
"AttachedTo" property. I am trying to figure
out a way to determine the ports the
installed modems are connected to, and then
use serial communication to send commands
and data to it. On COM ports this is not a
problem. I can use the RS232 class from SAX.
However, when it comes to USB modems, I have
not a clue.

So its TWO distinct problems I actually have:

1. Detecting the modem's port config on
systems without WMI.

2. Sending commands and data to USB modems via
code. C# or VB.NET code is most welcome.
Anyone with helpful information on this will
be greatly appreciated. Thank you.

Nov 20 '05 #3
yeah. quite a shame. I already know how to work with WMI classes. Thanks :-)

But I do n0t think the WMI redistributable will work on Win98 or ME.
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

Its is a shame. You can get most of the info from the
win32_potsmodem class. Here is a link to the wmi core redist package.
http://www.microsoft.com/downloads/d...DisplayLang=en
Ken
------------------------

Nov 20 '05 #4
Hi,

The link is for the Windows Management Instrumentation (WMI) CORE 1.5
(Windows 95/98/NT 4.0). WMI is included in ME.

Ken
-------------
"delimiter" <de*******@despammed.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
yeah. quite a shame. I already know how to work with WMI classes. Thanks
:-)

But I do n0t think the WMI redistributable will work on Win98 or ME.
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

Its is a shame. You can get most of the info from the
win32_potsmodem class. Here is a link to the wmi core redist package.

http://www.microsoft.com/downloads/d...DisplayLang=en

Ken
------------------------


Nov 20 '05 #5
It is? My goodness. Thanks for the link. The link I had previously was only
for Win NT4 :-)

But say... would you know if this distribution of WMI will give me an
"AttachedTo" property like on 2K/XP ?

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

The link is for the Windows Management Instrumentation (WMI) CORE 1.5 (Windows 95/98/NT 4.0). WMI is included in ME.

Ken
-------------
"delimiter" <de*******@despammed.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
yeah. quite a shame. I already know how to work with WMI classes. Thanks
:-)

But I do n0t think the WMI redistributable will work on Win98 or ME.
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

Its is a shame. You can get most of the info from the
win32_potsmodem class. Here is a link to the wmi core redist package.

http://www.microsoft.com/downloads/d...DisplayLang=en

Ken
------------------------



Nov 20 '05 #6

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

Similar topics

0
by: JaffaB | last post by:
Hi, This may sound like a strange question, but is there any special access set-up or security controls around COM ports or Modems? I am trying to create a routine that sends SMS and pagers...
0
by: Bootstrap Bill | last post by:
Does anyone know if there is a Microsoft .net library for working with voice modems? Also, do standard voice modems support speach recognition? I want to write a menu system for voice modems...
1
by: Jonas Hei | last post by:
I need to develop support for communications using modems (AT compatible modems) in my application? Where do I start? Would you recommend using TAPI? Or would it be a better idea to directly...
3
by: andyI | last post by:
Where do I find information on how to address and pass data to and from the serial ports and USB ports in VB. VB6 supports the serial ports easily but I see no reference to using the USB ports....
2
by: gad | last post by:
How do i get a list of modems that are connectes to my ports?
1
by: henrycortezwu | last post by:
Hi All, I'm trying to connect to a virtual port (COM19, OUTGOING, "Bluetooth Serial Port") using VS2005 System.IO.Ports. When I ran the ff code below here's what happens. 1) VS2005 Compiles w/o...
2
by: joaquimfpinto | last post by:
Dear All, I made an app in c# that uses several serial ports. For the serial ports I use a pnp Sunix board, some with 8 serial ports other with 4 or even 2 serial ports. Whenever I use the...
1
by: theVOID1 | last post by:
Hi guys! Im building an application where I want to be able to have 3 USB UMTS modems in one computer. Does anyone have experience in using several modems at the same time? I also want them to...
0
by: ajorge | last post by:
I'm a rookie with C# and VB programming languages, but I need to make a connection of two GSM Modems for Remote Monitoring. I've done some web research and i've found a C# code to make the two modems...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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,...
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
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.