Results 1 to 2 of 2

Thread: Say Date ActiveX (or sound files) - Will pay

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539

    Say Date ActiveX (or sound files) - Will pay

    I need a activex control which i can use in vb.net to play the date
    (i really just need the sound files like "January, Feb...", "1st, 2nd..."
    but if a activex control exist out there let me know
    or anyone know i where i can just buy the sound files
    (they have to be real human voices (female prefered))

    Thanks

  2. #2
    Fanatic Member RealisticGraphics's Avatar
    Join Date
    Jul 1999
    Location
    Arkansas
    Posts
    655
    Why not record the wav files yourself. I've not really used VB.Net but I would assume the same old APIs for playing the wav files should work. For instance:

    VB Code:
    1. Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _
    2. (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
    3.  
    4. Const SND_SYNC = &H0
    5. Const SND_ASYNC = &H1
    6. Const SND_NODEFAULT = &H2
    7. Const SND_LOOP = &H8
    8. Const SND_NOSTOP = &H10
    9.  
    10. Public Sub RunWAV()
    11. SoundFile$ = "c:\Logoff.wav"
    12. wFlags% = SND_ASYNC Or SND_NODEFAULT
    13. x% = sndPlaySound(SoundFile$, wFlags%)
    14. End Sub
    www.RealisticGraphics.net

    Running VS.Net Enterprise & VB 6

    Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML

    MSN Messenger: kmsheff

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