August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!
Sub OpenWonLost() Dim fName As String fName = gMyPath & "\KenoData.ini" Set clsINIFile = New cInifile With clsINIFile .Path = fName .Section = txtDescription.Text .Key = "TotWonLost" .Default = 0 mcurWonLost = .Value .Key = "TotalRuns" .Default = 0 mlTotalRuns = .Value End With mbNewSession = False End Sub Private Sub txtDescription_Change() SectionExists txtDescription.Text If SectionExists = False Then mlTotalRuns = 0 mcurWonLost = 0 Else OpenWonLost'get the saved values End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.