How to insert a background image to a webbrowser control?
-
Hi, i m building a html editor, all i want is how to insert a background image. I have done it by replacing the tag with but i wana somthing more professional... plz help me...
King
-
Hi, i m building a html editor, all i want is how to insert a background image. I have done it by replacing the tag with but i wana somthing more professional... plz help me...
King
in which control do u want to image ? r can u kindly explain in details ?;)
Happy Programming ----------------- Abhijit Jana Noida, India
-
in which control do u want to image ? r can u kindly explain in details ?;)
Happy Programming ----------------- Abhijit Jana Noida, India
Thx 4 ur reply. i m building a html editor in vb.net. 2 do so i m using webbrowser control. all i want, when user uses this software, he can insert a background image to document. i have done this like Dim openDlg As New OpenFileDialog openDlg.Filter = "BMP Image|*.bmp|GIF Image|*.gif|JPG Image|*.jpg" If openDlg.ShowDialog() = DialogResult.OK Then Dim Tempstr = openDlg.FileName Dim fileName As String = "" For Each ch As Char In Tempstr If ch = "\" Then ch = "/" End If fileName += ch Next Tempstr = "" webbrowser1.DocumentText = webbrowser1.DocumentText.Replace("King