I'm using the following code to run a stored procedure which doesn't need a
parameter:
Recordset _recordSet = _adoCommand.Execute(out _dummy1, ref _dummy2,
(int)ExecuteOptionEnum.adExecuteRecord);
The above code throws this error: Parameter object is improperly defined.
Inconsistent or incomplete information was provided. at
ADODB.CommandClass.Execute(Object& RecordsAffected, Object& Parameters,
Int32 Options)
Any idea why the command object doesn't understand that no parameters are
needed?
-G
"Nicholas Paldino [.NET/C# MVP]" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> Gilgamesh,
>
> The best way to do it would be to access the data through ADO (not
> ADO.NET) through COM interop in .NET, and then pass the recordset along to
> VB.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - (E-Mail Removed)
>
> "Gilgamesh" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> How do I pass a result of a stored procedure from a C# assembly to a VB 6
>> so VB can see the result as RecordSet?
>>
>> Thanks,
>> Gilgamesh
>>
>
>