Search found 67 matches: sndplaysound

Return to advanced search

Re: call DLL under FiveWin

... based connection functions when you are going to develop an intensively work with some DLLs. See "using Windows API". Example: Calling SndPlaySound() at RunTime: #include "FiveWin.ch"function Main()   SndPlaySound( "tada.wav", 0 )returnDLL FUNCTION ...
by hua
Tue Aug 02, 2022 2:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: call DLL under FiveWin
Replies: 7
Views: 737

Re: Ayuda MsgStop() y MsgInfo()

... RESOURCE "BTN_OK" ; TEXTRIGHT ; ID 1 ; OF oDlg ; ACTION ( oDlg:End() ) aBoton[ 1 ]:lDefault := .t. ACTIVATE DIALOG oDlg CENTERED ON INIT SndPlaySound( ".\SONIDOS\ERROR.WAV" ) Return .t. Espero y te ayude Saludos Eduardo Borondón Muñiz
by EBM
Thu Dec 05, 2019 9:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda MsgStop() y MsgInfo()
Replies: 5
Views: 842

How to play a background-sound (SND_ASYNC) ?

... < SND_ASYNC > That doesn't work because the function returns immediately after beginning the sound FOR I := 1 TO 3 // play sound 3 times SndPlaySound( "Test.wav", 1 ) // 0 works but is blocking all actions NEXT SND_SYNC The sound is played synchronously and the function does ...
by ukoenig
Mon Sep 09, 2019 5:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to play a background-sound (SND_ASYNC) ?
Replies: 2
Views: 572

Re: Avoid sound in xbrowse

... if needed nCPos := oBrw1:SelectedCol():nCreationOrder, ; // selected col IIF( nCPos = 1 .and. nKey == 13, ; // Sound on EDIT only on column 1 SndPlaySound( c_Path1 + "Alert.wav", 0 ), NIL ) ) } regards Uwe :D Thank you but I dont want to play a sound if a check or unckeck the first ...
by Wanderson
Fri Jul 14, 2017 9:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Avoid sound in xbrowse
Replies: 4
Views: 1041

Re: Avoid sound in xbrowse

... if needed nCPos := oBrw1:SelectedCol():nCreationOrder, ; // selected col IIF( nCPos = 1 .and. nKey == 13, ; // Sound on EDIT only on column 1 SndPlaySound( c_Path1 + "Alert.wav", 0 ), NIL ) ) } regards Uwe :D
by ukoenig
Fri Jul 14, 2017 7:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Avoid sound in xbrowse
Replies: 4
Views: 1041

Re: como saber si un objeto tomó el :end() o no ??

... oTimerT Do Case Case _nInterval2=(_nMinToInterval-1)*60000 // aca se cumple el primer timer y se le avisa al usuario que solo le queda un minuto SndPlaySound( '.\Sonidos\error.wav' ) o es en otra parte que quieres que lo ponga? Gracias !
by JoseAlvarez
Thu Mar 09, 2017 12:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: como saber si un objeto tomó el :end() o no ??
Replies: 10
Views: 1336

Re: como saber si un objeto tomó el :end() o no ??

... oTimerT Do Case Case _nInterval2=(_nMinToInterval-1)*60000 // aca se cumple el primer timer y se le avisa al usuario que solo le queda un minuto SndPlaySound( '.\Sonidos\error.wav' ) _nInterval2 :=(_nMinToInterval-1)*60000+1 _oTimerTabla2:Deactivate() // se crea este dialogo donde se le pregunta ...
by JoseAlvarez
Wed Mar 08, 2017 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: como saber si un objeto tomó el :end() o no ??
Replies: 10
Views: 1336

Re: Buzzer en CE 5.0

Hola de nuevo, no he conseguido nada con la funcion SndPlaySound. He buscado en Internet y parece ser que el Pocket no tiene tarjeta de sonido y solo es posible hacer sonar el Buzzer. Para ello es necesario tener tu propia función y en este Post he ...
by gmart1
Tue Aug 11, 2015 1:00 pm
 
Forum: FiveWin para Pocket PC
Topic: Buzzer en CE 5.0
Replies: 14
Views: 6815

Re: Buzzer en CE 5.0

... types for formal and actual parameter 1 y al final al linkar icm.obj : error LNK2019: unresolved external symbol IF referenced in function HB_FUN_SNDPLAYSOUND icm.exe : fatal error LNK1120: 1 unresolved externals No reconoce la función IF (), he copiado la función SNDPLAYSOUND tal cual me la puso ...
by gmart1
Tue Jul 28, 2015 8:53 am
 
Forum: FiveWin para Pocket PC
Topic: Buzzer en CE 5.0
Replies: 14
Views: 6815

Re: no me funciona CDOSYS, gmail

... "Mensaje: " + oError:Description, "Atención" ) oCfg := Nil oMsg := Nil Return ( .F. ) END oCfg := Nil oMsg := Nil Eval(bMens) SndPlaySound( GetWinDir() + "\media\Tada.wav", 0 ) CursorArrow() if oDlg<>NIL oDlg:End() endif Return ( .T. )
by noe aburto
Fri May 29, 2015 1:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: no me funciona CDOSYS, gmail
Replies: 5
Views: 689

usando CDOSYS marca error, mail

... CursorArrow() Eval(bMens) MsgStop( "No se pudo enviar el e-mail") oCfg := Nil oMsg := Nil Return .t. End Try oCfg := Nil oMsg := Nil SndPlaySound( GetWinDir() + "\media\Tada.wav", 0 ) CursorArrow() Eval(bMens) Return .t.
by noe aburto
Tue May 12, 2015 2:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: usando CDOSYS marca error, mail
Replies: 4
Views: 1132

Re: Pprograma para grabar sonidos en wave

Joao, En principio creo que no se puede porque la función sndPlaySound() de Microsoft solo admite dos tipos de ficheros: el identificador de un sonido del sistema ó el nombre de un fichero. Es decir, no permite que se le proporcione un handle de memoria. ...
by Antonio Linares
Thu Aug 01, 2013 8:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pprograma para grabar sonidos en wave
Replies: 2
Views: 558

Function SndPlaySound

I've noticed thad wav files with format "PCM 8,000 kHz; 16 bit; Stereo" can be heard

on the contrary files wav with "CCITT A-Law 8,000 kHz; 8 bit; Stereo" not

Obviuosly with function sndplaysound()

Any hints?
by MarcoBoschi
Fri May 25, 2012 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function SndPlaySound
Replies: 0
Views: 404

Re: Volviendo al tema CDO

... oError:SubSystem ) + CRLF + "Message: " + oError:Description ) oCfg := Nil oMsg := Nil Return Nil End Try oCfg := Nil oMsg := Nil SndPlaySound( GetWinDir() + "\media\Tada.wav", 0 ) CursorArrow() ELSE MsgStop("No hay Destinatario"+CRLF+; "Envio CANCELADO", ...
by Armando Picon
Fri Nov 04, 2011 2:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Volviendo al tema CDO
Replies: 19
Views: 6412

Re: SNDPLAYSOUND huge delay, help...

Yes, I did it, but without any effects. It seems like it's loading or analyzing the whole file before to play it...
by giobbi
Wed Mar 30, 2011 11:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SNDPLAYSOUND huge delay, help...
Replies: 2
Views: 513
Next

Return to advanced search