Connecting Tech Pros Worldwide Help | Site Map

System.Windows.Forms.WebBrowser

Newbie
 
Join Date: Mar 2009
Posts: 1
#1: Mar 19 '09
I am trying to use
WebBrowser WebBrowser1 = new System.Windows.Forms.WebBrowser();

in a class library.

I have a vb.net code in an application and i need to change to c# class Library.

I have this method:

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEv entArgs) Handles WebBrowser1.DocumentCompleted

And i need to use also:
WebBrowser1.Url
WebBrowser1.Navigate

How do I do it in class library? will all options be available?
An example will help.
Thank you.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#2: Mar 19 '09

re: System.Windows.Forms.WebBrowser


You do it in the class library just the way you would in a forms application. What is the problem you are running into?
Reply