// archives

Code Snippets

This tag is associated with 4 posts

Pop up using Java Script

I will explain  how you can make a pop up box using java script.   Script Code <script> var newwindow; function poptastic(url) {         newwindow = window.open(url, ‘name’, “scrollbars=1,resizable=1″); if (window.focus) {newwindow.focus()} } </script>     Insert the above function to the head section of your page .You can pass the url you [...]

Share

Ping IP address using c#.net

I am posting here the code snippet to Ping a given IP address using c#.net   C#.net Section   -Sample.aspx.cs using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net; using System.Net.NetworkInformation; using System.Text; public partial class _Default : System.Web.UI.Page  { protected void Page_Load(object sender, [...]

Share

List all IP s in range using c#.net

Here is the code snippet in c#.net to get all the ip address with in a range. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; namespace WindowsFormsApplication3 {  public partial class Form1 : Form  {      public Form1()    {    InitializeComponent();      } [...]

Share

Enter your email address:

Delivered by FeedBurner