:::: MENU ::::

Tuesday, May 10, 2011

1. In Windows Explorer, navigate to C:\Windows\System32\imageres.dll. (see screenshot below)

2. Right click on the imageres.dll file, and click on Copy. (see screenshot above)

3. Right click on your desktop, and click on Paste.

4. If you have not already, then download and install Resource Hacker from http://www.box.net/shared/y5ctmqg3t5 (or newer version if available).

5. Unzip the "reshack.zip" and run "ResHacker.exe".

6. If prompted by UAC, then click on Yes.

7. In Resource Hacker, click on File and Open. (see screenshot below)

8. Navigate to and select the imageres.dll file copy on your desktop, and click on Open. (see screenshot below)

9. In the left pane of Resource Hacker, expand WAVE, and 5080, to 1033. (see screenshot below)
NOTE: If 5080 and 1033 is named something else, then that is fine as long as they are still under WAVE. Just substitute what you have instead in the steps below. You can click on the Play WAVE button to hear what the current startup sound is.

10. Right click on 1033 and click on Replace Resource. (see screenshot below)

11. Click on Open file with new resource. (see screenshot below)

12. Navigate to and select the .wav file that you want for the startup sound, and click on Open. (see screenshot below)
NOTE: This .wav file must be unblocked and remain at this same location. For example, move or copy the .wav into the C:\Windows\Media. If you move or delete this .wav file, the startup sound will no longer play it.

13. Under Resource Type, type WAVE. Under Resource Name, type 5080. Under Resource Language, type 1033. Click on the Replace button. (see screenshots below)

14. Click on File and Save, then close Resource Hacker. (see screenshot below)
NOTE: You can click on the Play WAVE button first to hear and verify what the current startup sound is set as in this file.
15. On your desktop, Move and Save the imageres_original.dll file to a safe location.
warning   Warning

16. Check to make sure that the Play Windows Startup sound is checked in Sound so that it is turned on by right clicking on desktop --> perzonalise-->windows sound. (see screenshot below)

17.Insert Windows 7 boot Disc and  Restart the computer and boot into the System Recovery Options (WinRE) screen, then select the Command Prompt option and press enter.
NOTE: If you do not have a retail Windows 7 installation disc, then you can create a System Repair Disc to use to boot to the System Recovery Screen instead.

18. In the command prompt, type diskpart and press enter. (see screenshot below step 22)

19. In the command prompt, type list volume and press enter. (see screenshot below step 22)

20. Make note of what the drive letter is for your Windows 7 partition or drive. (see screenshot below step 22)
NOTE: For example, mine is listed as D here. Look at the volume name and size to help you determine which letter is the one that you have Windows 7 installed on.

21. In the command prompt, type exit and press enter. (see screenshot below step 22)

22. In the command prompt, type the command below and press enter. (see screenshot below)
NOTE: Substitute D in the command below with the drive letter you have listed in step 20 for your Windows 7, and substitute username in the command below with your user account name

COPY /V /Y "D:\Users\username\Desktop\imageres.dll" "D:\Windows\System32"

23. Close the command prompt, and click on the Restart button. (see screenshot above)

24. As Windows 7 restarts, you will hear your new startup sound.

Restore Default Windows 7 Startup Sound
1. Copy the default backup imageres_original.dll file (step 15 above) to your desktop.

2. Right click on the imageres_original.dll file and click on Rename.

3. Rename it to imageres.dll and press enter.

4. Repeat steps 17 to 24 above to restore this file.
That's it.......!!!!!!!!!!!!!!


Wednesday, April 27, 2011

1. Adding Adodc Control to the form: 

1.1 Open Visual Basic 6-->Click Project in the MenuBar-->Components-->Microsoft ADO Control 6.0(OLEDB)-->ok
1.2 Now the control is added to the tool box. from the tool box drag it to the form

2. Creating Database in VB6:

2.1 Go to Menu bar-->Add-Ins-->Visual Data Manager.
2.2 In Visual Data Manager Menu Bar-->File-->New-->Microsoft Access-->Version 7.0 MDB--> Give File Name -->Save.
2.3 Now a Properties tab is created in the same window, right click it-->new table-->give table name-->add fields by giving name and type, continue it for 3or 4 datas-->ok-->now build the table.
2.4 Now the file is show in the same window, right click it-->open-->now add the value for the fields you created in step 2.3
2.5 Tats it ...Database is created..!!!!!!

3. Connecting Database with ADODC Control in VB Form:

3.1 In the Form Right Click Adodc1 Control-->Properties-->Use Connection String-->Select the Database from the location in your computer-->Test Connection.
3.2 Select the Record Source tab in the same Adodc Property Window-->In Command Type select 2-adCmdTable-->Select your Table name in the below drop down list-->ok

Monday, April 25, 2011

 1. Right Click on Desktop -->Open Microsoft Access 2007 --> New-->Blank Database and give database name with “.mdb” extension and save it on any location in your computer.
2. The design view of the table is as follows:
 3. Open Control Panel--> Administrative Tools-->Data Source (ODBC)-->select MS Access Database Microsoft Access Driver(*.mdb,*.accdb) and click add -->  Select Driver do Microsoft Access(*.mdb)-->finish
4. Now give Data Source Name (e.g. My_Company)--> Click Select button and select the database you saved in your computer in step 1
5. Now you can see that the DSN “My_Company” is getting added in the User DSN list. Following type of screen may appear and click ok
6. Tats all ….now your database is connected with DSN

Friday, April 22, 2011

Some thirty years ago a young clergyman by the name of Gunsaulus announced in the newspapers of Chicago that he would preach a sermon the following Sunday morning entitled:
The announcement caught the eye of Philip D. Armour, the wealthy packing-house king, who decided to hear the sermon.
In his sermon Dr. Gunsaulus pictured a great school of technology where young men and young women could be taught how to succeed in life by developing the ability to THINK in practical rather than in theoretical terms; where they would be taught to "learn by doing." "If I had a million dollars," said the young preacher, "I would start such a school."
After the sermon was over Mr. Armour walked down the aisle to the pulpit, introduced himself, and said, "Young man, I believe you could do all you said you could, and if you will come down to my office tomorrow morning I will give you the million dollars you need."
There is always plenty of capital for those who can create practical plans for using it.
That was the beginning of the Armour Institute of Technology, one of the very practical schools of the country. The school was born in the "imagination" of a young man who never would have been heard of outside of the community in which he preached had it not been for the "imagination," plus the capital, of Philip D. Armour.
Every great railroad, and every outstanding financial institution and every mammoth business
- 6 -
enterprise, and every great invention, began in the imagination of some one person.
F. W. Woolworth created the Five and Ten Cent Store Plan in his "imagination" before it became a reality and made him a multimillionaire.
Thomas A. Edison created the talking machine and the moving picture machine and the incandescent electric light bulb and scores of other useful inventions, in his own "imagination," before they became a reality.
During the Chicago fire scores of merchants whose stores went up in smoke stood near the smoldering embers of their former places of business, grieving over their loss. Many of them decided to go away into other cities and start over again. In the group was Marshall Field, who saw, in his own "imagination," the world's greatest retail store, standing on the selfsame spot where his former store had stood, which was then but a ruined mass of smoking timbers. That store became a reality.
Fortunate is the young man or young woman who learns, early in life, to use imagination, and doubly so in this age of greater opportunity.
Imagination is a faculty of the mind which can be cultivated, developed, extended and broadened by use. If this were not true, this course on the Fifteen Laws of Success never would have been created, because it was first conceived in the author's "imagination," from the mere seed of an idea which was sown by a chance remark of the late Andrew Carnegie.
Wherever you are, whoever you are, whatever you may be following as an occupation, there is room for you to make yourself more useful, and in that manner more productive, by developing and using your "imagination."
Success in this world is always a matter of individual effort, yet you will only be deceiving yourself if you believe that you can succeed without
- 7 -
the co-operation of other people. Success is a matter of individual effort only to the extent that each person must decide, in his or her own mind, what is wanted. This involves the use of "imagination." From this point on, achieving success is a matter of skillfully and tactfully inducing others to co-operate.
Before you can secure co-operation from others; nay, before you have the right to ask for or expect co-operation from other people, you must first show a willingness to co-operate with them. For this reason the eighth lesson of this course, THE HABIT OF DOING MORE THAN PAID FOR, is one which should have your serious and thoughtful attention.
The law upon which this lesson is based, would, of itself, practically insure success to all who practice it in all they do.
In the back pages of this Introduction you will observe a Personal Analysis Chart in which ten well known men have been analyzed for your study and comparison. Observe this chart carefully and note the "danger points" which mean failure to those who do not observe these signals. Of the ten men analyzed eight are known to be successful, while two may be considered failures. Study, carefully, the reason why these two men failed.
Then, study yourself. In the two columns which have been left blank for that purpose, give yourself a rating on each of the Fifteen Laws of Success at the beginning of this course; at the end of the course rate yourself again and observe the improvements you have made.
The purpose of the Law of Success course is to enable you to find out how you may become more capable in your chosen field of work. To this end you will be analyzed and all of your qualities classified so you may organize them and make the best possible use of them.
You may not like the work in which you are now engaged. - 8 -
There are two ways of getting out of that work. One way is to take but little interest in what you are doing, aiming merely to do enough with which to "get by." Very soon you will find a way out, because the demand for your services will cease.
The other and better way is by making yourself so useful and efficient in what you are now doing that you will attract the favorable attention of those who have the power to promote you into more responsible work that is more to your liking.
It is your privilege to take your choice as to which way you will proceed.
Again you are reminded of the importance of Lesson Nine of this course, through the aid of which you may avail yourself of this "better way" of promoting yourself.
Thousands of people walked over the great Calumet Copper Mine without discovering it. Just one lone man used his "imagination," dug down into the earth a few feet, investigated, and discovered the richest copper deposit on earth.
You and every other person walk, at one time or another, over your "Calumet Mine." Discovery is a matter of investigation and use of "imagination." This course on the Fifteen Laws of Success may lead the way to your "Calumet," and you may be surprised when you discover that you were standing right over this rich mine, in the work in which you are now engaged. In his lecture on "Acres of Diamonds," Russell Conwell tells us that we need not seek opportunity in the distance; that we may find it right where we stand! THIS IS A TRUTH WELL WORTH REMEMBERING!
Author of the Law of Success.