I have a page that is displayed by the browser control.
The page's code is:
<a href="
The form (in the application) has also a button:
What it does when clicking is to replace "hp" with the "<b>hp</b>". When the command in red is executed I'll see in the browser the "hp" in bold mode.
The problem is that there will be a replacament at the link: " <a href=" ", and the link becomes: " <a href=" "
Of course as i click it, "Page not found" will be displayed in the browser.
=========
Is there any way to do the replacements everywhere APART FROM the links?
Hope u understand me.
Tnx
The page's code is:
<a href="
The form (in the application) has also a button:
Code:
Dim abc As String = WebBrowser1.DocumentText 'store in abc the source code
abc = abc.Replace("hp", "<b>hp</b>") 'replacement
[COLOR=red]WebBrowser1.DocumentText = abc[/color]
What it does when clicking is to replace "hp" with the "<b>hp</b>". When the command in red is executed I'll see in the browser the "hp" in bold mode.
The problem is that there will be a replacament at the link: " <a href=" ", and the link becomes: " <a href=" "
Of course as i click it, "Page not found" will be displayed in the browser.
=========
Is there any way to do the replacements everywhere APART FROM the links?
Hope u understand me.
Tnx