Code:
Dim expression1 As Expression
Dim expression2 As Expression
Dim expression3 As Expression
Dim expression4 As Expression
Dim expression5 As Expression
Dim expression6 As Expression
Dim expCol As New ExpressionCollection
Dim export As ExpressionCollection.ExportMode
Dim sort As ExpressionCollection.SortType
Dim import As ExpressionCollection.ImportMode
Dim expModified As Boolean
Dim errorMessages As String()
expCol.ImportFromFile("list_file", import.Replace, expModified, errorMessages)
The Line "Dim expCol As New ExpressionCollection" is giving me the compilation error. Is there an alternate way to instantiate an object?
I attached the full source code, if you need more context.
Any help is appreciated.