Saturday, January 2, 2010
troubleshooting font problem, Unicode character is not showing
Tick both boxes (you will need the Windows CD).
troubleshooting sound card problem after installing windows Xp professional SP2
I checked Control Panel > Sounds and Audio Devices and found that there has been written
"no audio device" and other options in the window are disabled .
Then I checked Device Manager and here I found that every option under "Video And Game Controllers" is ok.
I started googling and found out the following website from where I got help for fixing this.
http://forums.techguy.org/hardware/578721-solved-no-audio-device-problem.html
This is all I have done.
1. Download PC Wiizard from
http://www.cpuid.com/pcwizard.php
This will give the all information about system's hardware.
Note the description of Mainboard and chipset.
For my case,
Intel Mainboard : Intel D945GCNL
Chipset : Intel i945G/GZ
2. download and install Intel® Chipset Software Installation Utility for the chipset. Reboot the system.
I have found my one from
http://www.intel.com/support/chipsets/sb/CS-020683.htm
3. download and install the audio driver for the Intel Mainboard(Desktop board) of the system.
Done!
All these should make the sound card working again.
Saturday, August 29, 2009
useful website for GRE
You can download the word list in pdf or txt form.
The website is :
http://postech.ac.kr/~gla/gre/
Useful website for IELTS
The website is:
http://ielts-exam.net/
the website has many practice tests, writing part 2 samples, speaking cue card topics.
I think this will also help you to get prepared for IELTS exam.
Hiding hard drives in windows system
In this article I am going to tell you how can you hide your hard drives in windows system.
In order to do that what you have to do is:
go start->run->gpedit.msc
A window of 'group policy' will be opened. At the left hand side go to the
local computer policy->User configuration ->Administrative Templates->windows components
->windows explorer.
It will open a list of options in the middle of the "group policy" window.
Double click on the "hide these specified drives in my computer" option.
A new window will be opened.
From "setting" tab check the "Enabled" option.
And from the "pick one of the following options" select the drives that you want to hide.
click apply/ok to get out of the window.
Done.
now your desired drives that you wish to hide will be hidden.
Tuesday, June 23, 2009
Java oracle connection
Requirement:
To develop an application using Java and Oracle pc should have the configuration to support
java,Oracle Database, Apache-Tomcat Web Server , sufficient Space to store script.
Installation:
For developing java and Oracle based application, i proceeded in the following way:
1. installed "jdk-1_5_0_08-windows-i586-p" in C: / Program Files
2.installed oracle 9i.
3. Installed "jakarta-tomcat-5.5.7”, just unzipped it in D: \java2 folder like “D:\java-2\jakarta-
tomcat-5.5.7”
Java configuration:
I set up the following environment variables as user variable
1. “CATALINA_HOME “---- “D:\java-2\jakarta-tomcat-5.5.7”
2. “JAVA_HOME “----- “C:\Program Files\Java\jdk1.5.0_08”
3. “PATH “---- “C:\Program Files\Java\jdk1.5.0_08 \bin”
4. “CLASSPATH “---- “D:\java-2\jakarta-tomcat-5.5.7\common\lib\servlet-api.jar”
DSN configuration:
1. To get connection with oracle first I had to create a user that has a name “aditi” password “aditi” in oracle 9i.
The command is
create user aditi identified by aditi;
grant connect,resource to aditi;
2. Went to the System DSN and and click add button in the right side.
3. Selected “Oracle in orahome90”
4. Set “myora” as Data Source Name and “dns for oracle” in Description.
5.Pressed test connection at the right side of this page and set “aditi” in the service name and “aditi” in the password. Press ok.
6.It will give a confirmation massage like “connection successful”.
Now the DSN setting is finished.
Starting running my project:
Before I started the project at first I needed to run Oracle database server then “Apache-Tomcat" To start apache-tomcat I went to “D:\java-2\jakarta-tomcat-5.5.7\bin” then started the “startup.bat” file. After running the servers, went to “C:\apache-tomcat-5.5.15\webapps\” this folder, and created a new folder give a name to this folder like “OurEx” copied my project files in this folder.
Now I started my project
To start I opened my browser and in address bar write this
http://localhost:8081/OurEx/main and pressed enter after a few second it shows a login page.
The code for the login page is resides in main.java file. so when i ran the main.java from localhost, it shows the login page to me.
if I type my user name and password, it checks the username and password against the username and password stored in the oracle database, if matched it allows me to enter into the appliaction, other wise shows me a message that "wrong username or password"
For the port number 8080, a user may face problem, so he can change the port from 8080 to 8081.
This thing can be done as follows:
Go to this folder “D:\java-2\jakarta-tomcat-5.5.7\conf” then open “server.xml” file there find this
[ Connector port="8080" maxHttpHeaderSize="8192" ………..]
Change it to this
[Connector port="8081" maxHttpHeaderSize="8192" ………..]
Save and close the file then restart web server .
the port number that is used either in 8081 or 8080 or something other than this, should also be used in the code where ever port number is used. Unless application will not work correctly.
After this I hope there isn’t any problem that may be faced.
Monday, June 22, 2009
how to run a GTK based GUI program in linux
Running a GUI program in linux is much easier than that in windows.
here all the requirements for running a GTK program is installed with the operating system.
For example I ran GTK program in Fedora 10.
first I have checked whether my Fedora 10 system supports gcc compiler.
i wrote a simple c program and compile that program by writing the following command in terminal:
gcc test.c
it produced a output file name a.out.
then just typed ./a.out and this ran the c program.
after that i have checked whether my system has GTK installed.
to check that i issued a command in the terminal
rpm -q GTK2
this gives me the result.
gtk2-2.14.4-3.fc10.i386
I tested all other dependencies in the same way.
And finally when i found that my GTK and all other related packages are installed then i issued a command to run a GTK based program.
gcc te.c -o out1 `pkg-config --cflags --libs gtk+-2.0`
this gave a output file name out1
when i ran the out1 using ./out1 in the terminal i found my GTK program is running perfectly.