User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 429,966 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,602 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 667 | Replies: 2 | Solved
Reply
Join Date: Apr 2007
Posts: 45
Reputation: ReeciePoo is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ReeciePoo's Avatar
ReeciePoo ReeciePoo is offline Offline
Light Poster

Help Need help

  #1  
May 8th, 2007
I have a text file setup called client.txt
inside it has

Halusa Decorations|Streamers|455892|$3.50
Kellys Floral|Frangipani|270272|$2.00

-

Im using Listview in Report mode i was wondering how to grab each item e.g company|item|productid|cost into and put them into the Columnheaders
| Company Name | Product | Product ID | Price |
Halusa Decorat.. | Stream..| 455892.....| $3.50|

Using the Open, Write Functions

Any help would be great
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2007
Posts: 41
Reputation: vbCNEW is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
vbCNEW vbCNEW is offline Offline
Light Poster

Re: Need help

  #2  
May 8th, 2007
hey.. good afternoon..
i think you just need to read the textfile line per line then for you to get the line you want then use the SPLIT function in vb make the delimiter"|" so it will split the string into array of string..

i hope i help in any ways..
Reply With Quote  
Join Date: Apr 2007
Posts: 45
Reputation: ReeciePoo is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ReeciePoo's Avatar
ReeciePoo ReeciePoo is offline Offline
Light Poster

Solution Re: Need help

  #3  
May 8th, 2007
Originally Posted by vbCNEW View Post
hey.. good afternoon..
i think you just need to read the textfile line per line then for you to get the line you want then use the SPLIT function in vb make the delimiter"|" so it will split the string into array of string..

i hope i help in any ways..


Thank you, you solved my problem
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 11:44 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC