Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


need help writing a VB script

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,64107
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> need help writing a VB script
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 need help writing a VB script - 9/7/2008 11:46:09 PM   
  santoshdvn

 

Posts: 1
Score: 0
Joined: 9/7/2008
Status: offline
Original message moved by dm_4ever
Reason : Moving to appropriate forum
I have a text file with lot of line ...

in that i have to search a for a given word and find that line number from that i have to read the lines from that point .
please help me in this regard.
or any refrences
 
 
Post #: 1
 
 RE: need help writing a VB script - 9/8/2008 5:43:28 AM   
  chiltz

 

Posts: 76
Score: 0
Joined: 6/13/2007
Status: offline
Do you have a script yet?  If so...post and advise what is not working.  If no script...you will want to do research on the below:

- opening a text file for reading purpose
- using the "Instr" function
- using the ".line" function of an object
- opening a text file for writing purpose and for appending purpose
- writing text to a file

< Message edited by chiltz -- 9/8/2008 5:44:47 AM >

(in reply to santoshdvn)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> need help writing a VB script Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts