Im using:
OpenFileDialog1.Title = "Select your image"
OpenFileDialog1.InitialDirectory = "C:"
If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
PictureBox1.Image = New System.Drawing.Bitmap(OpenFileDialog1.FileName)
End If
for browsing an image but i want to create a filetype so i have to use OpenFileDialog1.Filter but it wont work.
I've used:
OpenFileDialog1.Filter = "Foto's (*.jpg,*.bmp,*.jpeg,*.png,*.wmf,*.gif)|*.jpg|*.bmp|*.jpeg|*.png|*.wmf|*.gif"
How can i make it work?