here is the code for the "select image" button :
Dim OpenFileDialog1 As New OpenFileDialog OpenFileDialog1.ShowDialog() With OpenFileDialog1 For Each s As String In OpenFileDialog1.FileNames .CheckFileExists = True .ShowReadOnly = False .Filter = "All Files|*.*|Bitmap Files (*)|*.bmp;*.gif;*.jpg" .FilterIndex = 2 If .ShowDialog = DialogResult.OK Then Label13.Text = System.IO.Path.GetFullPath(s) End If Next End With
i use a hiden label to "show" the path. to the picturebox readīs the location from the label and the databas reads and writes the locatin to the label and the "openfiledialog" writes the location to the label. sp that simple. Anyone that can help me with th "copy file" part?
This post has been edited by EndLessMind: 23 August 2009 - 10:22 PM