Saturday, 26 July 2014

Spell Checker Application - Using C# with Visual Studio 2010

Main Concept:
Spell Checking is done by using Soundex Algorithm to find similar sounding words from the dictionary and then applying Levenstein-Distance Algorithm to get top ranked suggestions.

  • Back-end unique dictionary compiled from 22 different dictionaries (not available anywhere on the internet)
  • Sound Based Suggestions (Soundex Algorithm)
  • Distance Based Suggestions (Levenshtein Distance Algorithm)
  • All simple text processor features with Ignore, Add To Dictionary, Auto-Correct etc..
  • Can set number of suggestions to display.

Developed In:
-  MS Visual Studio 2010 (using .net framework 3.5)

Filename: Spell Checker Project.rar
FileSize: 2.25 MB
Package Contains:  Visual Studio 2010 Project Files

Mirror 1:              Click to Download           (Facebook Group)

Mirror 2:              Click to Download           (Dropbox)
Filename: Spell Checker Application (Executable).rar
FileSize: 2.05 MB
Package Contains: Application (Executable) 

Mirror 1:              Click to Download           (Dropbox)

Saturday, 26 July 2014 by Kamran Shahid · 1

Friday, 25 July 2014

HTML Writer - Written in C# using Irony (Visual Studio 2012)

Main Concept:
Using Hand-Written Context-Free Grammer with some regular expressions in order to successfully parse hyper-text markup language on basic level.
Supported Tags: (With Attributes :: such-as width height href etc.. )
- P
- H1, H2, H3, H4, H5, H6, H7

- A


  • Parse and show HTML in a build-in browser if it is consist of the supported tags. 
  • Incase of incorrect syntax the application will detect and show the syntax errors with specific information like error line number, expected characters etc..
  • Tree View supported.
  • Parsing is totally based on Context-Free Grammer which you can view and change as per your needs in "HTMLGrammer" class.

Developed In:
-  MS Visual Studio 2012 (using .net framework 4.5)

Filename: HTMLWriter And Parser (Updated).rar
FileSize: 313 KB
Package Contains: Application (Executable) and Visual Studio 2012 Project Files

Mirror 1:              Click to Download           (Facebook Group)

Mirror 2:              Click to Download           (Dropbox)

Development Credits: Abdul Haseeb

Friday, 25 July 2014 by Kamran Shahid · 0

Saturday, 4 January 2014

Simple Download Speed Tester - Using C# with MS Visual Studio 2008

To develop an application which will determine the Internet's download rate.

To determine our download rate I just used some simple mathematics by noticing the start and end time of our test download then calculating download rate by converting time into kb/sec from seconds.

This application download GoogleTalk's setup file as a test from Google's web server because let's face it, neither I have/want my web server nor it would be as reliable a Google's. We know GoogleTalk's installer is around 1.5 MB in file-size so that we won't be downloading a file too small or too big but just good enough to get our download rate right.


- MS Visual Studio 2008 ( .net framework 3.5 )

Checked with
- MS Windows XP service pack 3
- MS Windows 7 service pack 1

Source Tutorial:
For a better concept and code understanding see this tutorial

Filename: Down Speed Tester.rar
FileSize: 1.81MB
Package Contains: Project (MS Visual Studio 2008), Executable (.exe)

Mirror 1:              Click to Download           (DropBox)

Saturday, 4 January 2014 by Kamran Shahid · 0

Friday, 27 December 2013

DFA and PDA Programming Implementation - Using C# with MS Visual Studio 2008

Deterministic Finitie Automata Implementation:
A program that can read a DFA from a text file, and support the usual functionalities of a DFA (for the ease of programming i took initial state q0 as I, set of input Σ as S and define transitions using T instead of δ). Implemented a DFA with the 5-tuple (Q, S, T, I, F) and the DFA in a textfile looks like :
Q = {p, q, r, s}// Set of all states.
S= {a, b}// Set of input.
I = p // Initial State.
F = s // Final/acceptable state(s).
T(p, a)= q
T(p, b)= p
T(q, a)= r
T(q, b)= p
T(r, a)= s
T(r, b)= r
T(s, a)= s
T(s, b)= r

Filename: DFA Implementation C#.rar
FileSize: 256.72 KB
Package Contains: DFAProblem(Task), SampleInput file and Projectfile(VS 2008)

Mirror 1:              Click to Download           (DropBox)

PushDownAutomata Implementation:

A program that can read a simple form of PDA without lambda transition from the console or from a file or as a string within the program, and then support the usual functionalities of a PDA (for the ease of programming i took initial state q0 as I, set of input Σ as S, "stack symbols" as R, "lambda" as e and define transitions using T instead of δ). Implemented a PDA with the 7-tuple (Q, S, R, T, I, F) and the PDA in a text-file looks like :
Q = {p, q, r}
S= {a, b, c}
R= {a, b, $} //Set of stack symbols
I = p
F = s
T (p, a, e)= (p,a)
T (p, b, e)= (p,b)
T (p, c, e)= (q, e)
T (q, a, a)= (q, e)
T (q, b, b)= (q, e)
T (q, c, $)= (r, $)

Filename: PDA Implementation C#.rar
FileSize: 256.92 KB
Package Contains: PDAProblem(Task), SampleInput file and Projectfile(VS 2008)

Mirror 1:              Click to Download           (DropBox)

Friday, 27 December 2013 by Kamran Shahid · 0

Monday, 9 December 2013

Human Resource Management System - Using C# with Visual Studio 2008 (SQL Server 2005)

Development Tools:
- Microsoft Visual Studio 2008

- Microsoft SQL Server Management Studio 2005


The Proposed system has two main modules
  • Employee
  • Admin (HR)

Employee Module:

Employee Profile
Employees could view there profiles, checkout there salaries. 

Compensatory off
When an employee works on a holiday or works overtime on a working day, he/she can apply for a compensatory off.  The duration of comp-off will depend on the extra time worked by the employee and is subject to approval by supervisor.  The comp off time can be banked for a maximum of 30 days.

Leave Application
Based on the availability of leave,  employee can apply for leave online.  

View Leave Balance
Employee can view their eligibility and leave balance against each type of leave.  Details of the leave utilized in the current leave year can also be inquired upon.

Admin Module:
This module handles the administrative functions of the system and is used by the HR department.

Employee records
Admin can view and change the employee profile, also can add new recruits and remove former employee’s.

Performance Review
Admin can review employee’s performance and skills

Leave Eligibility
HR will enter the leave eligibility of each employee, for each type of leave, at the beginning of each leave year.  The leave eligibility will be calculated based on the annual entitlement and the carry forward from prior year.

Monthly Attendance
HR can generate a monthly attendance report of  all employees in the organization.

Daily Absent Report
Admin can view the total number of absentees of a particular department for a given day.  They can also inquire on the attendance history of an individual employee in a particular month.

Salary maintenance
Admin can calculate salary according to companies rules and regulations. They are even permitted to update employee salaries.
Code Perspective:
-  Object Oriented based
-  Queries using Stored Procedures

Filename: Human Resource Management System.rar
FileSize: 15.09MB
Package Contains: Application (VS 2008 Project File) and Database (SQL Server 2005 Backup, mdf and log files)

Mirror 1:              Click to Download           (DropBox)

Monday, 9 December 2013 by Kamran Shahid · 1

Wednesday, 15 May 2013

Website Blocker - Using C# with Visual Studio 2010

Developed In:
-  Visual Studio 2010 (using .net framework 3.5)

Editing Host file located at C:\WINDOWS\system32\drivers\etc\hosts

Block Button:
Takes your text from Textbox and put it at the end of lines in host file like:        (your text eg.
*"" is your Lan Card's IP and next to it is the "webaddress" you wanted to block access to.

UnBlock Button:
Takes your text from Textbox and search it at host file line by line. If found a line containing it then simply it will erase the whole line.

UnBlockAll Button:
Restore hosts file back to "default" by using hard-coded text in the code.

-   Tested On MS Windows XP and MS Windows 7 (Both 32 bits)
-   Requires (.net framework 3.5) in MS Windows XP

Filename: BlockIt.rar
FileSize: 122kb
Package Contains: Project (VS 2010) and Executable (.exe)

Mirror 1:              Click to Download           (DropBox)

Wednesday, 15 May 2013 by Kamran Shahid · 3

Saturday, 9 February 2013

Flexible Unbreakable Display Screens - Endless Posibilities - Samsung CES 2013

About four weeks ago, Samsung showed a radical 'bending' mobile phone at CES 13 in Las Vegas, which developed a feeling that the most anticipated next generation smartphone "Samsung Galaxy S4" could be a flexible OLED display smartphone.

Samsung is looking forward to the whole series of flexible displays, which will be known as Youm. Who knows that the next books will be of AMOLED instead of the papers. 

At CES 2013, Microsoft's chief technical strategy officer, Eric Rudder showed off a prototype device running windows Phone in a flexible AMOLED display.

Point to Ponder: If such displays are the future of the mobility then endless possibilities are waiting for us.

Saturday, 9 February 2013 by Kamran Shahid · 0

Tuesday, 18 September 2012

When and Where to Start Programming!

When to Start Programming?
You already are programming, i mean everyday your brain do programming to calculate the solutions for your daily life problems. 
for example: you are hungry ... your brain will calculate the possible solutions like
  • You can cook (If you don't have money)
  • You can eat at a restaurant (If you don't know how to cook)
  • Or ... You can Steal (If both of the above conditions are not suitable for you)
Yes, that's programming finding different solutions for a problem and go with the best one. and of course in Computer Programming you need to know the programming languages like C++, Visual Basic or Java etc to communicate with the Computer, as in real life you need knowledge and some skills to perform your daily task. If you can gain the required programming skills then your age doesn't count to start programming.
Where to Start Programming?

GW BASIC - is the best console programming language for beginners, it will give you basic concepts required in most programming languages out there.It's easiest to understand and best first step towards programming. You should spend 1 month (30 to 60 min each day practice) practicing GW BASIC.

VB.Net - It would not be as easy considering you only know GW Basic till now but it will probably change your perspective about programming. At the beginning you should be able to develop some accounting programs but as time goes on with good logical skills you can develop more effective applications like chat messenger, utility applications, and databases with Ms SQL or MS Access ...

After these two, you probably will able to choose next best and suitable programming language for you and your career. And of course don't forget C and JAVA.

Tuesday, 18 September 2012 by Kamran Shahid · 1

Friday, 14 September 2012

Mind Blowing - 5 illusions - It's not as it looks!

Friday, 14 September 2012 by Kamran Shahid · 1

Monday, 10 September 2012

How to Learn Hacking

I'm talking about "Ethical Computer Hacking" here not about some illegal stuff, to be a hacker you really need to define your goals because hackers don't just break securities, hack top secret military data or do any other cool stuff like in the movies but usually they find solutions with the help of their programming skills and intelligence.

Hacker's main role is to find vulnerable loop holes, in other words, programming mistakes which leaves private data insecure. You can learn hacking from the following websites but you need patience, intelligence and luck...

Good Luck!

Monday, 10 September 2012 by Kamran Shahid · 0

Subscribe via email

Enter your email address:

All Rights Reserved Kamran Shahid | Blogger Template by Bloggermint