RIAS
asked on
How to have open dialog with only vb.net sln files
Hi,
How to have a dialog box with only vb.net sln files as filter.
Cheers
How to have a dialog box with only vb.net sln files as filter.
Cheers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers mate
http://msdn.microsoft.com/en-us/library/system.windows.forms.filedialog.filter.aspx
Specificially you need:
Dim openFileDialog1 As New OpenFileDialog()
openFileDialog1.InitialDir
openFileDialog1.Filter = "Solution files (*.sln)|*.txt|All files (*.*)|*.*"
dim result as System.Windows.Forms.Dialo
result = openFileDialog1.ShowDialog