make Wabepage to PDF converter in VB.Net





hello  in this tutorial gonna make mini application to save a web page to PDF file its like a mini project VB.NET made 
lets get started to succeed to do so we gonna have to take advantage of site PDF converter
first of all make a  form like bellow , don't forget to add (webbrowser) and make it invisible



and now in click command of button (set url) 
put this code:
===================code===============
WebBrowser1.Document.GetElementById("url").SetAttribute("value", TextBox1.Text)
=======================================





and in button (make and download put this code

=====================code=============
WebBrowser1.Document.GetElementById("submit").InvokeMember("click")
======================================




and in the last but not least
double click on main form and put this last code
================code==================
WebBrowser1.Navigate("http://pdfmyurl.com/")
=======================================

we all set and your app is ready to use its and share it with this topic if this helps you and leave a comment
don't forget to join our social pages on Facebook and Twitter, thank you

Comments