C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » VB.NET Syntax »

Get the Current working Directory


Posted Date: 15 Nov 2008    Resource Type: Code Snippets    Category: VB.NET Syntax
Author: Abraham KuriakoseMember Level: Gold    
Rating: 1 out of 5Points: 2



By using the below code u will get the current working directory

Dim paths As String
paths = Directory.GetCurrentDirectory()



Responses

Author: srinivasa reddy tatikonda    09 Jan 2009Member Level: Silver   Points : 2
Imports System.IO

Module Module1

Sub Main()
Console.WriteLine("Current directory is {0}", Directory.GetCurrentDirectory())
Directory.SetCurrentDirectory("C:\")
Console.WriteLine("Current directory is {0}", Directory.GetCurrentDirectory())
End Sub

End Module

Best Regards
Srinivasa Reddy


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Get the Current working Directory  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Animated closing for windows form in VB.Net
Previous Resource: Open an image using open file dialog
Return to Discussion Resource Index
Post New Resource
Category: VB.NET Syntax


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use