By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,582 Members | 1,720 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,582 IT Pros & Developers. It's quick & easy.

Read / write to a proprietary data file

P: n/a
I have a requirement to read / write to a proprietary data file. The fill
will have no more than 10 records with no more than 10 fields. This is only
for very simple data access. I want to completely avoid using ADO and XML.

If someone can please point me in the right dirrection.

Regards,
Mike.
Nov 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Cor
Hi Mike,
Take a look for "streamreader class or/and streamwriter class " in MSDN
Everything is written there
Cor
Nov 20 '05 #2

P: n/a
Hello,

"Mike Stephens" <no************@nosuchdomain.com> schrieb:
I have a requirement to read / write to a proprietary data
file.


What's the format you want to write?

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3

P: n/a
"Mike Stephens" <no************@nosuchdomain.com> wrote in
news:e5**************@TK2MSFTNGP09.phx.gbl:
I have a requirement to read / write to a proprietary data file. The
fill will have no more than 10 records with no more than 10 fields.
This is only for very simple data access. I want to completely avoid
using ADO and XML.

If someone can please point me in the right dirrection.


Is this a binary or text file?

Check out System.IO class. There are classes to read/write binary and text
files.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #4

P: n/a
I would like to write to a binary file.
"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:OD**************@TK2MSFTNGP11.phx.gbl...
Hello,

"Mike Stephens" <no************@nosuchdomain.com> schrieb:
I have a requirement to read / write to a proprietary data
file.


What's the format you want to write?

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #5

P: n/a
I would like to write to a binary file

"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@140.99.99.130.. .
"Mike Stephens" <no************@nosuchdomain.com> wrote in
news:e5**************@TK2MSFTNGP09.phx.gbl:
I have a requirement to read / write to a proprietary data file. The
fill will have no more than 10 records with no more than 10 fields.
This is only for very simple data access. I want to completely avoid
using ADO and XML.

If someone can please point me in the right dirrection.


Is this a binary or text file?

Check out System.IO class. There are classes to read/write binary and text
files.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 20 '05 #6

P: n/a
Hello,

"Mike Stephens" <no************@nosuchdomain.com> schrieb:
I would like to write to a binary file.


Have a look at the class 'System.IO.BinaryWriter'.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #7

P: n/a
"Mike Stephens" <no************@nosuchdomain.com> wrote in
news:e4**************@TK2MSFTNGP10.phx.gbl:
I would like to write to a binary file


BinaryReader/BinaryWriter.

But if there is an ADO.NET driver available for the binary file, I would
use that instead...

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.