🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #371

Problema file .Wav chi mi può aiutare??

#371
From: Pietro
Date: Mon, 06 Nov 2006 09:00
44 lines
2272 bytes
Qualcuno forse mi può aiutare???

Ho effettuato un programma di comparazione di due codici se il
risultato è true emetti un suono  OK.wav altrimenti se è false emetti
suono alarm01.wav il programma attualmente ha qualche problema si
comporta così

Se quando lo lancio gli do due numeri  uguali il suono emesso è quello
giusto: OK.wav
Se inserisco 2 numeri diversi il suono emesso è quello giusto:
alarm01.wav
Se a questo punto gli do due valori corretti il suono emesso è quello
sbagliato: alarm01.wav
Chiedo cortesemente aiuto!!!!

stato = False

MMControl1.FileName = "C:\suoni\alarm01.wav"
MMControl1.Command = "open"
MMControl1.Command = "play"
MMControl1.Command = "prev"
End Sub



stato = True

MMControl1.FileName = "C:\suoni\OK.wav"
MMControl1.Command = "open"
MMControl1.Command = "play"
MMControl1.Command = "prev"
End Sub



Private Sub Form_Load()
MMControl1.Notify = False
MMControl1.DeviceType = "waveaudio"
MMControl1.Wait = True
MMControl1.Shareable = False
End Sub


Grazie  Pietro
Technical Details
Message-ID: <1162803647.666526.261080@m73g2000cwd.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m73g2000cwd.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,5182928d03ee3fc2,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m73g2000cwd.googlegroups.com!not-for-mail
From: "Pietro" <musianpietro@hotmail.com>
Newsgroups: free.it.visual-basic
Subject: Problema file .Wav chi mi può aiutare??
Date: 6 Nov 2006 01:00:47 -0800
Organization: http://groups.google.com
Lines: 45
Message-ID: <1162803647.666526.261080@m73g2000cwd.googlegroups.com>
NNTP-Posting-Host: 87.24.101.101
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1162803653 8892 127.0.0.1 (6 Nov 2006 09:00:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 6 Nov 2006 09:00:53 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; snprtz|T30199335000146),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 flexserver:10001 (IWSS)
Complaints-To: groups-abuse@google.com
Injection-Info: m73g2000cwd.googlegroups.com; posting-host=87.24.101.101;
   posting-account=xCW6LA0AAABT18KXlBsUN8P5lT1t_3vC