Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 9th, 2006, 02:48 PM
Authorized User
 
Join Date: Jul 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default File doubt

Hi there, my problem is this i'm reading a .txt file with a lot of registers, after i'm done what i want to do is to be again at the very first line of this file.

Any suggestions?

 
Old November 9th, 2006, 05:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

depends on which way you are reading the file. For example, if you are using the standard VB statements you can use the Seek statement, i.e.:

Seek myFileNumber, 0





Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt hamnapalakkal Crystal Reports 0 February 4th, 2008 12:27 AM
doubt somavenki .NET Framework 2.0 2 February 3rd, 2008 11:29 AM
doubt sampathk Visual Basic 2005 Basics 1 November 28th, 2006 02:45 PM
doubt! kk_katepally ASP.NET 1.0 and 1.1 Basics 1 February 7th, 2006 01:58 PM
doubt naveen J2EE 1 April 6th, 2004 07:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.