Re: ADO Stream and Java
paul.urban_at_nospam.com
Date: 03/21/05
- Next message: hermann: "sql : add column xxx hyperlink in access"
- Previous message: hermann: "seed property - what is this ?"
- Messages sorted by: [ date ] [ thread ]
Date: 21 Mar 2005 05:16:00 -0800
The problem is the first parameter (the Variant). This code will work:
Variant empty_variant = new Variant();
empty_variant.noParam();
strmIn.Open(empty_variant, ConnectModeEnum.adModeUnknown,
StreamOpenOptionsEnum.adOpenStreamUnspecified, null, null);
Paul
Mikael Karon wrote:
> Fixed the problem, sortof...
>
> Instead of using the msado15 (not 25) stuff, i used
> com.ms.com.wfc.io.MemoryStream, and it worked for my app...
>
> regards / Mike
>
> >-----Original Message-----
> >I'm trying to use the ado stream object from java, and
> >keep getting:
> >
> >{com.ms.com.ComFailException detailMessage="Arguments are
> >of the wrong type, are out of acceptable range, or are in
> >conflict with one another."} java.lang.Exception
> >
> >all I'm trying to do is :
> >
> >import msado25.Stream;
> >Stream stream = new Stream();
> >stream.Open(new Variant(null),
> >msado25.ConnectModeEnum.adModeUnknown,
> >msado25.StreamOpenOptionsEnum.adOpenStreamUnspecified, "",
>
> >"");
> >
> >any ideas ?
> >.
> >
- Next message: hermann: "sql : add column xxx hyperlink in access"
- Previous message: hermann: "seed property - what is this ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|