VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

TB-Sensor

Timo Boehme  (1 Submission)   Games   Intermediate   Wed 3rd February 2021

I just wanted to show how you can resize your form by using the "for each - next" methode. But when I was writing the code, I'd like to show any good solution why this code could be nice. I think you know the game "sensor". You have to play the same sounds like the computer plays. I'm not good in English but just have a look and tell me the level you reach :-)

Side Effects
I've included Wave files and a picture. You can modify it or let them away if there are any problems.

API Declarations
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" ( _
ByVal lpszName As String, _
ByVal hModule As Long, _
ByVal dwFlags As Long) As Long

Private Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" ( _
ByVal lpszLongPath As String, _
ByVal lpszShortPath As _
String, _
ByVal cchBuffer As Long) As Long

Rate TB-Sensor (3(3 Vote))

Download TB-Sensor

TB-Sensor Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters