Saturday, April 19, 2008

How to change forecolor of commandbutton in VB

There is no property of command button through we can change its fore color. fore color means the color of the text in the command button. but there is a trick for doing this.

1. Make a command button.
2. Go to properties of the button n in style select graphical instead of standard.
3. Now use paint to make a small picture os the text u want to be displayed
in the command button.
4. Now come back to properties n in picture property of command button
browse n give the path of the paint file u created.
5. u r done.


that's the simple trick without any scripts n codes.
njoy!!

Friday, April 18, 2008

OUT OF FREQUENCY message or error

Graphics
Black screen or monitor frequency error after installing updated graphics driver or chainging some display settings we get a screen saying OUT OF FREQUENCY


Symptom(s):


  • Black screen after installing updated graphics driver
  • Error: "out of frequency range"



Solution:

Customers with this problem should do following:



  1. Boot into Safe Mode by holding down <Ctrl> during bootup or pressing <F8> when it says "Starting Windows".
  2. Go into Display Properties and lower the screen resolution and refresh rate to 640x480 and 60 Hz (or adapter default). The screen resolution can be changed by going into Start > Settings > Control Panel > Display > Settings. The refresh rate can be change by clicking the "Advanced" button and selecting the "Adapter" tab.
  3. Reboot in standard mode.
  4. Go to Start > Settings > Control Panel > Display > Settings > Advanced. Select the "Adapter" tab. The driver information will appear. Click on the "Change" button.
  5. The "Update Device Driver Wizard" window should open.
  6. Click "Next".
  7. In the next window, select the "Display a list" option and click the "Next" button.
  8. Next, click on "Show all hardware".
  9. In the split screen window under "Manufacturers:", select "(Standard display types)".
  10. In the other half of the split window, select "Standard PCI Graphics Adapter (VGA)"
  11. Then click on the "Next" button.
  12. Click on "Finish," then close all open windows.
  13. When asked to restart, click on "Yes."


Install the latest graphics drivers according to the instructions in the readme file.
Graphics drivers for Intel® 810/810E/810E2 chipsets
Graphics drivers for Intel® 815/815E chipsets