CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Location
    LA, USA
    Posts
    23

    How to get the current directory and current drive in VB6.0

    I just want to know how and which function to use to get the current directory and current drive in VB6.0


  2. #2
    Guest

    Re: How to get the current directory and current drive in VB6.0

    Use CurDir function in VB baby.



  3. #3
    Join Date
    Jul 1999
    Location
    USA
    Posts
    101

    Re: How to get the current directory and current drive in VB6.0

    set a label and write the following code in form_load



    label1.caption=App.path & "\" & App.ExeName





    Hope it helps

    Srikanth


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

Featured