Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.