G
Guest
HEllo,
I'm trying to write my first application in VB.NET (I'm not developper) and
when I do:
oCommand.CommandText = StrQuery(i)
oCommand.Properties("Page Size") = 1000
oCommand.Properties("Timeout") = 30
oCommand.Properties("Searchscope") = 2
oCommand.Properties("Cache Results") = False
'Execute the query
oRecordSet = oCommand.Execute
I have an error on the last line:
An unhandled exception of type 'System.Runtime.InteropServices.COMException'
occurred in microsoft.visualbasic.dll
Additional information: Unspecified error
StrQuery(i) is declared as string.
An idea ?
I'm trying to write my first application in VB.NET (I'm not developper) and
when I do:
oCommand.CommandText = StrQuery(i)
oCommand.Properties("Page Size") = 1000
oCommand.Properties("Timeout") = 30
oCommand.Properties("Searchscope") = 2
oCommand.Properties("Cache Results") = False
'Execute the query
oRecordSet = oCommand.Execute
I have an error on the last line:
An unhandled exception of type 'System.Runtime.InteropServices.COMException'
occurred in microsoft.visualbasic.dll
Additional information: Unspecified error
StrQuery(i) is declared as string.
An idea ?