modems and ports

D

delimiter

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\Class\{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\Services\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.
 
O

One Handed Man [ OHM# ]

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
 
D

delimiter

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.
 
K

Ken Tucker [MVP]

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
 
D

delimiter

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top