R
RDI
Both of the fail messages are dialog boxes that say "An unhandeled exception of type 'System.NullReferenceException' occured in WindowsApplication5.exe
"Additional information: Object reference not set to an instance of an object."
Does anyone have any idea what could be going on now?
TIA
Public Class ExtensionList
Public Description As String
Public Extension As String
End Class
Public Sub ParseExt()
Dim Ext2 as ExtensionList
Dim Ext(0) as ExtensionList
Ext2.Description = "T" 'fails
Ext(0).Description = "T" 'fails
end sub
"Additional information: Object reference not set to an instance of an object."
Does anyone have any idea what could be going on now?
TIA
Public Class ExtensionList
Public Description As String
Public Extension As String
End Class
Public Sub ParseExt()
Dim Ext2 as ExtensionList
Dim Ext(0) as ExtensionList
Ext2.Description = "T" 'fails
Ext(0).Description = "T" 'fails
end sub