Hi,
How do you get the WebBrowser's Url in a Combobox? I've tried the Url member but it says "Value of type 'System.Windows.Forms.WebBrowser' cannot be converted to 'String'." I also tried the LocationURL member also but it was in VB6 and not VB.NET. Please help me. Thanks in advance

ComboBox1.Items.Add(WebBrowser1.Url.ToString)

Hi artemix22,
I wanted to have the combobox to have the text of the webbrowser's url and not to add it to the combobox.

try Combobox1.Text = webBrowser1.Url.ToString()

Wow!
Thank You vey much for your contribution artemix22 and tinsaafl.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.