Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- From: "Mark J. McGinty" <mmcginty@xxxxxxxxxxxxxxx>
- Date: Tue, 9 Oct 2007 07:40:05 -0700
"Sarah M. Weinberger" <mweinberger@xxxxxxxxxxx> wrote in message
news:OZGEGveCIHA.4712@xxxxxxxxxxxxxxxxxxxxxxx
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.
Try setting the corresponding properties on the object after creating it,
and calling open with no properties?
-Mark
Thanks,
Sarah
oStream = new ADODB.Stream();StreamOpenOptionsEnum.adOpenStreamUnspecified,
oStream.Open((object)System.Reflection.Missing.Value,
ConnectModeEnum.adModeWrite,
"", "");
.
- Follow-Ups:
- Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- From: Sarah M. Weinberger
- Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- References:
- ADODB.Stream.Open now with VS2005 gives wrong type error message
- From: Sarah M. Weinberger
- RE: ADODB.Stream.Open now with VS2005 gives wrong type error message
- From: Chris Alton [MSFT]
- Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- From: Sarah M. Weinberger
- ADODB.Stream.Open now with VS2005 gives wrong type error message
- Prev by Date: Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- Next by Date: Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- Previous by thread: Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- Next by thread: Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
- Index(es):
Relevant Pages
|
|