Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleGet the program's current drive and directory
Keywordscurrent, drive, directory
CategoriesFiles and Directories
 
Use the CurDir function.
 
Private Sub Form_Load()
    lblCurDir.Caption = Mid$(CurDir, 3)
    lblCurDrive.Caption = Left$(CurDir, 1)
End Sub
 
Formatted by Neil Crosby
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated