Results 1 to 5 of 5

Thread: MsComm and Modem Use by the OS

  1. #1

    Thread Starter
    Hyperactive Member MikeBAM's Avatar
    Join Date
    Sep 2000
    Location
    Metro Detroit
    Posts
    284

    MsComm and Modem Use by the OS

    I just realized that my program, after months of work, is going to be stupid if I can't fix this.

    I have a program that uses MScomm and keeps the modem port open all the time to watch for incoming data. The problem seems that if any user of my prog. wanted to use dial-up internet they would have a problem dialing up and my program would be to blame for the problem. The modem port is already open by me and they can't use the modem if the port is already open. (That is correct right?) So...

    Is there any way to detect if another program was trying to use the modem port? Then I could close it and let them use it. (Any normal person probably wouldn't understand why they couldn't get on)

    Or is there anyway to tell if someone is trying to dial-up to the internet in any way?
    (In any way - meaning no mater if they use a normal dial-up number run off Windows OS, or if they use AOL, MSN, AT&T, BellSouth, W/E... )
    ~* )v( ! /< E *~

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898
    HI,


    Not sure if it'll help, but there is an example of MSCOMM with a Modem on the site vb-helper.com under the old site for advanced examples. This may be worth a look.

    Regards
    Bill

  3. #3

    Thread Starter
    Hyperactive Member MikeBAM's Avatar
    Join Date
    Sep 2000
    Location
    Metro Detroit
    Posts
    284
    I cant find it but I dont think that would help.
    ~* )v( ! /< E *~

  4. #4
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    Mike

    No. Unfortunately, they will be denied immediately by the system. It won't even think twice. However, if your program dialed their default Internet service, you have solved the problem anyway since their browser can use that connection
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  5. #5

    Thread Starter
    Hyperactive Member MikeBAM's Avatar
    Join Date
    Sep 2000
    Location
    Metro Detroit
    Posts
    284
    well i would still need to know when they're trying/wanting to get online
    ~* )v( ! /< E *~

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width