gwidijanto
Registered User.
- Local time
- Today, 06:13
- Joined
- May 4, 2003
- Messages
- 28
Hi,
I use AutoDialer on_click button command, it works OK, but has some minor flaw.Sometimes it didn't hang up or disconnect automatically after I hang up the phone.
The modem still running.
I want the modem hang up after I pick up the phone.
Is it possible using VB code to hang up or reset the modem?
here is part of code I use:
Application.Run "utility.wlib_AutoDial", phonenumber
PauseTime = 8 ' Set duration.
Start = Timer ' Set start time.
Do While Timer < Start + PauseTime
DoEvents ' Yield to other processes.
Loop
Finish = Timer ' Set end time.
---> here is the place of code to hang up the modem.
Any better idea?
Somebody can help me?
Thankyou.
Gunawan.
I use AutoDialer on_click button command, it works OK, but has some minor flaw.Sometimes it didn't hang up or disconnect automatically after I hang up the phone.
The modem still running.
I want the modem hang up after I pick up the phone.
Is it possible using VB code to hang up or reset the modem?
here is part of code I use:
Application.Run "utility.wlib_AutoDial", phonenumber
PauseTime = 8 ' Set duration.
Start = Timer ' Set start time.
Do While Timer < Start + PauseTime
DoEvents ' Yield to other processes.
Loop
Finish = Timer ' Set end time.
---> here is the place of code to hang up the modem.
Any better idea?
Somebody can help me?
Thankyou.
Gunawan.