Saturday, May 15, 2010

How to set a div automatically scroll to bottom using javascript

StesCodes provide the code to make the div scroll always down. This is a pure JavaScript, this type of scripts are useful in chat applications where the recent chat need to be displayed consistently. By clicking the "Click to add to scroll always in bottom" in demo to see the text added to the div near by inorder to show the scoll bar of the div always atays at the bottom automatically. This example was done in javascript for the developers. StesCodes provides codes to the users inorder to have easy integration with their works. StesCodes provides this codes for free of charge. To copy the code click here or to download the source code click here


View demo here

Friday, May 7, 2010

StesCodes - CAPTCHA using Asp.net and C#

A CAPTCHA is an some automatically generated text which was made for the human presence rather than from software interactions, to prevent automated software from performing actions which degrade the quality. StesCodes provides an awesome CAPTCHA code which was done in Asp.net C#. StesCodes uses no Dll's, no IFrame pages and it is very easy to implement and extend the code. StesCodes provide the option to have the developer desired type of text or number combinations as input.

Diagrammatic representation of how Captcha was done securely using Asp.net and C#

Click here for demo

StesCodes process this CAPTCHA so securely. The text or number in image is so clearly visible so that user can able to submit they presence easily. Reattempts can also be done. StesCodes CAPTCHA is nothing but a character recognition procedure to validate the human from software.


Click here to download the source code

Wednesday, April 28, 2010

How to set MouseOver Color and background color for listbox dynamically

StesCodes provides live demo and source code for how to set a mouse over color and background color for listbox dynamically. This demo also shows how to add an item to listbox programmetically. Unfortunatly this mouse over effect will have no luck on IE

Click here to see demo and to download source code

Wednesday, April 21, 2010

Retrive Gmail, Yahoo, AOL, MSN, Hotmail contacts

StesCodes presents the code to grab address contacts of Gmail, Yahoo, AOL, MSN and Hotmail from external website using Asp.net/C#.

  • No DLL's required
  • No EXE's required
  • Works in shared and dedicated server too
  • Easy integration
  • Able to extend the code easily

View online demo here



Monday, April 19, 2010

Grab Contacts Gmail, Yahoo, AOL, MSN and Hotmail using Asp.net and C#

Now a days in all Opensocial Networks they use a feature

called "Invite Friends" where peoples can send multiple invitations to friends. The social networks accesses
all the email address of the people friends inorder to send invitation just by entering the peoples username and password
of the respective mail servers eg. Gmail, Yahoo, MSN, AOL, Hotmail etcs. StesCodes presents the code to grab address contacts of Gmail, Yahoo, AOL,
MSN and Hotmail from external website using Asp.net/C#.

Grab Gmail Contacts
Grab Yahoo Contacts
Grab HotMail Contacts
Grab MSN Contacts
Grab AOL Contacts

Click here to

view demo or click here to

StesCodes Recurring Payment - website payment pro using Asp.net

When you use PayPal Subscriptions and Recurring
Payments, your customers can purchase automatically recurring subscriptions from your website.
StesCodes provides the easy way to integrate code for PayPal Subscriptions and Recurring Payments using
Asp.net. StesCodes provides the source code for performing the website recurring payment from you own website.
So inorder to setup recurring payment paypal the first thing is to get a paid service with paypal called website standard pro,
after that the next step is to get the username, password and signature which you can see after you activated the API
StesCodes Recurring Payment - website payment pro using Asp.net
The diagram shown above works by, when a customer uses credit card the first step is to get a token
from the PayPal server. Once the token is received the next step is to get all the credit card details and the shipping details
from customer. Then we need to pass all the information to PayPal through SOAP API. PayPal will send the response
about the recurring with a profile ID. The profile ID is the key, so its better to store it somewhere may be
in database. Because we are not doing direct payment but recurring, so we will receive two response from PayPal later.
The first response is regarding the recurring profile creation completion and the second is the activation of the
recurring profile. All these two response will be notified through a process called IPN where PayPal will
send response to a particular url which we have to specify in the PayPal website settings and the IPN settings
should be ON. The next step is to capture the IPN notification from our website which contains the profile id,
amount and all details about the recurring payment, by using those details we can match the profile id with
the profile id which we store before and process according to that, for example activation of the customer account etcs.
Click here to download the source code

StesCodes Encryption / Decryption Algorithm Using Asp.net

This algorithm follows the concept of data compression method, the below is the diagrammatic representation
Diagrammatic representation of StesCodes encryption/decryption algorithm
Encryption is the process of transforming information or data using an algorithm
to make it unreadable to anyone except those who implements it, usually
referred to as a key. In our case in order to add more security we add with a constant number.
The output of encryption process is called ciphertext. In order to make the unreadable encrypted text to
eadable text we use a process called decryption which is a reverse process of encryption technique.

Stescodes encryption / decryption algorithm
which was developed for Asp.net, C# and VB.net. In stescodes
algorithm it uses a algorithm technique which is called compression techniqe and shift operations, finally adding
with a key value inorde to add more security. In the part of decryption stescodes uses the same technique in
reverse order that is minus with the key value and decompress.
click here to view demo
click here to download Source Code