|
-
Jan 17th, 2000, 01:22 PM
#1
Thread Starter
Hyperactive Member
Hi all Good Morning,
You might have seen the antivirus package that displays the current directory name in a label or text box, when it scans for the whole drive. Similarly, I have a program that searches for Access Database files in local hard drive. I need to put a label box and I want to display the current directory being searched. Hope I am clear..
Can anyone give me some suggestions with it..
Regards,
Venkat 
------------------
[email protected]
ICQ: 45714766
http://venkat.iscool.net
-
Jan 17th, 2000, 02:37 PM
#2
Addicted Member
Whatever directory you're currently scanning ... in your loop or however you're doing it, put something like this:
Label1.Caption = aVariableHoldingCurrentDirectory
Label1.Refresh
-
Jan 17th, 2000, 06:22 PM
#3
Junior Member
If you're using chdir to change the current directory you can use the following code:
Label1.Caption = CurDir$
-
Jan 18th, 2000, 01:16 PM
#4
Thread Starter
Hyperactive Member
THANX GUYS..IT WORKED PERFECTLY.. 
------------------
Regards,
Venkat
[email protected]
ICQ: 45714766
http://venkat.iscool.net
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
|