Read write binary file using ADODB.Stream 
Author Message
 Read write binary file using ADODB.Stream

To write binary data from wsh/vbs using ADODB.Stream, what is
the requirement? (OS, installs etc..)?  What OSs have this control
already available?

Are there any known issues in *writing* binary objects to this type
of stream from vbs?

Thanks,
 - Mitch



Mon, 13 Dec 2004 21:54:05 GMT  
 Read write binary file using ADODB.Stream

Quote:

> To write binary data from wsh/vbs using ADODB.Stream, what is
> the requirement? (OS, installs etc..)?  What OSs have this control
> already available?

> Are there any known issues in *writing* binary objects to this type
> of stream from vbs?

Based on typelib contents (looking for StreamTypeEnum), ADODB.Stream seems to have appeared on version 2.5.

INFO: Microsoft Data Access Components (MDAC) Release History
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q231943

--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--



Mon, 13 Dec 2004 23:43:36 GMT  
 Read write binary file using ADODB.Stream
Thanks Michael.
This is very useful for using CAPICOM 2 to sign binary data files from scripting.

Here is an implementation of it:
  http://home.iSTAR.ca/~neutron/wsh/   (CAPICOM 2 Signing/Saving Binary Files)
which uses the Utilities object of CAPICOM 2 along with ADODB.Stream.
Thanks,
 - Mitch

Quote:


> > To write binary data from wsh/vbs using ADODB.Stream, what is
> > the requirement? (OS, installs etc..)?  What OSs have this control
> > already available?

> > Are there any known issues in *writing* binary objects to this type
> > of stream from vbs?

> Based on typelib contents (looking for StreamTypeEnum), ADODB.Stream seems to have appeared on version 2.5.

> INFO: Microsoft Data Access Components (MDAC) Release History
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;q231943

> --
> Michael Harris
> Microsoft.MVP.Scripting
> Seattle WA US
> --



Tue, 14 Dec 2004 02:31:59 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How to read and write using a stream?

2. Help with ADODB.Stream Read method failure

3. Using ADODB Stream

4. Using ADODB.Stream

5. Problems using ADODB.Stream for Binarywrite method

6. open a binary file for reading/writing

7. read/write binary file in jscript

8. Reading binary file using VBScript

9. Reading the Binary file using FileSystem Object

10. Opening files binary with stream object

11. String --> binary array --> ADODB.Stream.write

12. binary stream and multiple files

 

 
Powered by phpBB® Forum Software