Snippets

Making WebPage Screenshot | .Net

Added by Nasir Mahmood updated on Friday, November 17, 2017

Many times we want to capture web page as picture. One possible solution is using print screen while viewing page, problem with this solution we can not capture whole page.
This is a small snippet which will capture whole page as a picture and save it to our desired path on disk.


Clear Datagridview Rows

Added by Nasir Mahmood updated on Friday, November 17, 2017

While working on Datagridview we have to clear all rows after performing some operation. In this snippet i am combining different ways to achieve this


Convert Json Date to Javascript Date

Added by Nasir Mahmood updated on Tuesday, November 11, 2014

JavaScript syntax defines several native data types that are not included in the JSON  Date, Error, Regular Expression, and Function. These JavaScript data types must be represented by some other data format, with the programs on both ends agreeing on how to convert between the types. As of 2011, there are some de facto standards, e.g., converting from Date to String, but none universally recognized Other languages may have a different set of native types that must be serialized carefully to deal with this type of conversion


Remove All Cookies GecokFX

Added by Nasir Mahmood updated on Thursday, October 23, 2014

Sometimes we want to clear out all existing cookies from browser history programmatically. Fortunately GeckoFX provide us this facility by following snippet we can remove all cookies from browser history.  


DocumentText Geckofx

Added by Nasir Mahmood updated on Tuesday, October 21, 2014

WebBrowser control has a built in property called DocumentText which is used get or set html source of page. Geckofx has not such property by following code we can get page source easily.


About

29 Tutorials
25 Snippets
6 Products

More

Contact Us

Contact us

Stay Connected