|
-
July 16th, 2001, 04:21 AM
#1
File Manipulation
Hi
I'm reading a file sequentially and I want to display a ProgressBar while I do some calculations. For a Progress bar to work, I need to have a known Maximum value. Now while reading the file, what can I use as the Max value for the Progressbar if I don't know how many records there are in my file?
Thanks
-
July 16th, 2001, 04:29 AM
#2
Re: File Manipulation
FileLen will return the size of file in bytes. to get the no. of record, just divide the file size by record size. to get record size, you can use Len.
HTH
cksiow
http://vblib.virtualave.net - share our codes
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
|