PDA

Click to See Complete Forum and Search --> : Directory name display


venkatraman_r
Jan 17th, 2000, 12:22 PM
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 :)

------------------
venkatraman_r@hotmail.com
ICQ: 45714766
http://venkat.iscool.net

MicahCarrick
Jan 17th, 2000, 01:37 PM
Whatever directory you're currently scanning ... in your loop or however you're doing it, put something like this:

Label1.Caption = aVariableHoldingCurrentDirectory
Label1.Refresh

ivyl
Jan 17th, 2000, 05:22 PM
If you're using chdir to change the current directory you can use the following code:

Label1.Caption = CurDir$

venkatraman_r
Jan 18th, 2000, 12:16 PM
THANX GUYS..IT WORKED PERFECTLY.. :)

------------------
Regards,

Venkat
venkatraman_r@hotmail.com
ICQ: 45714766
http://venkat.iscool.net