Create a font size increment application that displays Size in label and increases the font size of the label in intervals of 5 starting at size 10 and ending at size 50.
Here is my code:
Dim intCount As Integer, intStart As Integer, intEnd As Integer
Dim intStep As Integer
Dim intSize As Integer
intStart = lblSize.Font.Size = 10
intEnd = lblSize.Font.Size = 50
intStep = lblSize.Font.Size = 5
For intCount = intStart To intEnd Step intStep
intSize = intSize + intCount
Next intCount
lblSize.Font.Size = intCount
However, when I run this applicaton my computer freezes and ends up crashing...how can i fix this? Thanks!