Translating PLAY in QuickBasic to VB-code 
Author Message
 Translating PLAY in QuickBasic to VB-code

I have produced rather many programs written in Quick Basic.
To pay the users attention to certain events I have used the
command PLAY or SOUND.

I have been looking for some corresponding commands in
Visual Basic but without any results. I should be grateful
if anyone could give me some tips. The very best would be if
I could get a code example for a SUB Procedure generating a
tone or playing a sound file.

Lars E



Sun, 25 Jun 2000 03:00:00 GMT  
 Translating PLAY in QuickBasic to VB-code

I have produced rather many programs written in Quick Basic.
To pay the users attention to certain events I have used the
command PLAY or SOUND.

I have been looking for some corresponding commands in
Visual Basic but without any results. I should be grateful
if anyone could give me some tips. The very best would be if
I could get a code example for a SUB Procedure generating a
tone or playing a sound file.

Lars E



Sun, 25 Jun 2000 03:00:00 GMT  
 Translating PLAY in QuickBasic to VB-code

I have produced rather many programs written in Quick Basic.
To pay the users attention to certain events I have used the
command PLAY or SOUND.

I have been looking for some corresponding commands in
Visual Basic but without any results. I should be grateful
if anyone could give me some tips. The very best would be if
I could get a code example for a SUB Procedure generating a
tone or playing a sound file.

Lars E



Sun, 25 Jun 2000 03:00:00 GMT  
 Translating PLAY in QuickBasic to VB-code

I have produced rather many programs written in Quick Basic.
To pay the users attention to certain events I have used the
command PLAY or SOUND.

I have been looking for some corresponding commands in
Visual Basic but without any results. I should be grateful
if anyone could give me some tips. The very best would be if
I could get a code example for a SUB Procedure generating a
tone or playing a sound file.

Lars E



Sun, 25 Jun 2000 03:00:00 GMT  
 Translating PLAY in QuickBasic to VB-code

Use the same one that QBasic uses.  Beep


Quote:
> I have produced rather many programs written in Quick Basic.
> To pay the users attention to certain events I have used the
> command PLAY or SOUND.

> I have been looking for some corresponding commands in
> Visual Basic but without any results. I should be grateful
> if anyone could give me some tips. The very best would be if
> I could get a code example for a SUB Procedure generating a
> tone or playing a sound file.

> Lars E



Sun, 25 Jun 2000 03:00:00 GMT  
 Translating PLAY in QuickBasic to VB-code

Hej,

det gar att skriva en Modul som innerhaller:
Declare Funtion sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA"
(ByVal LpszSoundName as String, Byval uFlags as Long)  as Long
sen i en Subroutine  (    _Cick eller vad som helst) skriv:
x=sndPlaySound ("xyz.wav",0)

Lycka till!
GSchupp

Quote:

>I have produced rather many programs written in Quick Basic.
>To pay the users attention to certain events I have used the
>command PLAY or SOUND.
>I have been looking for some corresponding commands in
>Visual Basic but without any results. I should be grateful
>if anyone could give me some tips. The very best would be if
>I could get a code example for a SUB Procedure generating a
>tone or playing a sound file.
>Lars E



Mon, 26 Jun 2000 03:00:00 GMT  
 Translating PLAY in QuickBasic to VB-code

Check the KB on MS site. I JUST saw an article for
exactly this.

~I have produced rather many programs written in Quick Basic.
~To pay the users attention to certain events I have used the
~command PLAY or SOUND.
~
~I have been looking for some corresponding commands in
~Visual Basic but without any results. I should be grateful
~if anyone could give me some tips. The very best would be if
~I could get a code example for a SUB Procedure generating a
~tone or playing a sound file.
~
~Lars E
~



Fri, 30 Jun 2000 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. converting quickbasic code to ascii, or vb, or anything besides quickbasic

2. VB/Windows <- QuickBASIC 4 SOUND & PLAY

3. how to translate c# code to VB.net?

4. Could Someone Translate This Code To VB?

5. Anybody can translate this code from C to Basic or Vb

6. Translate VC code to vb

7. Translating VC++ code to VB.

8. Translating FORTRAN code into VBA code

9. Playing Wave Files in QuickBasic

10. Playing Midi Files In quickbasic 4.5

11. Playing Midi Files on the SB in Quickbasic 4.5

12. Playing Wave Files in QuickBasic

 

 
Powered by phpBB® Forum Software