VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



TB-Sensor

by Timo Boehme (1 Submission)
Category: Games
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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

Download TB-Sensor

Download TB-Sensor (172 KB)

TB-Sensor Comments

No comments have been posted about TB-Sensor. Why not be the first to post a comment about TB-Sensor.

Post your comment

Subject:
Message:
0/1000 characters