Results 1 to 4 of 4

Thread: Directory name display

  1. #1

    Thread Starter
    Hyperactive Member venkatraman_r's Avatar
    Join Date
    Jul 1999
    Location
    Chennai, INDIA
    Posts
    284

    Post

    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

  2. #2
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207

    Post

    Whatever directory you're currently scanning ... in your loop or however you're doing it, put something like this:

    Label1.Caption = aVariableHoldingCurrentDirectory
    Label1.Refresh

  3. #3
    Junior Member
    Join Date
    Jan 2000
    Posts
    21

    Post

    If you're using chdir to change the current directory you can use the following code:

    Label1.Caption = CurDir$

  4. #4

    Thread Starter
    Hyperactive Member venkatraman_r's Avatar
    Join Date
    Jul 1999
    Location
    Chennai, INDIA
    Posts
    284

    Post

    THANX GUYS..IT WORKED PERFECTLY..

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

    Venkat
    venkatraman_r@hotmail.com
    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
  •  



Click Here to Expand Forum to Full Width