473,587 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Greetings

Hello

How do we sort out a tab delimited file into an array ?

Say a user opies the contents of the tab delimited file into memory
(clipboard)

I want my app to put it into an array and carry out some operation.

Is there any code sample I could look at ?

Thanks
Nov 17 '05 #1
2 1129
You could do this operation yourself, looking for commas in the string
while you parse through it. However, I think you should probably use the
text driver for OleDb, using the classes in the System.Data.Ole Db namespace
to access the data.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"news.microsoft .com" <v-*****@microsoft .com> wrote in message
news:OR******** ******@tk2msftn gp13.phx.gbl...
Hello

How do we sort out a tab delimited file into an array ?

Say a user opies the contents of the tab delimited file into memory
(clipboard)

I want my app to put it into an array and carry out some operation.

Is there any code sample I could look at ?

Thanks

Nov 17 '05 #2
Hey Thanks Nicholas

Is there any code snippet I could look at which would show me how to do it?

Thanks

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:OH******** ******@TK2MSFTN GP10.phx.gbl...
You could do this operation yourself, looking for commas in the string
while you parse through it. However, I think you should probably use the
text driver for OleDb, using the classes in the System.Data.Ole Db
namespace to access the data.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"news.microsoft .com" <v-*****@microsoft .com> wrote in message
news:OR******** ******@tk2msftn gp13.phx.gbl...
Hello

How do we sort out a tab delimited file into an array ?

Say a user opies the contents of the tab delimited file into memory
(clipboard)

I want my app to put it into an array and carry out some operation.

Is there any code sample I could look at ?

Thanks


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
5555
by: John | last post by:
Hello. I am currently working through a book on Dreamweaver and using PHP. I am having a little trouble with setting up the database though. I have php 4.2.3 and MySQL 4.0.20a. I am running locally with Apache 1.3.27 on Windows XP Pro. I seem to have finally got MySQL running after a lot of difficulty. In the book it says to type...
0
1607
by: Robert Kaplan | last post by:
Hi, I'm new to the group, so greetings all! I'm working on an application try to respond to events in Microsoft Access using Python and win32com. However, I'm having trouble in setting up the event handlers. I can think of 2 approaches both of which yield win32com errors. First is the approach used the MSOfficeEvents.py test program....
0
223
by: Marcelo | last post by:
I'm developing a multiple forms application in Microsoft Visual Studio C++ .NET 2003. I have a problems with graphics: I draw my diagrams in a pictureBox using its paint event and using the Invalidate() function to call it. It works very well. What I need now is drawing (for example) a rectangle over this image (the diagrams) and afterwards...
4
940
by: James Messick | last post by:
Hello, I'd like to introduce myself and make sure I'm in the best forum. I'm currently studying VB .NET to prepare for the 70-306 certification exam. I am definitely not new to programming, not completely new to VB, but pretty new to .NET. Is this group the best place to ask questions when I'm stuck as to how to proceed on programming...
0
7923
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
7852
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
8216
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
8349
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...
0
6629
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5719
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1192
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.