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

Reading VDT files

P: n/a
Hi,

What is a VDT file? How do I read a VDT file into my
application? I know how to read text files etc but not
VDT files.

Im preparing in advance a prototype
that read VDT files and does processing on them.

Secondly, My app will have to read these files over a
network (from another PC on the network) and I intend to
populate my SQLServer database using the data from
the .VDT file. How/What is the best way of reading files
from another IP Address to the app?

Thanks in advance.
Nov 20 '05 #1
Share this Question
Share on Google+
14 Replies


P: n/a
"Zahid" <mr******@hotmail.com> schrieb
Hi,

What is a VDT file? How do I read a VDT file into my
application? I know how to read text files etc but not
VDT files.
Use a filestream and a binaryreader (in namespace system.io)
Im preparing in advance a prototype
that read VDT files and does processing on them.

Secondly, My app will have to read these files over a
network (from another PC on the network) and I intend to
populate my SQLServer database using the data from
the .VDT file. How/What is the best way of reading files
from another IP Address to the app?

Thanks in advance.


You can not read files using IP itself. You could use a protocol built upon
IP, like FTP, HTTP (which requires a server running) or the windows network.
You may have mounted a drive to a shared network folder or you can use
\\host\name\file".

But, as you don't know what a VDT file is, what do you wanna do with it
(apart from storing it in a databse)?

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

P: n/a
Are you referring to Virtual Data Toolkit used with Virtual Data System ?,
if so you are in deep water my firiend, I wish you luck.
Regards - OHM
Zahid wrote:
Hi,

What is a VDT file? How do I read a VDT file into my
application? I know how to read text files etc but not
VDT files.

Im preparing in advance a prototype
that read VDT files and does processing on them.

Secondly, My app will have to read these files over a
network (from another PC on the network) and I intend to
populate my SQLServer database using the data from
the .VDT file. How/What is the best way of reading files
from another IP Address to the app?

Thanks in advance.

Nov 20 '05 #3

P: n/a
Hi Armin,

The VDT file has data (records) that I want to use to
populate a database table with. Each line in the VDT file
corresponds to a row in a database. How do I solve this
problem then?

My app is a PocketPC app but i havent got a response from
that newsgroup for the last 3 days:-(

What do you mean by "Windows Network" ? The PC's will
all have minimum Windows 98 running on them and the
PocketPC is Windows Mobile 2003 (PocketPC 2003).

Thanks in advance.
-----Original Message-----
"Zahid" <mr******@hotmail.com> schrieb
Hi,

What is a VDT file? How do I read a VDT file into my
application? I know how to read text files etc but not
VDT files.
Use a filestream and a binaryreader (in namespace

system.io)
Im preparing in advance a prototype
that read VDT files and does processing on them.

Secondly, My app will have to read these files over a
network (from another PC on the network) and I intend to populate my SQLServer database using the data from
the .VDT file. How/What is the best way of reading files from another IP Address to the app?

Thanks in advance.
You can not read files using IP itself. You could use a

protocol built uponIP, like FTP, HTTP (which requires a server running) or the windows network.You may have mounted a drive to a shared network folder or you can use\\host\name\file".

But, as you don't know what a VDT file is, what do you wanna do with it(apart from storing it in a databse)?

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #4

P: n/a
"Zahid" <mr******@hotmail.com> schrieb
Hi Armin,

The VDT file has data (records) that I want to use to
populate a database table with. Each line in the VDT file
corresponds to a row in a database. How do I solve this
problem then?

My app is a PocketPC app but i havent got a response from
that newsgroup for the last 3 days:-(

What do you mean by "Windows Network" ?
A Windows network is a Windows network. Sorry, that's all I can say. In a
Windows network I can access the files on a different PC when I click in the
network environment on the PC and open a shared folder available on the
other PC. I can directly access it using a filestream and specify
"\\host\name\file" as the file name, or mount a volume to be able to access
it using "x:\file".

I mentioned this way because you wrote that you want to access a file via
IP, but the IP protocol does not "know" what files are. You can access a
file using http, ftp or via a Windows network.
The PC's will
all have minimum Windows 98 running on them and the
PocketPC is Windows Mobile 2003 (PocketPC 2003).


I don't know PocketPC.
What's you exact problem? Getting access to the file? Reading the file?
Using a filestream? Knowing the structure of a VDT file?

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5

P: n/a
* "Zahid" <mr******@hotmail.com> scripsit:
What is a VDT file? How do I read a VDT file into my
application? I know how to read text files etc but not
VDT files.
I don't know what a VDT file is too.
Im preparing in advance a prototype
that read VDT files and does processing on them.

Secondly, My app will have to read these files over a
network (from another PC on the network) and I intend to
populate my SQLServer database using the data from
the .VDT file. How/What is the best way of reading files
from another IP Address to the app?


For database problems:

..NET + Database group:

<news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet>

Web interface:

<http://msdn.microsoft.com/newsgroups/default.asp?url=/newsgroups/loadframes.asp?icp=msdn&slcid=us&newsgroup=microso ft.public.dotnet.framework.adonet>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6

P: n/a
Hi,

My exact problem is actually getting access to the file.
Could you provide a peice of code that access files on
another pc and copies it to a local directory? Maybe once
Ive copies it I will process it using filestream just as
you advised.

Thanks lots.
-----Original Message-----
"Zahid" <mr******@hotmail.com> schrieb
Hi Armin,

The VDT file has data (records) that I want to use to
populate a database table with. Each line in the VDT file corresponds to a row in a database. How do I solve this problem then?

My app is a PocketPC app but i havent got a response from that newsgroup for the last 3 days:-(

What do you mean by "Windows Network" ?
A Windows network is a Windows network. Sorry, that's

all I can say. In aWindows network I can access the files on a different PC when I click in thenetwork environment on the PC and open a shared folder available on theother PC. I can directly access it using a filestream and specify"\\host\name\file" as the file name, or mount a volume to be able to accessit using "x:\file".

I mentioned this way because you wrote that you want to access a file viaIP, but the IP protocol does not "know" what files are. You can access afile using http, ftp or via a Windows network.
The PC's will
all have minimum Windows 98 running on them and the
PocketPC is Windows Mobile 2003 (PocketPC 2003).
I don't know PocketPC.
What's you exact problem? Getting access to the file?

Reading the file?Using a filestream? Knowing the structure of a VDT file?

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #7

P: n/a
"Zahid" <mr******@hotmail.com> schrieb

My exact problem is actually getting access to the file.
Could you provide a peice of code that access files on
another pc and copies it to a local directory? Maybe once
Ive copies it I will process it using filestream just as
you advised.


Which access does the other PC offer?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #8

P: n/a
Cor
Hi Zahid,

If you have no access to a file you cannot copy it with a Microsoft program
or a prgram made with those tools.

I did a search on MSDN for VDT but there was nothing. So tell us first what
it is, because if it was a part of a Microsoft system I am sure there would
be something.

Cor
Nov 20 '05 #9

P: n/a
* "Zahid" <mr******@hotmail.com> scripsit:
My exact problem is actually getting access to the file.
Could you provide a peice of code that access files on
another pc and copies it to a local directory? Maybe once
Ive copies it I will process it using filestream just as
you advised.


Which information about the location of the file on the other PC do you
have?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #10

P: n/a
Hi,

This is a little embarrasing but what do you mean
by "Which Access" ?

Thanks in advance.
-----Original Message-----
"Zahid" <mr******@hotmail.com> schrieb

My exact problem is actually getting access to the file. Could you provide a peice of code that access files on
another pc and copies it to a local directory? Maybe once Ive copies it I will process it using filestream just as you advised.


Which access does the other PC offer?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #11

P: n/a
"Zahid" <mr******@hotmail.com> schrieb

This is a little embarrasing but what do you mean
by "Which Access" ?


Is the PC part of a Windows network? Is an FTP server running on it?

In other words: see Herfried's reply.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #12

P: n/a
Yes it is part of a Windows Network.

Thanks.
-----Original Message-----
"Zahid" <mr******@hotmail.com> schrieb

This is a little embarrasing but what do you mean
by "Which Access" ?

Is the PC part of a Windows network? Is an FTP server

running on it?
In other words: see Herfried's reply.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #13

P: n/a
"Zahid" <mr******@hotmail.com> schrieb
Yes it is part of a Windows Network.


In this case my first reply should help: Use a filestream and a binaryreader
(in namespace system.io)

In the VB langauge tour, there's a chapter "processing drives, folders and
files"

In the Framework docs, there's the chapter "programming with the .net
framework" -> "Working with I/O"
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #14

P: n/a
Hi,

Thanks a lot Armin. I'l check the docs.

Thanks.
-----Original Message-----
"Zahid" <mr******@hotmail.com> schrieb
Yes it is part of a Windows Network.
In this case my first reply should help: Use a

filestream and a binaryreader(in namespace system.io)

In the VB langauge tour, there's a chapter "processing drives, folders andfiles"

In the Framework docs, there's the chapter "programming with the .netframework" -> "Working with I/O"
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #15

This discussion thread is closed

Replies have been disabled for this discussion.