uri - How to Set the URL property of a Web Browser control to a String -
I'm using a Web browser control in C # and I want to be able to plug in to another URL How can I set the URL property for the string in the code that has happened in the program? Can I convert a string to System.Uri Type?
string links; String Searchable = "The + Italian + Job"; Link = "http://www.imdb.com/find?s=all&q=" + search icon + "& x = 0y = 0"; WbBrowser.Url = link; Something will be ideal for that effect, where I can change 'search' in some other program and still have to run it properly. Unfortunately, the URL Property type System.Uri , and the code only a System.String .
WbBrowser.Url type so you
WbBrowser.Url = New URI (link);
Comments
Post a Comment