Hi, if you are using open file dialog you could code this was as shown below: OpenFileDialog1.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) If (OpenFileDialog1.ShowDialog()) Then Dim strFilename As String strFilename = OpenFileDialog1.FileName End If
happy coding...;)
Balaji