Tuesday, June 10, 2008

Friday 13th June' - NO PETROL DAY

Dear Friends !!!

Petrol in Pakistan
Rs. 17 per litre
Malaysia
Rs. 18 per litre
In India it's
Rs. 48 per litre
In Sri Lanka it is
Rs. 157 per litre

Why this difference in Asia itself?

World Market CRUDE Oil is not
the reason for this.
It's all Gain for private owners?
As we are the general public, or
Common Man as R.K.Laxman would
have said, we have to raise our voice,
let's raise thru Emails.

Forward this to all

Indians and Sri Lankans who cares.

IT HAS BEEN CALCULATED THAT IF

EVERYONE DID NOT PURCHASE A
DROP OF PETROL FOR ONE DAY
AND ALL AT THE SAME TIME,
THE OIL COMPANIES WOULD
CHOKE ON THEIR STOCKPILES.

AT THE SAME TIME IT WOULD HIT

THE ENTIRE INDUSTRY WITH A
NET LOSS OVER 4.6 BILLION DOLLARS
WHICH AFFECTS THE BOTTOM LINES
OF THE OIL COMPANIES.

THEREFORE 'Friday 13th June'

HAS BEEN DECLARED
'STICK IT UP THEIR BEHIND' DAY
AND THE PEOPLE OF THIS NATION
SHOULD NOT BUY A SINGLE DROP
OF PETROL THAT DAY.

THE ONLY WAY THIS CAN BE DONE IS

IF YOU FORWARD THIS E-MAIL TO AS
MANY PEOPLE AS YOU CAN AND AS
QUICKLY AS YOU CAN TO GET THE
WORD OUT. WAITING ON THE
GOVERNMENT TO STEP IN AND
CONTROL THE PRICES IS NOT GOING
TO HAPPEN.

REMEMBER ONE THING, NOT ONLY
IS THE PRICE OF PETROL GOING UP
BUT AT THE SAME TIME, AIRLINES ARE FORCED TO RAISE THEIR PRICES,
TRUCKING COMPANIES ARE FORCED
TO RAISE THEIR PRICES WHICH AFFECTS
PRICES ON EVERYTHING THAT IS

SHIPPED. THINGS LIKE FOOD, CLOTHING, BUILDING SUPPLIES MEDICAL SUPPLIES
ETC.

WHO PAYS IN THE END?

WE DO!

WE CAN MAKE A DIFFERENCE.

IF THEY DON'T GET THE MESSAGE
AFTER ONE DAY, WE WILL DO IT
AGAIN AND AGAIN. SO DO YOUR
PART AND SPREAD THE WORD.
FORWARD THIS EMAIL TO
EVERYONE YOU KNOW .
MARK YOUR CALENDARS AND MAKE
June 13th A DAY THAT THE
CITIZENS SAY


'ENOUGH IS ENOUGH'


We forward so many junk email to

many of our friends, now let us do it
for some useful cause to cut down the
price of the petrol .. ....

REMEMBER :

June 13th Friday 2008

Monday, June 9, 2008

How to Add Meta Tags Using FrontPage

1. While editing a specific page:
2. Click "File" from the menu, the select submenu item "Properties".
3. Click on the "Custom" tab at the top of the window that opens up.
4. For the "User Variables" section, click on the "Add" button at the right.
5. In the small window that opens up there will be 2 fields:
- In the first "Name" field, type in the meta name "Description" without the quotes.
- In the second "Value" field, type in the description that you would like displayed in the search engines below your site title. The description should also include the important keywords near the beginning.
- Click the OK button
6. Click on the "Add" button at the right. (You are in the "Custom" area of "Page Properties" window.)
7. In the small window that opens up there will be 2 fields:
- In the first "Name" field, type in the meta name "Keywords without the quotes.
- In the second "Value" field, type in the keywords that you would like to be found with in the search engines. They should be seperated by commas like:
english as a second language, instruction, online editing, and so on
- Put the most important keywords first.
- Click the OK button.
8. Click the OK button on the next window.
9. Save the page.

Wednesday, June 4, 2008

Resetting the MYSQL Root Password on Windows Systems

Use the following procedure for resetting the password for any MySQL root accounts on Windows:

  1. Log on to your system as Administrator.

  2. Stop the MySQL server if it is running. For a server that is running as a Windows service, go to the Services manager:

    Start Menu -> Control Panel -> Administrative Tools -> Services

    Then find the MySQL service in the list, and stop it.

    If your server is not running as a service, you may need to use the Task Manager to force it to stop.

  3. Create a text file and place the following statements in it. Replace the password with the password that you want to use.

    UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
    FLUSH PRIVILEGES;

    The UPDATE and FLUSH statements each must be written on a single line. The UPDATE statement resets the password for all existing root accounts, and the FLUSH statement tells the server to reload the grant tables into memory.

  4. Save the file. For this example, the file will be named C:\mysql-init.txt.

  5. Open a console window to get to the command prompt:

    Start Menu -> Run -> cmd
  6. Start the MySQL server with the special --init-file option:

    C:\> C:\mysql\bin\mysqld-nt --init-file=C:\mysql-init.txt 

    If you installed MySQL to a location other than C:\mysql, adjust the command accordingly.

    The server executes the contents of the file named by the --init-file option at startup, changing each root account password.

    You can also add the --console option to the command if you want server output to appear in the console window rather than in a log file.

    If you installed MySQL using the MySQL Installation Wizard, you may need to specify a --defaults-file option:

    C:\> "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt.exe"
    --defaults-file="C:\Program Files\MySQL\MySQL Server 5.0\my.ini"
    --init-file=C:\mysql-init.txt

    The appropriate --defaults-file setting can be found using the Services Manager:

    Start Menu -> Control Panel -> Administrative Tools -> Services

    Find the MySQL service in the list, right-click on it, and choose the Properties option. The Path to executable field contains the --defaults-file setting.

  7. After the server has started successfully, delete C:\mysql-init.txt.

  8. Stop the MySQL server, then restart it in normal mode again. If you run the server as a service, start it from the Windows Services window. If you start the server manually, use whatever command you normally use.

Sunday, June 1, 2008

What is SGML?

SGML (Standard Generalized Markup Language) is a language for defining markup languages such as HTML and for specifying the rules for tagging elements in a document. SGML itself is not a markup language; rather, it is a language to create markup languages. SGML supports the definition of markup languages that are hardware- and software-independent. SGML was developed and standardized by the International Organization for Standardization (ISO), which published it in 1986. Because of SGML's complexity, HTML and XML were developed as simplified subsets of SGML for use on the Internet.

Some SGML history

In 1969, Charles Goldfarb leads an IBM research project on integrated law office information systems. With E. Mosher and R. Lorie he invented the Generalized Markup Language (GML) as a means of allowing text editing, formatting, and information retrieval subsystems to share documents.

The first working draft of the SGML standard was published in 1980 by ANSI. By 1983, the sixth working draft is recommended as an industry standard (GCA 101-1983). Major adopters included US IRS and DoD.

A draft ISO standard was published in October 1985, and was adopted by the Office of Official Publications of the EU. Another year of review and comment resulted in the final text, which was published in record time after approval (ISO 8879:1986)

Characteristics of SGML

Descriptive Markup
  • Markup codes categorize parts of a document; they do not tell what processing is to be carried out at particular points in a document (procedural markup).

    E.g.:

    • ``the following item is a paragraph''
    • ``skip down one line, move 5 quads right''

    In SGML, instructions needed to process a document for some particular purpose (for example, to format it) are sharply distinguished from the descriptive markup which occurs within the document. Usually, they are collected outside the document in separate procedures or programs.

  • Document Types

    Documents are regarded as having types, and these are expressed by document type definitions (DTD), which enforce markup for that document type.

  • Data Independence

    SGML encoded documents should be transportable from one hardware and software environment to another without loss of information: platforms differ in character sets, file-naming conventions, interpretation of bytes...

    SGML provides a general purpose mechanism for string substitution, that is, a simple machine-independent way of stating that a particular string of characters in the document should be replaced by some other string when the document is processed.

Visual Basic Sample Projects

You can go for sample programe codes(Visual basic 6) using the links below

http://pages.cpsc.ucalgary.ca/~saul/vb_examples/
http://www11.brinkster.com/notbono/programs.asp
http://www.visualbasic6class.com
http://www.profsr.com/vb/vbintro.htm
http://www.ostrosoft.com/vb/projects.asp
http://www.mvps.org/vbvision/Sample_Projects.htm