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