Santosh's profileSantosh KumarPhotosBlogListsMore Tools Help

Blog


    Short Story ... But you are born to win

     
    An eagle's egg was placed in the nest of a prairie chicken. The egg hatched and the little eagle grew up thinking it was a prairie chicken. The eagle did what the prairie chickens did. It scratched in the dirt for seeds. It clucked and cackled. It never flew more than a few feet because that is what the prairie chickens did. One day he saw an eagle flying gracefully and majestically in the open sky. He asked the prairie chickens: "What is that beautiful bird?"
     
    The chickens replied, "That is an eagle. He is an outstanding bird, but you cannot fly like him because you are just a prairie chicken." So the eagle never gave it a second thought, believing that to be the truth. He lived the life of and died a prairie chicken, depriving himself of his heritage because of his lack of vision. What a waste! He was born to win, but was conditioned to lose.
     
    If you want to soar like an eagle, you have to learn the ways of an eagle. If you associate with achievers, you will become one. If you associate with thinkers, you will become one. If you associate with givers, you will become one. If you associate with complainers, you will become one.
     
    by Shiv Khera { You Can Win }
     

    Short Story ... But also give

     
    As human beings, we all have the need to receive and take. But a healthy personality with high self-esteem is one that not only has its need to take but also to give.
     
    A man was washing his new car when his neighbor asked him, "When did you get the car?" He replied "My brother gave it to me." The neighbor's response was, "I wish l had a 24 of 24 car like that." The man replied, "You should wish to have a brother like that." The neighbor's wife was listening to the conversation and she interrupted, "I wish I was a brother like that."
     
    What a way to go!
     
    by Shiv Khera { You Can Win }
     

    Tips & Tricks, Google hacks

     
    Say you want to get, for example, a Garth Brooks song. type this in the search bar - "index of/" "garth brooks" .mp3 the ones you want to check out first are the ones that say "Index of/" in the title of the search result. this technique allows you to easily pull up web folders with direct downloads. It will look the same as if you were logging into a ftp url. You can be pretty flexible on how you type that in, so long as you include "index of/"
     
    You can use this for more than just mp3's (it's not perfect but it has worked)
     
    Always make sure to use the quotations where it has been placed. they help pinpoint the correct search results more accurately. just try it out, also if you want to learn how to do more with google look up "google hacks"
     
    Ref: http://mahendragr.wordpress.com/2008/07/18/find-serial-numbers-on-google/
     

    What exactly is DirectX

     
    Ever wondered just what that enigmatic name means?
     
    Gaming and multimedia applications are some of the most satisfying programs you can get for your PC, but getting them to run properly isn’t always as easy as it could be. First, the PC architecture was never designed as a gaming platform. Second, the wide-ranging nature of the PC means that one person’s machine can be different from another. While games consoles all contain the same hardware, PCs don’t: the massive range of difference can make gaming a headache.
     
    To alleviate as much of the pain as possible, Microsoft needed to introduce a common standard which all games and multimedia applications could follow – a common interface between the OS and whatever hardware is installed in the PC, if you like. This common interface is DirectX, something which can be the source of much confusion.
     
    DirectX is an interface designed to make certain programming tasks much easier, for both the game developer and the rest of us who just want to sit down and play the latest blockbuster. Before we can explain what DirectX is and how it works though, we need a little history lesson.
     
    DirectX history
     
    Any game needs to perform certain tasks again and again. It needs to watch for your input from mouse, joystick or keyboard, and it needs to be able to display screen images and play sounds or music. That’s pretty much any game at the most simplistic level.
     
    Imagine how incredibly complex this was for programmers developing on the early pre-Windows PC architecture, then. Each programmer needed to develop their own way of reading the keyboard or detecting whether a joystick was even attached, let alone being used to play the game. Specific routines were needed even to display the simplest of images on the screen or play a simple sound.
     
    Essentially, the game programmers were talking directly to your PC’s hardware at a fundamental level. When Microsoft introduced Windows, it was imperative for the stability and success of the PC platform that things were made easier for both the developer and the player. After all, who would bother writing games for a machine when they had to reinvent the wheel every time they began work on a new game? Microsoft’s idea was simple: stop programmers talking directly to the hardware, and build a common toolkit which they could use instead. DirectX was born.
     
    How it works
     
    At the most basic level, DirectX is an interface between the hardware in your PC and Windows itself, part of the Windows API or Application Programming Interface. Let’s look at a practical example. When a game developer wants to play a sound file, it’s simply a case of using the correct library function. When the game runs, this calls the DirectX API, which in turn plays the sound file. The developer doesn’t need to know what type of sound card he’s dealing with, what it’s capable of, or how to talk to it. Microsoft has provided DirectX, and the sound card manufacturer has provided a DirectX-capable driver. He asks for the sound to be played, and it is – whichever machine it runs on.
     
    From our point of view as gamers, DirectX also makes things incredibly easy – at least in theory. You install a new sound card in place of your old one, and it comes with a DirectX driver. Next time you play your favourite game you can still hear sounds and music, and you haven’t had to make any complex configuration changes.
     
    Originally, DirectX began life as a simple toolkit: early hardware was limited and only the most basic graphical functions were required. As hardware and software has evolved in complexity, so has DirectX. It’s now much more than a graphical toolkit, and the term has come to encompass a massive selection of routines which deal with all sorts of hardware communication. For example, the DirectInput routines can deal with all sorts of input devices, from simple two-button mice to complex flight joysticks. Other parts include DirectSound for audio devices and DirectPlay provides a toolkit for online or multiplayer gaming.
     
    DirectX versions
     
    The current version of DirectX at time of writing is DirectX 9.0. This runs on all versions of Windows from Windows 98 up to and including Windows Server 2003 along with every revision in between. It doesn’t run on Windows 95 though: if you have a machine with Windows 95 installed, you’re stuck with the older and less capable 8.0a. Windows NT 4 also requires a specific version – in this case, it’s DirectX 3.0a.
     
    With so many versions of DirectX available over the years, it becomes difficult to keep track of which version you need. In all but the most rare cases, all versions of DirectX are backwardly compatible – games which say they require DirectX 7 will happily run with more recent versions, but not with older copies. Many current titles explicitly state that they require DirectX 9, and won’t run without the latest version installed. This is because they make use of new features introduced with this version, although it has been known for lazy developers to specify the very latest version as a requirement when the game in question doesn’t use any of the new enhancements. Generally speaking though, if a title is version locked like this, you will need to upgrade before you can play. Improvements to the core DirectX code mean you may even see improvements in many titles when you upgrade to the latest build of DirectX. Downloading and installing DirectX need not be complex, either.
     
    Upgrading DirectX
     
    All available versions of Windows come with DirectX in one form or another as a core system component which cannot be removed, so you should always have at least a basic implementation of the system installed on your PC. However, many new games require the very latest version before they work properly, or even at all.
     
    Generally, the best place to install the latest version of DirectX from is the dedicated section of the Microsoft Web site, which is found at www.microsoft.com/windows/directx. As we went to press, the most recent build available for general download was DirectX 9.0b. You can download either a simple installer which will in turn download the components your system requires as it installs, or download the complete distribution package in one go for later offline installation.
     
    Another good source for DirectX is games themselves. If a game requires a specific version, it’ll be on the installation CD and may even be installed automatically by the game’s installer itself. You won’t find it on magazine cover discs though, thanks to Microsoft’s licensing terms.
     
    Diagnosing problems
     
    Diagnosing problems with a DirectX installation can be problematic, especially if you don’t know which one of the many components is causing your newly purchased game to fall over. Thankfully, Microsoft provides a useful utility called the DirectX Diagnostic Tool, although this isn’t made obvious. You won’t find this tool in the Start Menu with any version of Windows, and each tends to install it in a different place.
     
    The easiest way to use it is to open the Start Menu’s Run dialog, type in dxdiag and then click OK. When the application first loads, it takes a few seconds to interrogate your DirectX installation and find any problems. First, the DirectX Files tab displays version information on each one of the files your installation uses. The Notes section at the bottom is worth checking, as missing or corrupted files will be flagged here.
     
    The tabs marked Display, Sound, Music, Input and Network all relate to specific areas of DirectX, and all but the Input tab provide tools to test the correct functioning on your hardware. Finally, the More Help tab provides a useful way to start the DirectX Troubleshooter, Microsoft’s simple linear problem solving tool for many common DirectX issues.
     

    Create One-Click Shutdown and Reboot Shortcuts


    First, create a shortcut on your desktop by right clicking on the desktop, choosing New, and then choosing Shortcut. The Create Shortcut Wizard appears. In the box asking for the location of the shortcut, type shutdown. After you create the shortcut, double-clicking on it will shut down your PC.
     
    But you can do much more with a shutdown shortcut than merely shut down your PC. You can add any combination of several switches to do extra duty, like this:
     
    shutdown -r -t 01 -c "Rebooting your PC"
     
    Double-clicking on that shortcut will reboot your PC after a one-second delay and display the message "Rebooting your PC." The shutdown command includes a variety of switches you can use to customize it. Table 1-3 lists all of them and describes their use.
     
    Use this technique to create two shutdown shortcuts on my desktop—one for turning off PC, and one for rebooting. Here are the ones:
     
    shutdown -s -t 03 -c "Bye Bye m8!"
     
    shutdown -r -t 03 -c "Ill be back m8 ;)!"
     
    Switch
    -s Shuts down the PC.
    -l Logs off the current user.
    -t nn Indicates the duration of delay, in seconds, before performing the action.
    -c "messagetext" Displays a message in the System Shutdown window. A maximum of 127 characters can be used. The message must be enclosed in quotation marks.
    -f Forces any running applications to shut down.
    -r Reboots the PC.

    Measuring storage device capacity

     
    BIT stands for BInary DigiIT and is 0 & 1. 
    And 8 such bits forms 1 byte. 
    Following is its further measurements
      

    Kilo

    K

    =

    2^10

    =

    1,024

    Mega

    M

    =

    2^20

    =

    1,048,576

    Giga

    G

    =

    2^30

    =

    1,073,741,824

    Tera

    T

    =

    2^40

    =

    1,099,511,627,776

    Peta

    P

    =

    2^50

    =

    1,125,899,906,842,620

    Exa

    E

    =

    2^60

    =

    1,152,921,504,606,840,000

    Zetta

    Z

    =

    2^70

    =

    1,180,591,620,717,410,000,000

    Yotta

    Y

    =

    2^80

    =

    1,208,925,819,614,620,000,000,000


    »»»»»»»   by Santosh Kumar
     ?
    Original @ http://santu4you.spaces.live.com 

    MS-DOS Command Prompt, Page 3

     

    PUSHD

    Stores a directory or network path in memory so it can be returned to at any time.

    QBASIC

    Open the QBasic.

    RD

    Removes an empty directory.

    REN

    Renames a file or directory.

    RENAME

    Renames a file or directory.

    RMDIR

    Removes an empty directory.

    ROUTE

    View and configure windows network route tables.

    RUNAS

    Enables a user to execute a program on another computer.

    SCANDISK

    Run the scandisk utility.

    SCANREG

    Scan registry and recover registry from errors.

    SET

    Change one variable or string to another.

    SETLOCAL

    Enables local environments to be changed without affecting anything else.

    SETVER

    Change MSDOS version to trick older MSDOS programs.

    SHARE

    Installs support for file sharing and locking capabilities.

    SHIFT

    Changes the position of replaceable parameters in a batch program.

    SHUTDOWN

    Shutdown the computer from the MSDOS prompt.

    SMARTDRV

    Create a disk cache in conventional memory or extended memory.

    SORT

    Sorts the input and displays the output to the screen.

    START

    Start a separate window in Windows from the MSDOS prompt.

    SUBST

    Substitute a folder on your computer for another drive letter.

    SWITCHES

    Remove add functions from MSDOS.

    SYS

    Transfer system files to disk drive.

    TELNET

    Telnet to another computer / device from the prompt.

    TIME

    View or modify the system time.

    TITLE

    Change the title of their MSDOS window.

    TRACERT

    Visually view a network packets route across a network.

    TREE

    View a visual tree of the hard disk drive.

    TYPE

    Display the contents of a file.

    UNDELETE

    Undelete a file that has been deleted.

    UNFORMAT

    Unformat a hard disk drive.

    UNLOCK

    Unlock a disk drive.

    VER

    Display the version information.

    VERIFY

    Enables or disables the feature to determine if files have been written properly.

    VOL

    Displays the volume information about the designated drive.

    XCOPY

    Copy multiple files, directories, and/or drives from one location to another.

    TRUENAME

    When placed before a file, will display the whole directory in which it exists

    TASKKILL

    It allows you to kill those unneeded or locked up applications

     

    MS-DOS Command Prompt, Page 2

     

    EXTRACT

    Extract files from the M*cros*ft Windows cabinets.

    FASTHELP

    Displays a listing of MSDOS commands and information about them.

    FC

    Compare files.

    FDISK

    Utility used to create partitions on the hard disk drive.

    FIND

    Search for text within a file.

    FINDSTR

    Searches for a string of text within a file.

    FIXBOOT

    Writes a new boot sector.

    FIXMBR

    Writes a new boot record to a disk drive.

    FOR

    Boolean used in batch files.

    FORMAT

    Command to erase and prepare a disk drive.

    FTP

    Command to connect and operate on a FTP server.

    FTYPE

    Displays or modifies file types used in file extension associations.

    GOTO

    Moves a batch file to a specific label or location.

    GRAFTABL

    Show extended characters in graphics mode.

    HELP

    Display a listing of commands and brief explanation.

    IF

    Allows for batch files to perform conditional processing.

    IFSHLP.SYS

    32~bit file manager.

    IPCONFIG

    Network command to view network adapter settings and assigned values.

    KEYB

    Change layout of keyboard.

    LABEL

    Change the label of a disk drive.

    LH

    Load a device driver in to high memory.

    LISTSVC

    Recovery console command that displays the services and drivers.

    LOADFIX

    Load a program above the first 64k.

    LOADHIGH

    Load a device driver in to high memory.

    LOCK

    Lock the hard disk drive.

    LOGON

    Recovery console command to list installations and enable administrator login.

    MAP

    Displays the device name of a drive.

    MD

    Command to create a new directory.

    MEM

    Display memory on system.

    MKDIR

    Command to create a new directory.

    MODE

    Modify the port or display settings.

    MORE

    Display one page at a time.

    MOVE

    Move one or more files from one directory to another directory.

    MSAV

    Early M*cros*ft Virus scanner.

    MSD

    Diagnostics utility.

    MSCDEX

    Utility used to load and provide access to the CDROM.

    NBTSTAT

    Displays protocol statistics and current TCP/IP connections using NBT

    NET

    Update, fix, or view the network or network settings

    NETSH

    Configure dynamic and static network information from MSDOS.

    NETSTAT

    Display the TCP/IP network protocol statistics and information.

    NLSFUNC

    Load country specific information.

    NSLOOKUP

    Look up an IP address of a domain or host on a network.

    PATH

    View and modify the computers path location.

    PATHPING

    View and locate locations of network latency.

    PAUSE

    Command used in batch files to stop the processing of a command.

    PING

    Test / send information to another network computer or network device.

    POPD

    Changes to the directory or network path stored by the pushd command.

    POWER

    Conserve power with computer portables.

    PRINT

    Prints data to a printer port.

    PROMPT

    View and change the MSDOS prompt.

     

    MS-DOS Command Prompt, Page 1

     

    ANSI.SYS

    Defines functions that change display graphics, control cursor movement, and reassign keys.

    APPEND

    Causes MSDOS to look in other directories when editing a file or running a command.

    ARP

    Displays, adds, and removes arp information from network devices.

    ASSIGN

    Assign a drive letter to an alternate letter.

    ASSOC

    View the file associations.

    AT

    Schedule a time to execute commands or programs.

    ATMADM

    Lists connections and addresses seen by Windows ATM call manager.

    ATTRIB

    Display and change file attributes.

    BATCH

    Recovery console command that executes a series of commands in a file.

    BOOTCFG

    Recovery console command that allows a user to view, modify, and rebuild the boot.ini

    BREAK

    Enable / disable CTRL + C feature.

    CACLS

    View and modify file ACL's.

    CALL

    Calls a batch file from another batch file.

    CD

    Changes directories.

    CHCP

    Supplement the International keyboard and character set information.

    CHDIR

    Changes directories.

    CHKDSK

    Check the hard disk drive running FAT for errors.

    CHKNTFS

    Check the hard disk drive running NTFS for errors.

    CHOICE

    Specify a listing of multiple options within a batch file.

    CLS

    Clears the screen.

    CMD

    Opens the command interpreter.

    COLOR

    Easily change the foreground and background color of the MSDOS window.

    COMP

    Compares files.

    COMPACT

    Compresses and uncompress files.

    CONTROL

    Open control panel icons from the MSDOS prompt.

    CONVERT

    Convert FAT to NTFS.

    COPY

    Copy one or more files to an alternate location.

    CTTY

    Change the computers input/output devices.

    DATE

    View or change the systems date.

    DEBUG

    Debug utility to create assembly programs to modify hardware settings.

    DEFRAG

    Re arrange the hard disk drive to help with loading programs.

    DEL

    Deletes one or more files.

    DELETE

    Recovery console command that deletes a file.

    DELTREE

    Deletes one or more files and/or directories.

    DIR

    List the contents of one or more directory.

    DISABLE

    Recovery console command that disables Windows system services or drivers.

    DISKCOMP

    Compare a disk with another disk.

    DISKCOPY

    Copy the contents of one disk and place them on another disk.

    DOSKEY

    Command to view and execute commands that have been run in the past.

    DOSSHELL

    A GUI to help with early MSDOS users.

    DRIVPARM

    Enables overwrite of original device drivers.

    ECHO

    Displays messages and enables and disables echo.

    EDIT

    View and edit files.

    EDLIN

    View and edit files.

    EMM386

    Load extended Memory Manager.

    ENABLE

    Recovery console command to enable a disable service or driver.

    ENDLOCAL

    Stops the localization of the environment changes enabled by the setlocal command.

    ERASE

    Erase files from computer.

    EXIT

    Exit from the command interpreter.

    EXPAND

    Expand a M*cros*ft Windows file back to it's original format.

     

    Shortcuts, Windows XP

     

    ALT+(hyphen)

    Displays the Multiple Document Interface (MDI) child window's System menu

    ALT+ENTER

    View properties for the selected item

    ALT+ESC

    Cycle through items in the order they were opened

    ALT+F4

    Close the active item, or quit the active program

    ALT+SPACEBAR

    Display the System menu for the active window

    ALT+TAB

    Switch between open items

    ALT+Underlined

    letter Display the corresponding menu

    BACKSPACE

    View the folder one level up in My Computer or Windows Explorer

    CTRL+A

    Select all

    CTRL+B

    Bold

    CTRL+C

    Copy

    CTRL+I

    Italics

    CTRL+O

    Open an item

    CTRL+U

    Underline

    CTRL+V

    Paste

    CTRL+X

    Cut

    CTRL+Z

    Undo

    CTRL+F4

    Close the active document

    CTRL while dragging

    Copy selected item

    CTRL+SHIFT while dragging

    Create shortcut to selected iteM

    CTRL+RIGHT ARROW

    Move the insertion point to the beginning of the next word

    CTRL+LEFT ARROW

    Move the insertion point to the beginning of the previous word

    CTRL+DOWN ARROW

    Move the insertion point to the beginning of the next paragraph

    CTRL+UP ARROW

    Move the insertion point to the beginning of the previous paragraph

    SHIFT+DELETE

    Delete selected item permanently without placing the item in the Recycle Bin

    ESC

    Cancel the current task

    F1

    Displays Help

    F2

    Rename selected item

    F3

    Search for a file or folder

    F4

    Display the Address bar list in My Computer or Windows Explorer

    F5

    Refresh the active window

    F6

    Cycle through screen elements in a window or on the desktop

    F10

    Activate the menu bar in the active program

    SHIFT+F10

    Display the shortcut menu for the selected item

    CTRL+ESC

    Display the Start menu

    SHIFT+CTRL+ESC

    Launches Task Manager

    SHIFT when you insert a CD

    Prevent the CD from automatically playing

    WIN

    Display or hide the Start menu

    WIN+BREAK

    Display the System Properties dialog box

    WIN+D

    Minimizes all Windows and shows the Desktop

    WIN+E

    Open Windows Explorer

    WIN+F

    Search for a file or folder

    WIN+F+CTRL

    Search for computers

    WIN+L

    Locks the desktop

    WIN+M

    Minimize or restore all windows

    WIN+R

    Open the Run dialog box

    WIN+TAB

    Switch between open items

     

    Shortcuts, Windows Explorer

     

    ALT+SPACEBAR

     Display the current window’s system menu

    SHIFT+F10

     Display the item's context menu

    CTRL+ESC

     Display the Start menu

    ALT+TAB

     Switch to the window you last used

    ALT+F4

     Close the current window or quit

    CTRL+A

     Select all items

    CTRL+X

     Cut selected item(s)

    CTRL+C

     Copy selected item(s)

    CTRL+V

     Paste item(s)

    CTRL+Z

     Undo last action

    CTRL+(+)

     Automatically resize the columns in the right hand pane

    TAB

     Move forward through options

    ALT+RIGHT ARROW

     Move forward to a previous view

    ALT+LEFT ARROW

     Move backward to a previous view

    SHIFT+DELETE

     Delete an item immediately

    BACKSPACE

     View the folder one level up

    ALT+ENTER

     View an item’s properties

    F10

     Activate the menu bar in programs

    F6

     Switch between left and right panes

    F5

     Refresh window contents

    F3

     Display Find application

    F2

     Rename selected item

     

    Shortcuts, Internet Explorer

     

    CTRL+A

     Select all items on the current page

    CTRL+D

     Add the current page to your Favorites

    CTRL+E

     Open the Search bar

    CTRL+F

     Find on this page

    CTRL+H

     Open the History bar

    CTRL+I

     Open the Favorites bar

    CTRL+N

     Open a new window

    CTRL+O

     Go to a new location

    CTRL+P

     Print the current page or active frame

    CTRL+S

     Save the current page

    CTRL+W

     Close current browser window

    CTRL+ENTER

     Adds the http://www. (url) .com

    SHIFT+CLICK

     Open link in new window

    BACKSPACE

     Go to the previous page

    ALT+HOME

     Go to your Home page

    HOME

     Move to the beginning of a document

    TAB

     Move forward through items on a page

    END

     Move to the end of a document

    ESC

     Stop downloading a page

    F11

     Toggle full screen view

    F5

     Refresh the current page

    F4

     Display list of typed addresses

    F6

     Change Address bar and page focus

    ALT+RIGHT ARROW

     Go to the next page

    SHIFT+CTRL+TAB

     Move back between frames

    SHIFT+F10

     Display a shortcut menu for a link

    SHIFT+TAB

     Move back through the items on a page

    CTRL+TAB

     Move forward between frames

    CTRL+C

     Copy selected items to the clipboard

    CTRL+V

     Insert contents of the clipboard

    ENTER

     Activate a selected link

    HOME

     Move to the beginning of a document

    END

     Move to the end of a document

    F1

     Display Internet Explorer Help

     

    Start -> Run, Control panel programs

     

    appwiz.cpl

    Add/Remove Programs control

    timedate.cpl

    Date/Time Properties control

    desk.cpl

    Display Properties control

    findfast.cpl

    FindFast control

    fonts

    Fonts Folder control

    inetcpl.cpl

    Internet Properties control

    main.cpl keyboard

    Keyboard Properties control

    main.cpl

    Mouse Properties control

    mmsys.cpl

    Multimedia Properties control

    netcpl.cpl

    Network Properties control

    password.cpl

    Password Properties control

    printers

    Printers Folder control

    mmsys.cpl sounds

    Sound Properties control

    sysdm.cpl

    System Properties control

     

    Start -> Run, System utility programs

     

    compmgmt.msc

     Computer management

    devmgmt.msc

     Device manager

    diskmgmt.msc

     Disk management

    dfrg.msc

     Disk defrag

    eventvwr.msc

     Event viewer

    fsmgmt.msc

     Shared folders

    gpedit.msc

     Group policies

    lusrmgr.msc

     Local users and groups

    perfmon.msc

     Performance monitor

    rsop.msc

     Resultant set of policies

    secpol.msc

     Local security settings

    services.msc

     Various Services

    msconfig

     System Configuration Utility

    regedit

     Registry Editor

    msinfo32

     System Information

    sysedit

     System Edit

    win.ini

     Windows loading information(also system.ini)

    winver

     Shows current version of windows

    mailto:

     Opens default email client

    command

     Opens command prompt

     

    Short Story ... Remember those who serve

     
    In the days when an ice cream sundae cost much less, a 10-year-old boy entered a hotel coffee shop and sat at a table. A waitress put a glass of water in front of him.
     
    "How much is an ice cream sundae?" he asked.
     
    "Fifty cents," replied the waitress.
     
    The little boy pulled is hand out of his pocket and studied the coins in it.
     
    "Well, how much is a plain dish of ice cream?" he inquired.
     
    By now more people were waiting for a table and the waitress was growing impatient.
     
    "Thirty-five cents," she brusquely replied.
     
    The little boy again counted his coins.
     
    "I'll have the plain ice cream," he said.
     
    The waitress brought the ice cream, put the bill on the table and walked away. The boy finished the ice cream, paid the cashier and left. When the waitress came back, she began to cry as she wiped down the table. There, placed neatly beside the empty dish, were two nickels and five pennies..
     
    You see, he couldn't have the sundae, because he had to have enough left to leave her a tip.
     
    by Jack Canfield, Mark Victor Hansen (Chicken Soup for the Soul)

    Short Story ... Giving When it Counts

     
    Many years ago, when I worked as a volunteer at a hospital, I got to know a little girl named Liz who was suffering from a rare & serious disease. Her only chance of recovery appeared to be a blood transfusion from her 5-year old brother, who had miraculously survived the same disease and had developed the antibodies needed to combat the illness. The doctor explained the situation to her little brother, and asked the little boy if he would be willing to give his blood to his sister.
     
    I saw him hesitate for only a moment before taking a deep breath and saying, "Yes I'll do it if it will save her." As the transfusion progressed, he lay in bed next to his sister and smiled, as we all did, seeing the color returning to her cheek. Then his face grew pale and his smile faded.
     
    He looked up at the doctor and asked with a trembling voice, "Will I start to die right away".
     
    Being young, the little boy had misunderstood the doctor; he thought he was going to have to give his sister all of his blood in order to save her.
     

    Short Story ... Life Is A Piece Of Cake

     
    A little boy is telling his Grandma how everything is going wrong. School, family problems, severe health problems, etc. Meanwhile, Grandma is baking a cake.
     
    She asks her grandson if he would like a snack, which, of course, he does.
     
    "Here, have some cooking oil."
     
    "Yuck" says the boy.
     
    "How about a couple raw eggs?"
     
    "Gross, Grandma!"
     
    "Would you like some flour then? Or maybe baking soda?"
     
    "Grandma, those are all yucky!"
     
    To which Grandma replies: "Yes, all those things seem bad all by themselves. But when they are put together in the right way, they make a wonderfully delicious cake!"
     
    God works the same way.
     
    Many times we wonder why he would let us go through such bad and difficult times.
     
    But God knows that when He puts these things all in His order, they always work for good!
     
    We just have to trust Him and, eventually, they will all make something wonderful!
     
    Hope your day is a "Piece of cake!"
     
    Ref: http://www.sikhism.us/inspirational-stories/141-life-is-piece-cake-enjoy-fullest.html
     

    Sending an email using MAPI

     
    Have you ever thought it would be great to be able to send email from a Visual Basic program? With Visual Basic's MAPI controls, it's a snap. These two controls let you send messages on any MAPI-compliant email system, such as Outlook and Exchange. To use the MAPI controls, you must select them in your project's Components dialog box. They are listed as "Microsoft MAPI Controls 6.0." The two controls will then appear in your toolbox; they are called MAPISession and MAPIMessages. Place one of each on a form - they are invisible at runtime.
     
    The MAPISession control is used to establish a session, or connection, with whatever MAPI-compliant mail software is installed on the system. The control has UserName and Password properties for signing onto an email account. You can set these properties at design time or prompt the user for them in code. Then, call the control's SignOn method to establish the session. Once the session is established, the control's SessionID property returns a handle of the session.
     
    The MAPIMessages control must be passed the handle of the MAPI session, obtained from the MAPISession control's SessionID property. Once this is done, the MAPIMessages control can be used for various tasks such as accessing messages in the InBox, saving, copying and deleting messages, and working with attachments. For this tip we are interested in creating and sending messages. This requires the following steps:
     
    1. Call the Compose method to create a new message.
    2. Put the recipient, the subject, and the body of the message in the corresponding control properties.
    3. Call the Resolve method to verify the message recipient.
    4. Call the Send method to send the message.
     
    Sending a message with the MAPIMessages control does not literally send it, but puts it in the Outbox of the mail system. When the message is actually sent depends on the mail system settings. When your program is finished with mail-related activities, call the MAPISession control's SignOff method to terminate the session.
     
    The following code demonstrates this. It assumes that the form containing the code contains TextBox controls for the various bits of information needed: user name, password, etc.
     
    Private Sub SendMail_Click()
        MAPISession1.UserName = tstUserName.Text
        MAPISession1.Password = txtPassword.Text
        MAPISession1.SignOn
        MAPIMessages1.SessionID = MAPISession1.SessionID
        MAPIMessages1.Compose
        MAPIMessages1.RecipAddress = txtTo.Text
        MAPIMessages1.MsgSubject = txtSubject.Text
        MAPIMessages1.MsgNoteText = txtMessage.Text
        MAPIMessages1.ResolveName
        MAPIMessages1.Send
        MAPISession1.SignOff
    End Sub
     
    An alternate way to use the Send method is to pass an argument with the value True (the default for this argument is False, that's why it is not included in the code above).
     
    MAPIMessages1.Send True
     
    In this case, the Send method displays a message dialog box in which the user can enter or edit the elements of the message and then send it by clicking the Send button.
     
    When a Visual Basic program needs to send email messages, perhaps for support or licensing issues, it's a lot nicer to integrate email support in the program rather than requiring the user to switch to their own email software.
     
    Ref: http://www.pgacon.com/visualbasic.htm
     

    Architectural Pattern for Software Engineering

     
    Architectural patterns are software patterns that offer well-established solutions to architectural problems in software engineering. It gives description of the elements and relation type together with a set of constraints on how they may be used. An architectural pattern expresses a fundamental structural organization schema for a software system, which consists of subsystems, their responsibilities and interrelations. In comparison to design patterns, architectural patterns are larger in scale.
     
    Even though an architectural pattern conveys an image of a system, it is not an architecture as such. An architectural pattern is rather a concept that captures essential elements of a software architecture. Countless different architectures may implement the same pattern and thereby share the same characteristics. Furthermore, patterns are often defined as something "strictly described and commonly available". For example, layered architecture is a call-and-return style, when it defines an overall style to interact. When it is strictly described and commonly available, it is a pattern.
     
    One of the most important aspects of architectural patterns is that they embody different quality attributes. For example, some patterns represent solutions to performance problems and others can be used successfully in high-availability systems. In the early design phase, a software architect makes a choice of which architectural pattern(s) best provide the system's desired qualities.
     
    Examples of architectural patterns include the following:
     
     • Layers
     • Presentation-abstraction-control
     • Three-tier
     • Pipeline
     • Implicit invocation
     • Blackboard system
     • Peer-to-peer
     • Service-oriented architecture
     • Naked objects
     • Model-View-Controller
     
    SOA: A service-oriented architecture can be defined as a group of services, which communicate with each other. The process of communication involves either simple data passing or it could involve two or more services coordinating some activity. Some means of connecting services to each other is needed.
     
    Ref: http://en.wikipedia.org/wiki/Architectural_pattern_%28computer_science%29
     

    What Exactly Is BizTalk?

     
    BizTalk is to business process automation what Visual Studio and the .NET Framework are to application development. It is a runtime and tools that enable you to automate and manage business processes more productively.
     
    That's basically it. If I only get 10 seconds to explain what BizTalk is to a customer, the above description is what I'm most comfortable with. If I have more time, I would elaborate on that description as follows.
     
    The term "application development" is worth further exploration. Looking at the kinds of applications that people build with Visual Studio and the .NET Framework today, the vast majority are focused on specific tasks rather than end to end processes. Not to say that such applications are isolated, they're actually often connected to other apps or data sources via Web services or other means. But the focus of the app is to automate a particular task or set of related tasks and the connectivity serves that purpose. However the business reality is that businesses run on processes which span multiple tasks and of course people. So to automate a business process end-to-end you wind up wanting to connect some of the applications that were written to automate the tasks that make up that business process. As an example, consider the task of updating contact information in the company's address book for a newly hired employee. That employee may launch a .NET desktop app or go to an intranet Web site and enter they home address, cell phone number, emergency contact etc. Now zoom out and look at the big picture and what you see is an end-to-end on-boarding process that includes things like provisioning credentials, certificates, smart card, automatic deposit setup, hardware procurement, office furniture procurement, 401K account setup, setting up a mentor, and the variety of other things a new employee needs to get/set up. The address book update app automates one task in the end to end process but there's no app that automates the entire process.  BizTalk Server allows you to connect existing apps that automate the various tasks of this process and automate the tasks or parts that don't yet have automation to form a complete end-to-end process automation solution. It also gives you an operational or runtime view of that automation allowing you to see all the moving parts from one vantage point and start/stop/change/maintain them.
     
    While it's certainly possible to build VS and .NET apps that automate end-to-end business processes, it's not the most productive use of the customer's/developer's time because they'd have to reinvent (or re-implement) several wheels in the process. It's a bit like building an document management Web site using nothing but ASP.NET: You can do it, but you can do it a lot better and faster if you used Windows SharePoint Services (WSS). The operations folks would also love you for it because of the management features they get out of the box with WSS.
     
    Ref1: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06coredocs/html/011684a5-0aaf-4355-b6a6-d6fef5993863.asp
    Ref2: http://www.microsoft.com/biztalk/evaluation/overview/default.mspx?pf=true
    Ref3: http://blogs.msdn.com/yassers/archive/2006/07/25/678105.aspx