473,472 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Import array from space delimited file...

2 New Member
Hey guys,

I can't figure this out... it probably isn't as hard as I'm making it...!

I've got a space-delimited .txt file, with three columns.

All I want to do is import the data as a three columned array, with as many rows as the text file... could you please point me in the right direction?! I'm using VB 2005...

Thanks!
Feb 21 '07 #1
5 2334
csocean
2 New Member
Hey guys,

I can't figure this out... it probably isn't as hard as I'm making it...!

I've got a space-delimited .txt file, with three columns.

All I want to do is import the data as a three columned array, with as many rows as the text file... could you please point me in the right direction?! I'm using VB 2005...

Thanks!

don't worry... gottit! :)
Feb 21 '07 #2
Killer42
8,435 Recognized Expert Expert
don't worry... gottit! :)
Excellent! :D

Although most of us are here because we like to help, it's also good to see people successfully tackle their own problems.

I hope you'll stick around and see whether you can help with any other questions here.
Feb 22 '07 #3
963852741159753
8 New Member
i am doin the same sort of thing but i have 5 colums and am using * as the delimter any hints would be apreciated
Feb 27 '07 #4
vijaydiwakar
579 Contributor
If both of u r using vb2005 then why don't u use xml insted of txt files?
Feb 27 '07 #5
Killer42
8,435 Recognized Expert Expert
i am doin the same sort of thing but i have 5 colums and am using * as the delimter any hints would be apreciated
vijaydiwakar may well be right.

But also, I'd suggest you check out the Split() function.
Feb 27 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Michelle | last post by:
hi, i have created an array from recordset containing user names eg. (davidp, davidp, evenf, patricka, rebeccah) which i have sorted in alphabetical order, but i need to identify duplicates...
1
by: mark | last post by:
In Access 2000 and 2002, I have created an import specification to import the fixed-width recordset below into an existing table. I am having strange problems with the import of the date and time...
4
by: N. Graves | last post by:
Thanks for taking the time to read this note. I have a Access inventory collection tool that I have automated to build and Export to a CSV file. In the database I have several fields that are...
3
by: bradjensmith | last post by:
I am importing a pipe delimited text file into MS Access 2002. The text file contains | | aka |space| The resulting table when imported converts the space to a null value. Any suggestions on...
2
by: Jacob.Bruxer | last post by:
Hi everyone, I'm having trouble opening space delimited textfiles in Excel from Visual Basic.net. I'm able to control, open and modify Excel files from Visual Basic, so my Excel reference seems...
6
by: jao.sanien | last post by:
Hi all I was wondering if it was possible to some how import .DAT files into access form? I have over 500 DAT files which contains infomation about various components and I wouldn't want to...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
2
by: lwhite | last post by:
MS SQL 2000 sp4 on WinXp Pro SP2 I am very new to this so please let me know what I can do to make it easier for you to understand the problem. I have a non delimited text file. This text...
7
by: Pete | last post by:
I need to import multiple tab delimited files for which I do not have the formats. All files have column headers in the the line. The files must be dynamic. The only common value is that the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.