vb.net Code:
ofd.ShowDialog()
Dim bgimage As String = ofd.FileName.ToString()
Me.BackgroundImage = New System.Drawing.Bitmap(bgimage)
ofd = OpenFileDialog
You would want to also set the settings for the ofd such as title, filter, initial directory, ect.
As jmcilhinney said, you would simply create a setting in the project's properties and save that setting after the user selects the image or on form close.
vb.net Code:
My.Settings.setBGImage = bgimage
My.Settings.Save()
With that code the setting that I created is named setBGImage
This would be an example of a form load event:
vb.net Code:
If My.Settings.setBGImage = "" Then
'
Else
Me.BackgroundImage = New System.Drawing.Bitmap(My.Settings.setBGImage)
End If
Hope that helps!