Re: ADODB.Stream.Open now with VS2005 gives wrong type error message



Hi Chris,

I do thank you for responding to my query, but can you offer a solution to
how to create a stream? The code that I gave below worked before but throws
a runtime error of an argument fault with Visual Studio 2005, where there is
no argument error.

Thanks,

Sarah

oStream = new ADODB.Stream();
oStream.Open((object)System.Reflection.Missing.Value,
ConnectModeEnum.adModeWrite,
StreamOpenOptionsEnum.adOpenStreamUnspecified,
"", "");


.