Reading VDT files

  • Thread starter Thread starter Zahid
  • Start date Start date
Z

Zahid

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.
 
Zahid said:
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)?
 
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
 
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.
 
Zahid said:
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?
 
* "Zahid said:
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:

<
Web interface:

<http://msdn.microsoft.com/newsgroup...roup=microsoft.public.dotnet.framework.adonet>
 
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.
 
Zahid said:
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?
 
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
 
* "Zahid said:
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?
 
Zahid said:
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.
 
Zahid said:
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"
 
Back
Top