HOME HTML Javascript C++ Cookie Print Popup Blocking Form Cookies setTime GetCookieVal getElementById C# CGI Sample array CGI C# CGI C# CGI Example Print Dialog UDP moveBy QUERY_STRING Linked List kbdevent PostMessage UDP Receive Removable Disk Detection getenv SOCK_DGRAM Cookies Datagram Object Client/Server CGI Example Popup Once CAsyncSocket Binary Search attachEvent Print Setting ASCII Ansi C Removable Media Detection Roman Numerals SetCookie Algorithm SHChangeNotifyRegister SHCNE_DISKEVENTS addEventListener CGI Sample GetCookie MFC CGI Example Linking Drop down Keyboard Event Key event cookieVal Javascript Cookie DeleteCookie HTTP Server Source HTTP Server WWW Server Source Double Linked List Drop down Dropdown

LINKED LIST.ZIP

Double Linked List based in C++   (created at Sep 08, 2007)   61  

Below is the double linked list example that based on console.Specially this application use macro by define function provided by ANSI C.It's just like inline function that C++ provides.

Move window   (created at Sep 07, 2007)   62  

In javascript, browser can be moved as following.

Let popup once for event dialog or something like that in Javascript   (created at Aug 29, 2007)   50  

If you have a popup window which opens on your home page every time a visitor returns,it can become very annoying. Using cookies,this script can determine if the visitor has been here before,and only open a new window on their first visit to the page. The ...

Save And Restore Form Cookies in Javascript   (created at Aug 29, 2007)   39  

This script will save all of your form fields in a cookie. It includes all text fields,radio button selections,checkbox values,etc. When your visitor returns,all form fields are automatically repopulated with the same value that they entered on their last ...

How to record visitor's name by Cookie   (created at Aug 28, 2007)   75  

This cookie records the visitor's name. It can then be used for identification or other purposes,as needed.userName.jsfunction getCookieVal (offset) {  var endstr = document.cookie.indexOf (";",offset);  if (endstr == -1)  endstr = document....

Javascript & Cookie based Visitor Application   (created at Aug 28, 2007)   101  

This cookies records how many times the visitor has visited the page and writes to the page accordingly.visits.jsfunction GetCookie (name) {  var arg = name   "=";  var alen = arg.length;  var clen = document.cookie.length;  var i ...

Cross Browser Event Management Functions Using JavaScript   (created at Aug 28, 2007)   75  

What I have provided is a cross browser approach to attach and manage events. IE uses Object.attachEvent to attach an event to an object,whereas Fx uses Object.addEventListener to do the above function. Similarly the functions used for removing an attached...

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

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...

Creating and Using a CAsyncSocket Object to use CAsyncSocket   (created at Aug 28, 2007)   102  

Followings are the procedure to send/receive UDP packet by CAsyncSocket.STEP 1. ConstructionConstruct a CAsyncSocket object and use the object to create the underlying SOCKET handle.Creation of a socket follows the MFC pattern of two-stage construction.For...

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

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)   45  

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...

Fast and Good Keyboard/Mouse Test without the message handler   (created at Aug 27, 2007)   96  

In this short snippet, I will show you a Win32 function that checks whether a button is pressed or not. The good thing is that you don't need to handle the WM_KEYDOWN message. The second advantage is that it is really easy to use and that it can be used ev...

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

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

C++ CGI Example working on Apache   (created at Aug 27, 2007)   60  

In this short howto I will explain how to setup your apache webserver to run any compiled application as an CGI script and show a little example program to explain the main concepts. So why does someone might have the idea to execute an application? There ...

Printing A Page   (created at Aug 26, 2007)   66  

how to print the current page

Example Of Creating Objects   (created at Aug 26, 2007)   76  

an example of creating object in javascript,taken from http://www.wdvl.com/Authoring/JavaScript/Tutorial/objects.htmldirect instance of an objectDespite the awkward sound name, a "direct instance of an object" simply means creating a new single object, suc...

Linking Drop Downs   (created at Aug 26, 2007)   100  

Linking drop downs is a frequent question. Here is a javascript based example