C# C++ Cookie Print C# Print SMTP C# CGI Example C# CGI Sample C# CGI CGI PostMessage Datagram Removable Disk Detection UDP Receive UDP QUERY_STRING getenv MailMessage SOCK_DGRAM GetEnvironmentVariable if HttpCookie Substring SmtpMail MFC CGI Example HtmlPrinter C# DLL Call HTTP Server Source C# DLL HTTPServer BinarySearch LIFO List Hash MoveNext OnFilePrint OnMediaChanged OnPrintPage PageSetupDialog PDF PDF Creation ASCII CGI Example Create PDF Dequeue DLL Import DLLImport EnableRaisingEvent Enqueue WWW Server Source Client/Server CGI Sample Hashtable CallBackMethod GetAsyncKeyState GetEnumerator CallBack C# List GetFieldByName GetLineBreakCharPosition

CGI.ZIP

MFC based World Wide Web HTTP Server Source Code   (created at Aug 28, 2007)   65  

The below attachment is HTTP Server source code that supports CGI. Detail Description: HTTPSVR is an MFC sample that demonstrates the use of MFC and its Windows Sockets (WinSock) classes in implementing a simple World Wide Web HTTP server. HTTPSVR turns an...

Simple C# CGI working on Apache   (created at Aug 27, 2007)   28  

Simple program to demonstarte the power of c# on the Net. This program require web server e.g(java web server ,apache etc).Hello.csclass zzz{  public static void Main()  {    System.Console.WriteLine("Content-Type:text/html ");  &n...

Simple CGI Programming in C   (created at Aug 27, 2007)   54  

Here's the simplest C based CGI example. #include #include int main(void){    char *data;    printf("Content-Type:text/html;xdxa"); ");&n...

UDP Send and Receive Using CAsyncSocket   (created at Aug 28, 2007)   32  

The following is sample code showing use of CAsyncSocket to send and receive UDP packets. I used the ClassWizard to create a class (CUDPSocket) derived from CAsyncSocket. The derived class does little more than override OnReceive. The derived class is used...

Using the shell to receive notification of removable media being inserted or removed   (created at Aug 28, 2007)   30  

Recently I needed to determine when removable media, such as a zip disk or media card, had been inserted by the user. I initially looked into the WM_DEVICECHANGE broadcast message only to realise this supports CDROMs and little else. Fortunately there is a...

Adding Custom Paper Sizes To Named Printers   (created at Aug 27, 2007)   52  

My company needed me to programmatically add a custom paper size (a printer form) to the default printer and set the printer to use the custom paper size. After looking around,the best alternative we could find was to make use of the printing and print spo...

Print HTML In C# With Or Without The Web Browser Control And The Print Dialog   (created at Aug 27, 2007)   56  

Printing with the web browser control in .NET platform is not hard work. But the challenge for me was to navigate to a specific URL and then print the document with a single click event. There was another challenge I had to face,when I tried to print an HT...

A Customizable Printing Text Class   (created at Aug 27, 2007)   28  

At least once,in the life of a programmer,it succeeds that the moment arrives to print a text document. The task is quite simple for a .NET programmer,but even more with PrintTextDocument class. This class was written to help in printing text documents,add...

Simplified .NET Printing In C#   (created at Aug 27, 2007)   62  

This is a .NET approach to Simplified Printing in which,we are going to use a RichTextBox to cache all of our text for printing in printDocument.// Form Loadprivate void Form1_Load(object sender,System.EventArgs e){  

How To Print Text In C#   (created at Aug 27, 2007)   44  

If you want to use MultipadPrintDocument in your own code,it's best to rename the class and its constructor to something more appropriate. Then add a variable of type XXXPrintDocument to your form and implement the menu items as follows:void OnFilePrint(Ob...

C Sharp Lists   (created at Aug 27, 2007)   48  

It is a fairly common programming scenario to find ourselves with a list of identical objects. In the past,without adequate support from programming languages,we found ourselves writing a lot of searching and sorting code,and that may have put you off usin...

Simple Example Of IF/THEN Using C#   (created at Aug 27, 2007)   36  

Simple example of IF/THEN using C#<%@ Page Language="C#" %>