Hi izekia,
What did you mean by “set normal link to visit on WebBrowser control?�Did you mean visit web pages using WebBrowser? If so, please check the following sample:
Code Snippet
NEWDGV
public partial class Form11 : Form
{
public Form11()
{
InitializeComponent();
}
private void Form11_Load(object sender, EventArgs e)
{
this.textBox1.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
this.textBox1.AutoCompleteSource = AutoCompleteSource.AllUrl;
this.textBox1.Text = "http://www.microsoft.com";
}
private void btnGo_Click(object sender, EventArgs e)
{
this.webBrowser1.Navigate(this.textBox1.Text);
}
}
To run the above sample, you need to place a TextBox, a Button and a WebBrowser on the Form.
Hope this helps. Best regards. Rong-Chun Zhang |