|
-
June 28th, 2010, 04:37 AM
#1
Edit text in FileListBox
Hi all,
I have a FileListBox that shows the *.txt files and a user has in a directory. When a user highlights the file they want and clicks a Command button, user can edit that file and save it as newfile.txt
Here are the list of a text file :
:25:186350587
:28:153
:60F:C100602IDR879511164,
:61:1006020602DR313600,NTRF//
:20:201006170828154
:25:186350587
:28:154
:60F:C100603IDR462231690,
:61:1006030603CR918000000,NTRF//
:20:201006170828155
:25:186350587
:28:155
:60F:C100604IDR703646190,
:61:1006040604DR440000000,NTRF//
:86:TARIK TRF (RTGS) | N WILLY MANOBY | HLP/121339
:20:201006170828158
:25:186350587
:28:158
:60F:C100607IDR169830638,
:61:1006070607DR3920000,NTRF//
:20:201006170828159
:25:186350587
:28:159
:60F:C100608IDR34779678,
:61:1006080608CR925800000,NTRF//
:20:201006170828160
:25:186350587
:28:160
:60F:C100609IDR235564678,
:61:1006090609DR92826000,NTRF//
:20:201006170828161
:25:186350587
:28:161
:60F:C100610IDR637017878,
:61:1006100610DR3123288,NTRF//
:20:201006170828162
:25:186350587
:28:162
:60F:C100611IDR1378990932,
:61:1006110611DR42325828,NTRF//
:20:201006170828166
:25:186350587
:28:166
:60F:C100615IDR798699355,
:61:1006150615DR500000000,NTRF//
User want to insert all line that contain :25: with two zero, so it would be like :25:00
Can anyone help me with the code in Visual Basic?
Thanks
Andi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|