473,513 Members | 2,677 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading VDT files

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
14 2149
"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
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
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
"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
* "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
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
"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
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
* "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
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
"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
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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2806
by: Olivier Maurice | last post by:
Hi all, I suppose some of you know the program Redmon (type redmon in google, first result). This neat little tool allows to hook up any functionality to a printer by putting the file printed to the printer to standard in. You have to provide yourself the program that does something with that data, so I thought with some quick c/c++...
19
10274
by: Lionel B | last post by:
Greetings, I need to read (unformatted text) from stdin up to EOF into a char buffer; of course I cannot allocate my buffer until I know how much text is available, and I do not know how much text is available until I have read it... which seems to imply that multiple reads of the input stream will be inevitable. Now I can correctly...
1
6740
by: Magnus | last post by:
allrite folks, got some questions here... 1) LAY-OUT OF REPORTS How is it possible to fundamentaly change the lay-out/form of a report in access? I dont really know it that "difficult", but listen up; Reports, the way I look at them, all present data downwards, in this way; TITLE data
6
6322
by: Rajorshi Biswas | last post by:
Hi folks, Suppose I have a large (1 GB) text file which I want to read in reverse. The number of characters I want to read at a time is insignificant. I'm confused as to how best to do it. Upon browsing through this group and other sources on the web, it seems that there are many ways to do it. Some suggest that simply fseek'ing to 8K bytes...
2
3235
by: nnimod | last post by:
Hi. I'm having trouble reading some unicode files. Basically, I have to parse certain files. Some of those files are being input in Japanese, Chinese etc. The easiest way, I figured, to distinguish between plain ASCII files I receive and the Unicode ones would be to check if the first two bytes read 0xFFFE. But nothing I do seems to be able...
7
5528
by: jccorreu | last post by:
I've got to read info from multiple files that will be given to me. I know the format and what the data is. The thing is each time we run the program we may be using a differnt number of files, with different file names each time. So i'm writing into the code to ask the user how many files, and what their names are. From each we'll read in...
6
5245
by: arne.muller | last post by:
Hello, I've come across some problems reading strucutres from binary files. Basically I've some strutures typedef struct { int i; double x; int n; double *mz;
10
8333
by: Tyler | last post by:
Hello All: After trying to find an open source alternative to Matlab (or IDL), I am currently getting acquainted with Python and, in particular SciPy, NumPy, and Matplotlib. While I await the delivery of Travis Oliphant's NumPy manual, I have a quick question (hopefully) regarding how to read in Fortran written data. The data files are...
5
14970
blazedaces
by: blazedaces | last post by:
Ok, so you know my problem, java is running out of memory reading with SAX, the event-based xml parser intended more-so than DOM for extremely large files. I'll try to explain what I've been doing and why I have to do it. Hopefully someone has a suggestion... Alright, so I'm using a gps-simulation program that outputs gps data, like...
4
1883
by: Miner Jeff | last post by:
Hello, I have a basic question about reading files. I have several data files where the filenames are identical except for a short (3 character) prefix. I inherited this code and the person who developed it was making a duplicate of each file and then deleting the prefix on the copied file so the following statement could read a generic...
0
7269
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7559
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7123
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.