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




"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();
oStream.Open((object)System.Reflection.Missing.Value,
ConnectModeEnum.adModeWrite,
StreamOpenOptionsEnum.adOpenStreamUnspecified,
"", "");




.



Relevant Pages

  • Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
    ... I do thank you for responding to my query, but can you offer a solution to ... how to create a stream? ... a runtime error of an argument fault with Visual Studio 2005, ...
    (microsoft.public.data.ado)
  • Re: Same date range in main and sub form
    ... I tried it immediately but I got a Runtime Error ‘3075’ “Syntax ... If you use the parameters StartDate and EndDate in the query, ... You could put them as unbound text boxes on the main form, ...
    (microsoft.public.access.forms)
  • Re: Runtime Error 3075
    ... runtime error was caused by missing quotes at the WHERE clause which it ... ONLY when you can copy the result into query designer's SQL view & have it ... I got a Runtime error "3075' syntax error in date in query ... design, but would get a Runtime error if the coding was placed within ...
    (microsoft.public.access.queries)
  • Re: ADODB runtime error! Urgent.
    ... Ssql is a string of sql query and it executes well in Query Analyzer. ... The runtime error still ...
    (microsoft.public.vb.general.discussion)
  • Re: ADODB runtime error! Urgent.
    ... Post some code where the timeout occurs, ... > I used ADODB property to connect the sql database and query information. ... > I encounter a runtime error "connection time expired". ... > connectiontimeout more than 30 seconds and the error still occur. ...
    (microsoft.public.vb.general.discussion)