Blue Theme Orange Theme Green Theme Red Theme
 
DevExpress Free UI Controls
Home | Forums | Videos | Advertise | Certifications | Downloads | Blogs | Interviews | Jobs | Beginners | Training
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
Team Foundation Server Hosting
Search :       Advanced Search »
Home » Windows Controls C# » Web Browser in C#

Web Browser in C#

The attached project is a Web Browser application created in C# 2.0.

Page Views : 51693
Downloads : 2234
Rating :
 Rate it
Level : Intermediate
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
Download Files:
wBrowse.zip
 
 
Team Foundation Server Hosting
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 


Attached project is a Web Browser application developed using C# 2.0. Download and check it out. Feel free to contact me or post comments about this project.

I have used Windows Forms to develop this application. The Browser control is used to display Web pages and class is WebBrowser.

If you look at the intial code, I create a WebBrowser object and sets its DocumentTitleChanged, StatusTextChanged, and Navigateed events. After that, I call GoHome method.

Rest of the code is written in respective event handlers.

 

public frmmain()
        {
            InitializeComponent();
            pnlsearch.Hide();
            tabControl1.TabPages.Clear();
            Create_New_Tab();
            WebBrowser webpage = GetCurrentWebBrowser();
            webpage.DocumentTitleChanged += new EventHandler(webpage_DocumentTitleChanged);
            webpage.StatusTextChanged += new EventHandler(webpage_StatusTextChanged);
            webpage.Navigated += new WebBrowserNavigatedEventHandler(webpage_Navigated);
            webpage.GoHome();
            toolStripButton2.Visible = false;
        }

Here is the complete code listing.

Form Code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.Web;
using System.Xml.XPath;
using System.Collections;
using System.Diagnostics;
using System.Drawing.Printing;

namespace wBrowse
{
    public partial class frmmain : Form
    {

//To keep track of or keep count tabs in browser and add new tabs
        ArrayList tabpages = new ArrayList();

//to keep count or keep add new wepages
        ArrayList webpages = new ArrayList();
        //Too keep Current Tab
        int current_tab_count = 0;
        //To Moving of Image
        int image_animation = 0;
        bool FullScreen = false;
        int CommandPanelHeight = 0;
        public frmmain()
        {
            InitializeComponent();
            pnlsearch.Hide();
            tabControl1.TabPages.Clear();
            Create_New_Tab();
            WebBrowser webpage = GetCurrentWebBrowser();
            webpage.DocumentTitleChanged += new EventHandler(webpage_DocumentTitleChanged);
            webpage.StatusTextChanged += new EventHandler(webpage_StatusTextChanged);
            webpage.Navigated += new WebBrowserNavigatedEventHandler(webpage_Navigated);
            webpage.GoHome();
            toolStripButton2.Visible = false;
        }
        private void webpage_DocumentTitleChanged(object sender, EventArgs e)
        {
            WebBrowser webtitle = GetCurrentWebBrowser();
                this.Text = webtitle.DocumentTitle + "-wBrowser";
        }
        private void btnhome_Click(object sender, EventArgs e)
        {
            WebBrowser thiswebpage = GetCurrentWebBrowser();
            if (thiswebpage.CanGoForward)
                thiswebpage.GoForward();
        }
        private void btngo_Click(object sender, EventArgs e)
        {
            string url = ComboAddress.Text;
            if (url == "")
                return;
            WebBrowser thispage = GetCurrentWebBrowser();
            thispage.Navigate(url);
            timer1.Enabled = true;
            lblpageinfo.Text = thispage.StatusText.ToString();
            ComboAddress.Items.Add(url);
        }
        private void btnaddnewtb_Click(object sender, EventArgs e)
        {
            Create_New_Tab();
            WebBrowser thiwebpage = GetCurrentWebBrowser();
            if (this.ComboAddress.Text == "")
                thiwebpage.GoHome();
            else
                thiwebpage.Navigate(ComboAddress.Text);
        }
        private void btndeltab_Click(object sender, EventArgs e)
        {
            if (current_tab_count < 2) return;

            TabPage current_tab = tabControl1.SelectedTab;
            WebBrowser thiswebpage = (WebBrowser)webpages[tabpages.IndexOf(current_tab)];
            thiswebpage.Dispose();
            tabpages.Remove(current_tab);
            current_tab.Dispose();
            tabControl1.TabPages.Remove(current_tab);
            current_tab_count--;
        }
        private void btnback_Click(object sender, EventArgs e)
        {
            WebBrowser thispage = GetCurrentWebBrowser();
            if (thispage.CanGoBack)
                thispage.GoBack();
        }
        private void btnHome_Click_1(object sender, EventArgs e)
        {
            WebBrowser thiswebpage = GetCurrentWebBrowser();
            thiswebpage.GoHome();
            timer1.Enabled = true;
        }
        private void btnrefresh_Click(object sender, EventArgs e)
        {
            WebBrowser thiswebpage = GetCurrentWebBrowser();
            thiswebpage.Refresh();
            timer1.Enabled = true;
        }
        private void btnStop_Click(object sender, EventArgs e)
        {
            WebBrowser thiswebpage = GetCurrentWebBrowser();
            thiswebpage.Stop();
        }
        private void btnsearch_Click(object sender, EventArgs e)
        {
            WebBrowser thisweb = GetCurrentWebBrowser();
            thisweb.Url = new Uri("http://search.msn.com/results.aspx?FORM=SMCRT&q=" + txtsearch.Text);
            timer1.Enabled = true;
        }
        private void txtsearch_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                btnsearch.PerformClick();
        }
        private void ComboAddress_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                btngo.PerformClick();
        }
        private void ComboAddress_SelectedIndexChanged(object sender, EventArgs e)
        {
            btngo.PerformClick();
        }

//function to add new tab in web browser
        private void Create_New_Tab()
        {
            if (current_tab_count == 10) return;

//text tht will appear on first time opening of aplication
            TabPage newpage = new TabPage("Loading...");
            tabpages.Add(newpage);
            tabControl1.TabPages.Add(newpage);
            current_tab_count++;
            WebBrowser webpage = new WebBrowser();
            webpages.Add(webpage);
            webpage.Parent = newpage;
            webpage.Dock = DockStyle.Fill;

//event to keep check of webpage loaded completly or not
            webpage.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(webpage_DocumentCompleted);
            timer1.Enabled = true;
            tabControl1.SelectedTab = newpage;
        }

//to get value or got focus on current tab in browser
        private WebBrowser GetCurrentWebBrowser()
        {
            TabPage current_tab = tabControl1.SelectedTab;
            WebBrowser thispasge = (WebBrowser)webpages[tabpages.IndexOf(current_tab)];
            return thispasge;
        }

//update name of tabpages while adding new tabs
        private void UpdateName(TabPage tb)
        {
            TabPage current_tab = tb;
            WebBrowser thiswebpage = (WebBrowser)webpages[tabpages.IndexOf(current_tab)];

            if (thiswebpage.Document != null)
                current_tab.Text = thiswebpage.Document.Title;
            else
                current_tab.Text = "Loading...";
        }

//to update all tab pages accordinlgy opend sites
        private void UpdateAllNames()
        {
            foreach (TabPage tb in tabControl1.TabPages)
            {
                UpdateName(tb);
            }
        }
        void webpage_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            UpdateAllNames();
            UpdateBackForwardButtons();
            timer1.Enabled = false;
            pictureBox_busy.Image = wBrowse.Properties.Resources._4;
        }

//function to perform back and forward operation in web browser
        private void UpdateBackForwardButtons()
        {
            WebBrowser thiswebpage = GetCurrentWebBrowser();

            if (thiswebpage.CanGoBack) btnback.Enabled = true;
            else btnback.Enabled = false;

            if (thiswebpage.CanGoForward) btnforward.Enabled = true;
            else btnforward.Enabled = false;

            if (current_tab_count > 1) btndeltab.Enabled = true;
            else btndeltab.Enabled = false;
        }
        private void tabControl1_Selected(object sender, TabControlEventArgs e)
        {
            UpdateBackForwardButtons();
        }
        private void aboutUsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmabout about = new frmabout();
            about.Show();
        }
        private void newTabToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Create_New_Tab();
            WebBrowser thiwebpage = GetCurrentWebBrowser();
            if (this.ComboAddress.Text == "")
                thiwebpage.GoHome();
            else
                thiwebpage.Navigate(ComboAddress.Text);
        }
        private void savePageAsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser websave = GetCurrentWebBrowser();
            websave.ShowSaveAsDialog();
        }
        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            WebBrowser webprop = GetCurrentWebBrowser();
            webprop.ShowPropertiesDialog();
        }
        private void pageSetupToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser webp_setup = GetCurrentWebBrowser();
            webp_setup.ShowPageSetupDialog();
        }
        private void printPreviewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser web_p_preview = GetCurrentWebBrowser();
            web_p_preview.ShowPrintPreviewDialog();
        }
        private void printToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser web_print = GetCurrentWebBrowser();
            web_print.ShowPrintDialog();
        }
        private void closeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (current_tab_count < 2) return;

            TabPage current_tab = tabControl1.SelectedTab;
            WebBrowser thiswebpage = (WebBrowser)webpages[tabpages.IndexOf(current_tab)];
            thiswebpage.Dispose();
            tabpages.Remove(current_tab);
            current_tab.Dispose();
            tabControl1.TabPages.Remove(current_tab);
            current_tab_count--;
        }
        private void openFileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser web_open = GetCurrentWebBrowser();
            OpenFileDialog ofd = new OpenFileDialog();
            ofd.Title = "wBrowser Open file...";
            ofd.AddExtension = true;
            ofd.Filter = "All Files|*.*|HTML Files|*.htm;*.html|Text Files|" +
              "*.txt|GIF Files|*.gif|JPEG Files|*.jpg;*.jpeg|" +
              "PNG Files|*.png|ART Files|*.art|AU Files|*.au|" +
              "AIFF Files|*.aiff;*.aif|XBM Files|*.xbm";
            ofd.FilterIndex = 1;
            ofd.RestoreDirectory = true;
            if (ofd.ShowDialog() == DialogResult.OK)
            {
                web_open.Navigate(ofd.FileName);
                ComboAddress.Text = ofd.FileName;
            }
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            image_animation++;
            if (image_animation > 5) image_animation = 0;
            switch (image_animation)
            {
                case 0: pictureBox_busy.Image = wBrowse.Properties.Resources._1; break;
                case 1: pictureBox_busy.Image = wBrowse.Properties.Resources._2; break;
                case 2: pictureBox_busy.Image = wBrowse.Properties.Resources._3; break;
                case 3: pictureBox_busy.Image = wBrowse.Properties.Resources._4; break;
                case 4: pictureBox_busy.Image = wBrowse.Properties.Resources._5; break;
                case 5: pictureBox_busy.Image = wBrowse.Properties.Resources._6; break;
            }
        }
        private void printToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            WebBrowser toolprint = GetCurrentWebBrowser();
            toolprint.ShowPrintDialog();
        }
        private void printPreviewToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            WebBrowser toolpreview = GetCurrentWebBrowser();
            toolpreview.ShowPrintPreviewDialog();
        }
        private void pageSetupToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            WebBrowser toolsetup = GetCurrentWebBrowser();
            toolsetup.ShowPageSetupDialog();
        }
        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
        private void frmmain_FormClosing(object sender, FormClosingEventArgs e)
        {
            string machinename = "";
            machinename = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
            Application.Exit();
            MessageBox.Show("Thanks " + machinename + " to using wBrowser.\nYour feedback is important for me so keep in touch with me.\nMailID:kapilsoni88@gmail.com", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
        private void contactUsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser contact = GetCurrentWebBrowser();
            contact.Navigate("C:/Documents and Settings/Admin/Desktop/wBrowse/wBrowse/index.html");
            timer1.Enabled = true;
        }
        private void btnorkut_Click(object sender, EventArgs e)
        {
            WebBrowser orkt = GetCurrentWebBrowser();
            orkt.Navigate("http://www.orkut.com");
            timer1.Enabled = true;
        }
        private void btngmail_Click(object sender, EventArgs e)
        {
            WebBrowser gmail = GetCurrentWebBrowser();
            gmail.Navigate("http://www.gmail.com");
            timer1.Enabled = true;
        }
        private void btngoogle_Click(object sender, EventArgs e)
        {
            WebBrowser google = GetCurrentWebBrowser();
            google.Navigate("http://www.google.com");
            timer1.Enabled = true;
        }
        private void btnmsn_Click(object sender, EventArgs e)
        {
            WebBrowser msn = GetCurrentWebBrowser();
            msn.Navigate("http://www.msn.com");
            timer1.Enabled = true;
        }
        private void btnyahoo_Click(object sender, EventArgs e)
        {
            WebBrowser yahoo = GetCurrentWebBrowser();
            yahoo.Navigate("http://www.yahoo.com");
            timer1.Enabled = true;
        }
        private void fullScreenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FullScreen = !FullScreen;
            if (FullScreen)
            {
                if (this.WindowState == FormWindowState.Maximized)
                {
                    this.WindowState = FormWindowState.Normal;
                }
                this.FormBorderStyle = FormBorderStyle.None;
                this.WindowState = FormWindowState.Maximized;
                menuStrip1.Visible = false;
                statusStrip1.Visible = false;
                statusStrip1.Height = 1;
                toolStripButton2.Visible = true;
            }
            else
            {
                this.FormBorderStyle = FormBorderStyle.Sizable;
                this.WindowState = FormWindowState.Maximized;
                menuStrip1.Visible = true;
                statusStrip1.Visible = true;
                toolStripButton2.Visible = false;
                statusStrip1.Height = CommandPanelHeight;
            }
        }
        private void windowsMessangerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Process proc = new Process();
            proc.StartInfo.FileName = "msnmsgr.exe";
            proc.Start();
        }
        private void gtalkMessangerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Process p = new Process();
            try
            {
                p.StartInfo.FileName = "C:/Program Files/Google/Google Talk/googletalk.exe";
                p.Start();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Not able to locate file:\n " + ex.Message);
            }
        }
        private void yahooToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Process prc = new Process();
            try
            {
                prc.StartInfo.FileName = "C:/Program Files/Yahoo!/Messenger/YahooMessenger.exe";
                prc.Start();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Not able to locate file: " + ex.Message);
            }
        }
        private void copyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser webcopy = GetCurrentWebBrowser();
            webcopy.Document.ExecCommand("Copy", false, null);
            timer1.Enabled = true;
            pasteToolStripMenuItem.Enabled = true;
        }
        private void pasteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser webpaste = GetCurrentWebBrowser();
            webpaste.Document.ExecCommand("Paste", false, null);
            timer1.Enabled = true;
        }
        private void cutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser webct = GetCurrentWebBrowser();
            webct.Document.ExecCommand("Cut", false, null);
            timer1.Enabled = true;
        }
        private void frmmain_Load(object sender, EventArgs e)
        {
            pasteToolStripMenuItem.Enabled = false;
        }
        private void selectAllToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebBrowser selall = GetCurrentWebBrowser();
            selall.Document.ExecCommand("SelectAll", false, null);
            timer1.Enabled = true;
        }
        private void webpage_StatusTextChanged(object sender, EventArgs e)
        {
            WebBrowser webstatus = GetCurrentWebBrowser();
            lblpageinfo.Text = webstatus.StatusText;
            //timer1.Enabled = true;
        }
        private void webpage_Navigated(object sender, WebBrowserNavigatedEventArgs e)
        {
            WebBrowser webnavi = GetCurrentWebBrowser();
            ComboAddress.Text = webnavi.Url.ToString();
            //timer1.Enabled=true;
        }
        private void largestToolStripMenuItem_Click(object sender, EventArgs e)
        { }
        private void findToolStripMenuItem_Click(object sender, EventArgs e)
        {
            pnlsearch.Show();
            btnclose.Focus();
        }
        private void btnfind_Click(object sender, EventArgs e)
        {
        }
        private void btnclose_Click(object sender, EventArgs e)
        {
            pnlsearch.Hide();
        }
        private void btnclose_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Escape)
                pnlsearch.Hide();
        }
        private void textBox1_KeyUp(object sender, KeyEventArgs e)
        {
            btnclose_KeyUp(this, e);
            if (e.KeyCode == Keys.Enter)
                btnfind.PerformClick();
        }
        private void btnfind_KeyUp(object sender, KeyEventArgs e)
        {
            btnclose_KeyUp(this, e);
        }
        private void btnfindnext_KeyUp(object sender, KeyEventArgs e)
        {
            btnclose_KeyUp(this, e);
        }
        private void chkmatch_KeyUp(object sender, KeyEventArgs e)
        {
            btnclose_KeyUp(this, e);
        }

        private void zoomOuToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void clearAddressBarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ComboAddress.Items.Clear();
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            FullScreen = !FullScreen;
            if (FullScreen)
            {
                if (this.WindowState == FormWindowState.Maximized)
                {
                    this.WindowState = FormWindowState.Normal;
                }
                this.FormBorderStyle = FormBorderStyle.None;
                this.WindowState = FormWindowState.Maximized;
                menuStrip1.Visible = false;
                statusStrip1.Visible = false;
                statusStrip1.Height = 1;
                toolStripButton2.Visible = true;
            }
            else
            {
                this.FormBorderStyle = FormBorderStyle.Sizable;
                this.WindowState = FormWindowState.Maximized;
                menuStrip1.Visible = true;
                statusStrip1.Visible = true;
                toolStripButton2.Visible = false;
                statusStrip1.Height = CommandPanelHeight;
            }
        }

        private void pageSourceToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }

        private void workOfflineToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }

        private void tabPage1_Click(object sender, EventArgs e)
        {

        }

        private void zoomInToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }
    
    }
}

Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 [Top] Rate this article
 
 About the author
 
Kapil Soni
I am Working with Manpower Inc. and my profile is Software Developer(.Net) at Manpower Inc.
MCAD(Microsoft Cetified Application Developer) and MCTS(Microsoft Certified Technology Specialist)in SQL Server 2005
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Discover the Top 5 .NET Memory Management Fundamentals
To write the best .NET code, you need to know exactly how the .NET framework really manages memory. Ricky Leeks presents the Top 5 fundamental facts of .NET memory management. Learn more.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
Discover the top 5 tips for understanding .NET Interop
Become a Sponsor
 Comments
Good work by Jai On April 17, 2009
Good work
Reply | Email | Modify 
Re: Good work by Kapil On April 17, 2009

Thanks a lot jai i will post more with ur blessing good project/application.

 

Reply | Email | Modify 
Re: Re: Good work by Prabu On October 7, 2011
Good great thing.................. thanq
Reply | Email | Modify 
Information by Manga On May 16, 2009
Hi!
I'm Richard.
I'd like to know if this browser can also be used as a browser inside a browser.I mean that the web page should provide us with navigation control and url managements.Note that each link to external resource can be captured and transformed to point to the new implement proxy page.Es(Google translate)
Reply | Email | Modify 
Re: Information by Kapil On May 17, 2009

Hi Richard,

i receive your comment on web browser so actullly i am little bit confuse about that so please telll me what you want to do or what you want ok then i will surely helps you

 

bye and take care

Reply | Email | Modify 
info about what I want to do. by Manga On May 17, 2009
HTTP CLIENT WEBAPP:

                                   The WEB APPLICATION must be a "browser inside a browser".I mean that the web page should provide us with navigation controls and URL managements.Note that each link to external resources must be captured and transformed to point to the new implement proxy page.(Example: Google Translate).

I want to do this WEB APPLICATION using Visual studio 2008 and the language I want to use is C#.
Thank you for your answer.
Reply | Email | Modify 
Couldn't download wBrowse.zip by samuel On June 1, 2009
Sorry couldn't download wBrowse.zip
Reply | Email | Modify 
Re: Couldn't download wBrowse.zip by Kapil On June 1, 2009
Hi,
i received your mesasge regarding that u r nt able to download bt i checked tht its working fine bt u have to login then check it again bcoz i right now chked tht its working excellent and downloding as well runing ok
and if face any problem then please contact again ok bt tht problem has been solved

byea nd tc
Reply | Email | Modify 
Alternative by saeed On November 18, 2009

Hi

I was wondering if you could propose an alternative control to a WebBrowser control that seems to be an Active X control.

In the industry that I am working Active X is not allowed .
Considered Unsecure .

I have aused this control to my HTML file and inoke its Print() method to direct it to a printer which was just what I needed.

The hard way to replace this is to call IE process load the file. then file /print ... etc which involves a few more clicks and I am trying not to have that for the user..

Any suggestion that would give me a similar thing to a WebBroswer woudl be appreciated.

Reply | Email | Modify 
hi by Adam On December 24, 2009
Its cool yaar.. I like it.. Nice stuff
Reply | Email | Modify 
Fun by amir On February 21, 2010
hi
what ?
not.
but.
hot.
shut.
cut.
dot
Reply | Email | Modify 
Hi Kapil by Mahadev On February 23, 2010
Hi Kapil,

I have a query, can we close the tabs by clicking on "X" mark of the selected tab?
Ex: how IE7 and 8 will work, instead of keeping seperate button to close the selected tab.

Regards,
Mahadev M
Reply | Email | Modify 
Veri nice work by Olivier On July 25, 2010
Hello Kapil or Soni ?

This is a very nice work
I was just trying to see what can be done with the classes HttpWebRequest, WebClient and now WebBrowser

My purpose is mainly try to automaticaly browse some WebSite to compare information

I had some difficulties with httpWebRequest on some dite and I see now that WebBrowser with your application can at least display the information that I can't get directly from httpwebrequest

I will now try to understand why and if I can use WebBrowser instead of HttpWebRequest
Reply | Email | Modify 
how to get html source as DIV from webpage in Web browser control by MIRZA On September 6, 2010
I have done web browser control and I can find any web page. But I need HTML code . Because I will use a table from whole web page. How can I determine these HTML code.
Please help me.
Reply | Email | Modify 
web browser by Akhtar On September 12, 2010
please give me url and new tab coding and progrees bar coding .....
i could't download your zip..........
my email id is akhtarraza30@gmail.com
Reply | Email | Modify 
gracias by Daniel On December 30, 2010
gacias por compartirlo camarada
Reply | Email | Modify 
abt project by ashwini On January 4, 2011
excellent work...i am fresher in learning c# , can u suggest books on c sharp so that i understand easily
Reply | Email | Modify 
help request by Avi On February 24, 2011
hello i am a bca student, i have also developd a browser but the problem i am facing is when i click on any link of any website from my browser it opens in internet explrer rather than my browser is there any code that will make it open in a new window of my browser and not in the default browser please help me with this problem if u have any solution for this mail me the solution on avixdr@gmail.com becoz i may be forgeting this site next time thanku
Reply | Email | Modify 
Upgrade by Raju On July 7, 2011
Update it for 2010
Reply | Email | Modify 
cong8s by faisal On November 1, 2011
good work
Reply | Email | Modify 
Good work but! by Joker On January 25, 2012
How about zooming the Zoom event handlers are empty any isea about zooming it'll heplpfull because i have the same problem with zooming but the rest is properly working</f><'."",?</?<<;;;(0(L>/?><>
Reply | Email | Modify 
DevExpress Free UI Controls
 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.