dialer.exe 
Author Message
 dialer.exe

Is there a way to send the phone number to dialer.exe from another program ?


Mon, 18 Mar 2002 03:00:00 GMT  
 dialer.exe
Try this code

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal
lpClassName As String, ByVal lpWindowName As String) As Long

Sub DetectDialer()
' Procedure dectects a running Dialer.
    Dim hwnd As Long
' If Dialer is running this API call returns its handle.
    hwnd = FindWindow(vbNullString, "Phone Dialer")
    If hwnd = 0 Then    ' 0 means SRI not running.
        Exit Sub
    Else
    ' Dialer is running
        AppActivate "Phone Dialer"     ' Activate
        SendKeys "%E", True
        SendKeys "S", True
        SendKeys "FROMVB1", True
        SendKeys "{tab}", True
        SendKeys "8888", True
        SendKeys "{enter}", True
        SendKeys "%1", True

    End If
End Sub

Alonso Yocupicio
VB Programmer


Quote:
> Is there a way to send the phone number to dialer.exe from another program
?



Mon, 18 Mar 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Using Outlook Dialer vs Access Dialer

2. Using Outlook Dialer vs Access Dialer

3. Dialer (PPP/Slip) or access Win95s dialer

4. Specify DLL version when using mc.exe, rc.exe and/or link.exe

5. WANTED: SDK3.1 LIBW.LIB, LIB.EXE, LINK.EXE, RC.EXE

6. Need code for a phone dialer with subsequent internal ext dialer.

7. using phone dialer with Access 2000

8. Telephone Dialer with headset

9. TAPI dialer

10. phone dialer modification

11. Telephone dialer and timer

12. Phone Dialer

 

 
Powered by phpBB® Forum Software