|
-
Jun 18th, 2000, 01:20 AM
#1
Thread Starter
Addicted Member
Leaving a voice message !
How to dial a number and when answered, leave a voice message and hang up.
Conditions:
1-The message is a wave sound
2-Voice modem
PLZ HELP!!
Thanks a lot!!
B.S Computer Science
M.S Computer Engineering
-
Jun 18th, 2000, 06:16 AM
#2
you can download socketwrench at http://www.catalyst.com its a freeware OCX. look for socketwrench. socket tools is the one that you buy.
socketwrench comes with a dialer, I dont think i can help you with the code, I am not much into dialing the phone, and using wav's in VB..
-
Jun 18th, 2000, 06:36 AM
#3
_______
this will play the voice message..
..have never tried the 1st part of your question
but this is the second.
'Play A sound
'Paste this code into a bas module
'
'API Function to play the sound
'
Declare Function sndPlaySound Lib "winmm" Alias _
"sndPlaySoundA" (ByVal lpszSoundName As String, _
ByVal uFlags As Long) As Long
'
' play synchronously (default)
Public Const SND_SYNC = &H0
' play asynchronously
Public Const SND_ASYNC = &H1
' loop the sound until next
Public Const SND_LOOP = &H8
'=====================================================
'Paste this code into the main
'from your main program (button or load or whatever):
'call the function using your wave file & location..replace "A:\whoosh.wav"
'
Call sndPlaySound(ByVal "a:\whoosh.wav", SND_ASYNC)
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Aug 16th, 2000, 11:21 AM
#4
Fanatic Member
Yo Joe, just thought I'd point out that, whilst your bit of code there does indeed play sound (and it's a nice bit of code, doesn't need any silly components or anything) it only plays it through the soundcard, and not, as Mimo requested, through the modem. So whadya say to that then? :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|