1. Uninstalling any application when OS is corrupted: many times the OS get corrupted due to external causes. So we need to unistall some conflicting applications. In safe mode, generally uninstallation of the component is not possible. For this you can try the following
After booting in safe mode.
Go to Start->Run>Msconfig
Now remove many unimportant services for the timing but check Windows Installer service, then reboot the system. Boot it in normal condition. Then you can continue the process of uninstalling the application.
2. REGISTRY PROBLEM?? Have u suffered the problem.. Registry not found or Error in registry in that type of problems. the best thing is to replace current with backup copy. Like LAST KNOWN GOOD CONDITION at startup menu of windows or if you have system restore then restoring to the older point will help you a lot. The registry problem can occur if you have'nt installed the software properly. For this Unistall the related software using step 2 :)
If the problem not solved. Then REINSTALLATION CAN ONLY HELP IN MANY CASES.
3. SYSTEM FILE MISSING or related: It can be solved by many ways.
1. Start->Run->SFC then check for alter file scan or just write the file name and give them the setup path.
2. Search for file, if found send it to desired folder(WINDOWS,SYSTEM or SYSTEm32 in general)
3. Above not working, Restart the system in command prompt only mode. Go to the setup directory. and write
"extract/a" then starting cabinate file name e.g. DRIVER11.cab then desired file name. The file got extracted, then send it to the desired folder
Free Blog Service Network
Sunday, December 24, 2006
WINDOWS STARTUP:PROBLEM AND SOLUTIONS
Posted by Free Blog Service at 6:46 AM 0 comments
Labels: Solutions, Startup, Startup Problems, Windows
WINDOWS STARTUP PROBLEMS: SAFE MODE!
SAFE MODE: It is the heart of the maintenace people. In safe mode, All critical processed and service only get loaded during the booting process. All other likes display, sounds etc. are blocked. The main intension is to provide a smallest set of resources to be used to diagnosis the problem in windows. When windows got into a problem Then we can try running it in safe mode. On which we can restore current setting to prior versions.
HOW TO DO IT:
When we boot the computer. The first screen display information about the BIOS, 2nd screen tell information about your computer at that time, try frequentely pressing the F8 key.. you will see a windows startup menu stating Safe Mode, Boot logging, Command Prompt Only etc. Choose Safe Mode and press enter.(It should be noted that some time: many BIOS goes to boot choice menu instead of booting the windows. So when window start booting then try F8 Key.
I DON't WANT TO LOAD WINDOWS? WHAT SHOULD I DO.
Repeat the step above, and Command Prompt Only or Choose Safe Mode Command Prompt only. If you have Win98 or prior you directly get into dos prompt in others all component get loaded then the DOS prompt will appear.
ENABLE BOOT LOGGING is also the best thing to check out the log record and the faulty services.
Posted by Free Blog Service at 6:38 AM 1 comments
WINDOWS STARTUP PROBLEMS: STARTUP ITEM REMOVAL
1. UNLOADING STARTUP ITEMS: Many times some unnecessary Items get launched at start of the operating system. This items are how ever get permitted by the user. You can easily disable this startup item. The main drawback is that, they consume certain amount of windows memory everytime. e.g if you have 10 programs. All running simultaneously then, they can easily consume 10-20 MB without any efforts. many startup items are used for quick accessing, Like Quick Pics, agents. We can easily uncheck them
How to do it: Just go to Start->Run->Msconfig(If you don't have install from the internet)
Now select Startup tab. Checkout the listing and uncheck all the items which you don't want to get launched at startup.
My preferred List of Startup Item to get launched(priority 1 Highest)
1. Antivirus
2. AntiSpyware and Others
3. Important System utilities like CrashGuard.
4. Dictionaries/Glossary and related.
5. Related to drivers, like sounds, graphics etc.
My preferred List of removing startup items.
1. QUICK PIC of Applications
2. Agents
3. Clients and Servers(if not in use frequentely).
4. MS OFFICE STARTUP.
Posted by Free Blog Service at 6:28 AM 0 comments
Labels: Startup, Startup Item removal
Sunday, December 10, 2006
JAVA TIPS AND TRICKS
Tips to make your program better
1. Don't make any class file larger than 1000 lines
2. Avoid Using Global Static function, if not possible then put that all function in a separate class.
3. Before starting the project Check out the proper decomposition of classes, interface and function. Practice of making structure then start coding.
e.g All Nouns is the probable candidate for classes and All Verbs are probable candidate for functions. User Interface wherever possible.
4. Always try to features given by java, don't try to write your own code if java provide such thing like StringBuffer, HashMap, ArrayList etc.
5. Always use the System properties handled by java for example. Don't use "\n" u can use
System.getProperty("line.separator");
6. Always Use Java coding convention(if you don't have company specified) and one popular IDE(eclipse/NETBeans etc) for programming.
7. Properly handle exception and their preferred treatment and if possible create a separate Exception Handling class where After Error message that thrown exception will be caught.
8. Avoid use of public data types for any class.
9. Don't use static function for breaking up the code instead use default functions like
-----
------- public abc(StringBuffer[] arg)
----YOUR CODE
----------(AFTER 50 LINES)
Partition can be done by two ways.
arg=doRemainingOperation(arg);
or
doRemainingOperation();
(by using default scope).
10. Convert all reusable components into class/widgets etc. To make them useful for other projects.
12. Do proper documentation for more information check out COMMENTS ON JAVA
it will help in future updation of code, also use fullname for variable don't use i,j,k,a,b,c etc.
e.g. customerCareServiceNumber, customerCareAddress,customerId,
13. In case of database connectivity, use the same name of variables for storing the value of that field i.e FIELD_NAME should be the variable name which contain value of that FIELD_NAME. It will help you to cover out all the errors by mismatch naming.
14. Always break up complex calculation by declaring new variables, it will be really helpful in removing small problems.
e.g.
x=-b+Math.sqrt((b*b-4*a*c))/(2*a) ...(COMMON MISTAKE)
can be solved by using variable
descriminent= (b*b*-4*a*c)
(-b+Math.sqrt(descriminent))/(2*a)
One more thing Always use brackets extra bracket don't create any problem. e.g. the above one without bracket will be quite complex
x= -b/2.0/a + Math.sqrt(b*b-4*a*c)/2.0/a
which seems quite complex
15. Take proper benefit of the scope variables e.g. if the variable maintain different index in a loop declare it at loop .
16. to help Garbage Collector Always unassign unused variables at Finally. and by marking null
e.g String source;
---source work over----
source=null;
Garbage Collector automatically free the space of source!!
16. properly put comments on the programmer I believe that comments are more important then the program because it helps in future reference and quick Accessing and understanding codes and the complete flow. Always use the tags to check out what can be do to update it, it helps in searching e.g. @TODO or @UPDATE xyz by using Hashmap.. etc..
with information why this updation needed
17 Expert Programmers can found tips on JAVA TIPS AND TRICKS BLOG
18. always try to use functions instead of procedures..
More Tips and tricks on "Threading,Database Connectivity, Session Management, Swings, JFrame,STRUTS,EJB" will be posted soon.
****PAGE IS BEING UPDATED REFRESH AFTER 2 Min****
I request you to please leave the comment for further improvement of the blog.
Posted by Free Blog Service at 5:07 AM 1 comments
Labels: improving code, Java, Java tips, Java tips and tricks
Thursday, December 7, 2006
ALL IMPORTANT INDIAN LINKS
check http://www.liveindia.com
Posted by Free Blog Service at 8:16 AM 0 comments