| Database Code
Generator Of C# with Sql Server |
| Software will automatically generate classes
and stored procedure for a given database. |
| Download
Source Code
Download User Guide |
|
|
| Caller ID in C#
Free Open Source Software.
|
This is very basic level application that will detect Caller ID in C# and Display in
the textBox. You need to change the COM Port according to your Computer.
Requirements
1. You need a Modem in your PC
2. A Telephone Line with CLI facility
3. Insert Phone Line in the Modem.
Instructions:
Run this Application and Call on that number you will see the Caller
ID in the text Box.
Download
|
| Number To Word Converter
Program in C# |
This is simple program that will convert Number (Amount in Figure) into word.
Example 786.00---> Rupees Seven hundred Eighty Six only
Instructions:
1. Add NumberToWordLib.dll in your program in C# , VB.net (Add reference)
2.Make Object of NTW class and call Function ConvertToWord
NTW obj =new NTW();
string word=obj.ConvertToWord("786.00")
Download
|
| Lecture1 (handling
of TextBox and other Event) |
 |
Download
|
| Lecture2 (handling
of ListBox) |
 |
Download |
| Lecture 3 (Section
A) |
 |
Download |
| Lecture 3(Section
B) |
 |
Download |
| A Chatting Client
Server Application in C# |
 |
Download |
| Lecture 4 Exception
Handling |
 |
Download |
| Lecture 5 Database Programming |
 |
Download |
| Lecture 6 Database Programming |
 |
Download |
| Lecture 7 Crystal Report
|
 |
Download |
| Lecture 8 Web Application |
 |
Download |
| Lecture 9 Multithreading |
 |
Download |
| Sample code in C# that will display the information of all the
Processes |
using System;
using System.Diagnostics;
class ListProcs
{
public static void Main()
{
int totMemory = 0;
Console.WriteLine("Info for all processes:");
Process[] allProcs = Process.GetProcesses();
foreach(Process thisProc in allProcs)
{
string procName = thisProc.ProcessName;
DateTime started = thisProc.StartTime;
int procID = thisProc.Id;
int memory = thisProc.VirtualMemorySize;
int priMemory = thisProc.PrivateMemorySize;
int physMemory = thisProc.WorkingSet;
totMemory += physMemory;
int priority = thisProc.BasePriority;
TimeSpan cpuTime = thisProc.TotalProcessorTime;
Console.WriteLine("Process: {0}, ID: {1}", procName, procID);
Console.WriteLine(" started: {0}", started.ToString());
Console.WriteLine(" CPU time: {0}", cpuTime.ToString());
Console.WriteLine(" virtual memory: {0}", memory);
Console.WriteLine(" private memory: {0}", priMemory);
Console.WriteLine(" physical memory: {0}", physMemory);
}
Console.WriteLine("\nTotal physical memory used: {0}", totMemory);
}
}
|
|
|