Loading

Tutorials

  • Submitted by: 
    Introduction: This tutorial is on how to use OOP (Object Oriented Programming) in C#. What is OOP? OOP is when you are able to run multiple instances of one class or form at one time without them colliding in to one another. I will give you an example; Let's say that we have a 'person' class, with the variables to hold that person's name and age. Without OOP, we could only have one person. But,...
  • Submitted by: 
    Introduction: This tutorial is on how to use the Skype4ComLib Libaries in C# .NET to access our Skype program on our computer. SKYPE4COMLib: To use the Skype libaries you need to first obtain them via .NET Framework installation of 4.0 or later. I am using 4.5 for this tutorial, then you want to create a new Console/Form application in Visual Studio for a C# application. Right click on your...
  • Submitted by: 
    Introduction: This tutorial is on how to secure your application in C# from Buffer Overflow Attacks. What's a Buffer Overflow Attack? (BTA) A buffer overflow attack is when the user purposefully enters too much data in such a way that the program will spill the data across different memory locations which will cause unexpected behaviour such as opening another vulnerability for the attack to...
  • Submitted by: 
    Introduction: This tutorial is on how to use Switch statements in C#. Switch: A switch statement allows a single variable or static piece of data to be checked for mulitple conditions, essentially like a long 'else if' statement but a lot more compact and with slightly more flexability. Case: To use a switch statement there are a few other keywords we need to learn first, one of which is 'case'...
  • Submitted by: 
    Introduction: This tutorial is on how to draw text in .NET (C#/Visual Basic). Labels, Textboxes? I'm sure if you've not looked in to the 'graphics' (etc) objects in the .NET framework, you're thinking, why don't we just use labels or textboxes with their read-only property enabled. Labels and textboxes both have a surrounding area around the text which are both of different colours (however we...
  • Submitted by: 
    Introduction: This tutorial is on how to use an API in PHP. What Is An API? An API is an Application Programming Interface and is used as a middle stepping stone for external applications to use the functions of an internal application. An example of this would be the Skype API. The Skype API allows external applications on the users computer to access their Skype account via the Skype4ComLib API...
  • Submitted by: 
    Introduction: This tutorial will be on how to use a 'foreach' loop in C# .NET. ForEach: A ForEach loop in C# is used to iterate through a list of elements held within one location. An example of this could be a list of usernames which are allowed to login to the program. This is what example we are going to be using in this tutorial. Theory: I am going to create a C# Console Application which...
  • Submitted by: 
    Introduction: This tutorial is on how to create a HTTPWebRequest in C# using a proxy connection. Why Proxies? Proxies are sometimes required in certain web scraping applications due to the sheer amount of data that needs to scraped. Some sites temporarily - or even permanently - block IP addresses which are requesting/receiving large amounts of data in a short time to avoid the website's full...
  • Submitted by: 
    Introduction: This is a second part to my previous tutorial - 'Creating an Email Subscription List in PHP/MySQLi', found here; http://www.sourcecodester.com/tutorials/php/7813/email-subscription-list-phphtml.html Mail Function: Before we can begin with our actual email subscription email sending script, we need to know exactly how we are going to be sending our emails. Luckily enough, there is a...
  • Submitted by: 
    Introduction: This tutorial is on how to create a simple email subscription service - part 1 - allowing the user to enter their email address. HTML: Before we can process any information the user enters and then add it to our database of email subscription addresses, we need to take the information from the user - for this we need a simple HTML form. < html > < head > < / head...

Pages