I
imme929
I got things working until I tried adding this
enum to a structure...
Public Enum Keyboard
EnglishUS
EnglishUK
Spanish
German
Italian
French
End Enum
Public Structure TUserStats
Public language As Keyboard <----------
Public User As String
Public BestPercentage As String
Public BestCompleted As Integer
Public BestAverage As Single
End Structure
The arrow above points to the problem. I'm stopped at
this line below:
FileGet(1, Globals.RecStats)
An error window pops up and says....
"An unhandled exception of type 'System.ArgumentException'
occurred in microsoft.visualbasic.dll"
"Additional information: Object type cannot be converted
to target type."
'..
enum to a structure...
Public Enum Keyboard
EnglishUS
EnglishUK
Spanish
German
Italian
French
End Enum
Public Structure TUserStats
Public language As Keyboard <----------
Public User As String
Public BestPercentage As String
Public BestCompleted As Integer
Public BestAverage As Single
End Structure
The arrow above points to the problem. I'm stopped at
this line below:
FileGet(1, Globals.RecStats)
An error window pops up and says....
"An unhandled exception of type 'System.ArgumentException'
occurred in microsoft.visualbasic.dll"
"Additional information: Object type cannot be converted
to target type."
'..