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
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
'-- Declare using new
Dim Ext2 As New ExtensionList()
Dim Ext(2) As ExtensionList
Ext(0) = New ExtensionList()
Ext(1) = New ExtensionList()
Ext(2) = New ExtensionList()