CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Modem

  1. #1
    Join Date
    Feb 2000
    Location
    garden grove, california
    Posts
    64

    Modem

    dial a phone number with your modem like the windows program "phone dialer"


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Modem

    Add to mudule

    public declare Function tapiRequestMakeCall Lib "TAPI32.DLL"(byval Dest as string, byval AppName as string byval CalledParty as string, byval Comment as string) as long

    public sub MakeCall(strNumber as string, strName as string)
    dim retval as long
    retval = tapiRequestMakeCall(Trim$(strNumber), App.Title, Trim$(strName),"")
    If retval = 0 then
    ' succeeded
    else
    ' failed
    end if
    end sub




    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured