I have the following that allows the user to select an image from just about anywhere. I would like to limit the selection to be from only one particular directory on a network. How can this be done? Here is the current code:
Dim ofdBox As New OpenFileDialog
If ofdBox.ShowDialog() = DialogResult.OK Then
t1.Text = ofdBox.FileName
PictureBox1.ImageLocation = t1.Text
MsgBox("User Has Canceled", MsgBoxStyle.Information, Application.ProductName)
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.