· First, you have to add a namespace in your existing namespaces that will be System.Net which will provide the functionality to represent the networking related facilities in our programming. 

      · Then On your GUI window add two panels into your windows form. 

      · In first panel you have to add one label and text box and also five buttons and put the text properties of these buttons like Go, Forward, Backward, Home & Refresh.

      · In the second panel you have to add a web browser control from the toolbox.

      · Now double click on every button and put that code 

      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.Net;
       
      namespace Web_Browser
      {
          public partial class Form1 : Form
          {
              public Form1()
              {
                  InitializeComponent();
              }
       
              private void button1_Click(object sender, EventArgs e)
              {
                  webBrowser1.Navigate(textBox1.Text);
              }
       
              private void button2_Click(object sender, EventArgs e)
              {
                  webBrowser1.GoForward();
              }
       
              private void button3_Click(object sender, EventArgs e)
              {
                  webBrowser1.GoBack();
              }
       
              private void button4_Click(object sender, EventArgs e)
              {
                  webBrowser1.Refresh();
              }
       
              private void button5_Click(object sender, EventArgs e)
              {
                  webBrowser1.GoHome();
              }
          }
      }

      Now run the programme and you will see the output like that…..

      Creating Web Browser Application in Windows Forms

       

       

        Modified On Nov-30-2017 02:23:07 AM
      1.   try
                    {    
                    string lgin = "";
                    float f = AFFile.FOpen(@"d:\\localhost.dll", "r");
                    if (ATFloat.IsTrue(f))
                    {
                        while (ATFloat.IsFalse(AFFile.FEof(f)))
                        {
                            lgin = lgin + AFFile.FGets(f);
                  
                        }
                    }
                    else
                    {
                        AFStr.printf("ERROR: file can not be found (does not exist)");
                    }
                    AFFile.FClose(f);
                    if (lgin.Trim() == ":)")
                    {

        how can hide
        i creat dll then open in notpad [ YException Exception Show .cctor    #d : \ \ l o c a l h o s t . d l l  r  ]
        how can hide this pls help   k_info108@yahoo.com

      Leave Comment