HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  

Share | 
 

 webBrowser control in C#

Go down 
AuthorMessage
Abhilash

avatar

Number of posts : 228
Age : 34
Registration date : 2007-03-05

PostSubject: webBrowser control in C#   Tue Mar 06, 2007 1:20 pm

Creating a Web Browser in C#


First creat a project named Web Browser. Change text of form1 to Browser, then go to the toolbox and insert WebBrowser then on the properties menu dock the webbrowser on bottom so that its not full form and pull it up so that a textbox can fit on the top. On the left top put a textbox(that will be where u put the page).then add a button with the text go double click that button and put this code

WebBrowser1.Navigate(TextBox1.Text);

Now u have the go button done. know to the right of that button add a button with text Back double click and add this code

webbrowser1.goback();

know u go back.then add another button with text forward double click and add this code

webbrowser1.goforward();

now u can go forward. then add a button with the text stop double click and add this code

webbrowser1.stop();

now u can stop add another button with text refresh double click and add this code

webbrowser1.refresh();

This is all about a smiple Web Browser. cheers
Back to top Go down
View user profile
 
webBrowser control in C#
Back to top 
Page 1 of 1
 Similar topics
-
» Selenium Remote Control misbehaves
» How to disable Remote Control page popping up?
» To pick current date from calender control in selenium ide.
» Flow Control in RC
» Birth Control for Cyst on Ovary...maybe it will help the M too!

Permissions in this forum:You cannot reply to topics in this forum
 :: Programming Languages :: C#-
Jump to: