by QuaPro (1 Submission)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
It shows you how to enable/disable Start button. (Well, though I looked through the previous submissions, I didn't see such a code. Maybe I missed it I don't know. Anyway, it may be of use to some of you, especially for those who want to restrict user.
Assumes
Windows API, window handles and classes
Code Returns
Enabling/Disabling Start button
Side Effects
It was tested on Windows 98/NT4/2000. The result was successful.Anyway, save your critical data prior to executing this code. (I did't)
By the way, the code was written in VB6 SP3. With slight modifications, it should work in VB5 and VB4 32-bit as well.