jeudi 29 octobre 2015

How to write URL as a link in file

I've made a web browser in windows form now i want to save the Urls as links in my history.txt file address = txt_search.Text;// Storing Address from the Search TextBox Textbox2.goToPage(); Function created to extract html from web

          using (tw = new StreamWriter(@"History.txt", true)) //Filing to store the History, File will be made in Debug Folder

        {
            tw.WriteLine(address);// Writing Address on text file
            tw.Close();
        }    

    }

Aucun commentaire:

Enregistrer un commentaire