I have been able to extract the URL from a file and I would like to display a clickable link in the form.
I am not sure how to go about doing this. I started to try and build a string using html, but that does not render the HTML in the form.
The field that is populated is set to a hyperlink, but all that is rendered is the file location and it is not clickable.
Dim
Artwork As String
Artwork =
"<a href="""
Dim endArtwork As String
endArtwork =
""">ArtworkFile</a>"
If openFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
Dim uri As New Uri(openFileDialog1.FileName)
Dim theLocation As String
theLocation = uri.OriginalString
' Select URL field and set its value
myNav.SelectSingleNode(
"//my:test", Me.NamespaceManager). _
SetValue(theLocation)