by Oliver Kraft (1 Submission)
Category: String Manipulation
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
This program can Show text inside a TextBox char by char, like it was written in this moment while it play a litle sound, it can create a cool effect!
Inputs
The parameter for the principal function (called TypeMsg) are a mensage string to be show and a number of secods to bee used as parameter in other function used to delay for X secods to delay the execution of sub procedures and functions.
Code Returns
Then, it show the text putting it chat by char and playing a sound.
Side Effects
It can crate an effect like a typemachine
API DeclarationsDeclare Function sndplaysound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Declare Function sndStopSound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As Long, ByVal uFlags As Long) As Long
They are used to Play a sound.
Download TypeMachine (6 KB)