Is there a way to unload/remove and existing URL from a HTML Viewer control?
I use Viewer.LoadURL(“someURL”) but then on a listbox change event I want to remove that URL and have an empty HTMLViewer control.
Any help appreciated as always.
Is there a way to unload/remove and existing URL from a HTML Viewer control?
I use Viewer.LoadURL(“someURL”) but then on a listbox change event I want to remove that URL and have an empty HTMLViewer control.
Any help appreciated as always.
What happens if you use Viewer.LoadURL("") ?
If this doesn’t work, try loading about:blank as well.
Thanks Alberto and Tim. “about:blank” did the trick.