|
-
Nov 25th, 2001, 01:11 AM
#1
Thread Starter
Addicted Member
Text File Make Me .....
I have to import data from text file to the database.It take a much time to do it complete.I want to make something to interact with user to make user feel the computer does not hang.I try to use Progess Bar to solve this problem.I try to use No.of current position in text file devide by size of the file but I cannot find no.of current position.May anyone help me to solve this problem?
Thank You,
Pramoch Keawkarsem
-
Nov 25th, 2001, 01:26 AM
#2
Frenzied Member
set the Min of the progressbar to 0 and the max to 100. Then keep making the value equal to the (current position / total size) * 100. That should work.
You just proved that sig advertisements work.
-
Nov 25th, 2001, 01:46 AM
#3
Thread Starter
Addicted Member
But I cannot find the current position that the cursor pointed.
-
Nov 25th, 2001, 02:02 AM
#4
New Member
Hi. Mr.Pramoch
sorry, I can't help you :P
guess me?
-
Nov 25th, 2001, 02:09 AM
#5
Frenzied Member
What do you mean? The cursor as in mouse? of the current read/write position within the file?
To find the read-write position, use the Loc function.
You just proved that sig advertisements work.
-
Nov 25th, 2001, 02:22 AM
#6
Thread Starter
Addicted Member
-
Nov 25th, 2001, 01:17 PM
#7
Frenzied Member
VB Code:
MsgBox "Current read/write position: " & Loc(1) 'This will return the current read/write position file #1
You just proved that sig advertisements work.
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
|