943,973 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 4704
  • VB.NET RSS
Mar 18th, 2006
0

How to Script Split for my txt file

Expand Post »
How to code this in a VB.NET Windows application is a first time for me. Below is an example of the incoming txt file. I've specified in it where to cut only for explanation, HOWEVER the txt incoming file will not have the --- to guide me....so I have to figure out how to tell it to cut after each Header/detail rows section as shown.

http://www.webfound.net/what_to_cut.txt

I have no idea how to script this, down to the syntax or anything right now. All I know is that I can use the classes in the IO namespace but need some big help understanding all of this for the first time and how I'd actually code the split.

Also, the output filenames (txt) must be int the format (portion of the HD row)_today'sdate.txt

so something like this each time it's split for the filename (position Substring(60,3) from the HD row) & Date .txt
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dba123 is offline Offline
2 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Timer Count Down and stop
Next Thread in VB.NET Forum Timeline: Compaq M300 Battery Problems





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC