Software Development & Traveling information News Updates..
Sunday, April 1, 2012
Wednesday, March 28, 2012
Wednesday, December 7, 2011
10 Quick Fixes to Make your Windows Computer Faster
Quick Fixes to Make your Windows Computer Faster
Your computer running Windows isn’t running in the same speed that it used to run when you first used it. It’s slower, crappy, takes a while to start and tests your patience like anything. There are many reasons for this, let’s try fixing up a few things on your slow Windows PC:
Slow Start Up
There can be a variety of reasons to Windows loading slow during start up. Go to Run, type msconfig and hit enter. Under the ‘Start Up’ tab, uncheck the unwanted programs and press OK. Things should be a bit fine the next time Windows boots.
Another program worth mentioning here is StartUp Delayer which will help in setting after how much time programs should be loaded after Windows boots. For instance, you could set your instant messenger program to load 50 seconds after Windows starts up.
Slow Loading Start Menu
If the Start Menu items are loading slowly, you can open the Registry Editor by typing in the Run menu ‘regedit.exe’ and pressing Enter. Go to HKEY_CURRENT_USERControl PanelDesktop. Look for MenuShowDelay, and double click to edit the value. The lower the number specified, the faster the Start Menu will load.
Slow Right Click Context Menu
Probably the Windows Right Click menu on your computer is loading slow because too many programs added unwanted entries there. Just download this program called Mmm, install it and then modify your context menu to remove unwanted items to speed it up.
Slow Send To Menu
If the Send To menu loads slowly, you can type ‘sendto’ in the Run Dialog, and remove unwanted items in the Explorer Window that appears. This should add some speed to it.
Slow Defragmentation
The Windows Defragmenter can’t get any slower. You need to have an alternative to the Windows Defragmenter, and Defraggler is just one of the best ones available in the market. It’s free, and works like a charm and can speed up defragmentation manifold. For some alternatives, see Five Free Programs to Defragment your PC.
Slow loading My Computer Window
If the My Computer Window loads slowly, in the Explorer Window, go to Tools >> Folder Options >> View and uncheck ‘Automatically search for network folders and printers”
Slow loading Add or Remove Programs Applet
This is one of the most annoying piece of programs present in Windows, it takes ages to load if you have a considerable number of programs installed on your computer. You can either use the all-in-one CCleaner for this purpose, or get MyUninstaller that comes as a speedy replacement for Add or Remove Programs.
Slow Ending of Unresponsive Programs
If you’ve clicked on ‘End Task’ if any program is running unresponsive, you might have noticed that the program is not terminated immediately. You can alter this by going to Run >> regedit.exe >> HKEY_LOCAL_MACHINESystemCurrentControlSetControl and change this value to 1000.
Disable Animations and Appearance Overhauls to maximize performance
If you’re a serious performance junkie, you probably won’t bother about eyecandy. Go to System Properties in the Control Panel. Click ‘Advanced’, then ‘Performance’ and click ‘Adjust for best performance’. This might boost your PC’s performance up a bit.
Additional Tips:
- Always keep your computer clean. Remove Junk and Unnecessary registry entries. Use CCleaner for this purpose, one excellent tool that just does what it says.
- Don’t keep installing software. Install a program only if it really serves you a purpose.
- Keep as less programs as possible running on the System Tray. This essentially means reducing the
Sunday, November 14, 2010
Introduction to JavaScript
Get acquainted with JavaScript
Outcome: Students will learn what JavaScript is, where to put scripts in an HTML document and
how to write simple scripts.
Objectives:
1.1 JavaScript vs Java vs HTML, automatic & triggered scripts
1.2 Where to put your scripts in an HTML document
1.3 How to hide scripts from old web browsers
1.4 How to put comments in scripts
1.5 Alert boxes
1.6 Confirm & Prompt boxes
1.7 Calling functions with a button - MCQ assignment
1. What is JavaScript and how is different from JAVA and HTML?
see table
2. Types of JavaScript
Client side - runs in browser
Server side - runs on server - embeded in web page but
processed on server
3. Scripts can run automatically or be user triggered
4. Placing Scripts
a) in Head tag - this prevents user triggered errors during downloading
b) in body - including within body tag as an attribute
c) within forms as Event handlers - script tag not required
5.
Can be copied from web
page
code can be copyrighted
JAVA
Developed by Sun
Microsystems
James Gosling 199(originally
called Oak changed to Java
1993)
True programming
compiled to bytecode
(not machine code)
platform independent
Object oriented - can create
their own classes
Currently version 1.2
Requires machine specific
interpretor or can use a web
browser
fully extensible i.e. has
unlimited no of objects
including classes with
inheritance
case sensitive
can be used for client server
interaction
In web pages - Applets
can not be copied from web
page - user must make
program available
code can be copyrighted
6. Comment TAGS
HTML
JavaScript // single line comment
/* multiple line comments */
Adding comments to your script is very important so that you and others know what the various
components do especially if you examine the script after several months.
Netscape 1.0 does not support JavaScript
Internet Explorer 2.0 earlier does not support JavaScript
Some other browsers including most WYSIWYG HTML editors do not support JavaScript
Make sure you view scripts in both major browsers to see if it works!
7. Dot Syntax
document.write()
document = object
write() = method something the object does
object. property.method()
Hierachy window is the top not necessary to include
window.document.write()
window.alert()
Note JavaScript is case sensitive!
8. Parenthesis
" " or ' ' double or single can mix " ' " " always pair properly
"" says treat as a literal value
9. Braces - Chicken lips - used with functions
{
{
}
}
10. Outputting to Screen (Can not send to printer)
document.write("Hello World")
document.writeln("Hello World") l is small letter L
need
tag before and script tag to work Can include HTML tags inside document.write("Hellow World") Need to use
or
tags top object is window.alert("message") not necessary to include window user triggered alert by placing in form button using no script tags just event Handler onClick="alert('message')" and form note use of two "" '' parenthesis Then create a function saySomething() activate with a button - this will be the basis of homework assignment. CAUTION: when using notepad to input code do not place a carriage return inside a JavaScript statement or line of code - it will not work! Also make sure you add the .html extension to the file name when saving your scripts in web page. 12) Confirm(" Question") returns Boolean True or False if you choose cancel returns null - ie nothing Confirm('Are aliens visiting our planet?) Include and If else statement and write out a reply 13) Prompt box - user input prompt("Question", "text") you can store information in the prompt by assigning a variable to the prompt var=prompt("What is your name", "name") document.write("
tag to move to next line Can also use \n see Chapter 2 page 14 11) Alert boxes - see Chapter 2 page 17 - Negrino Book. alert("message") automatic alert by placing inGreetings" + var + "
")
Wednesday, October 27, 2010
Enable Remote Connection on SQL Server 2008 Express
Enable Remote Connection on SQL Server 2008 Express
If you’re trying to connect to SQL Server 2008 Express remotely without enable remote connection first, you may see these error messages:
* “Cannot connect to SQL-Server-Instance-Name
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 28 – Server doesn’t support requested protocol) (Microsoft SQL Server)”
Server doesn't support requested protocol
* “Cannot connect to SQL-Server-Instance-Name
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (Microsoft SQL Server)”
Error Locating Server/Instance Specified
* “Cannot connect to SQL-Server-Instance-Name
Login failed for user ‘username‘. (Microsoft SQL Server, Error: 18456)”
Login failed for user 'sa'
To enable remote connection on SQL Server 2008 Express, see the step below:
1. Start SQL Server Browser service if it’s not started yet. SQL Server Browser listens for incoming requests for Microsoft SQL Server resources and provides information about SQL Server instances installed on the computer.
2. Enable TCP/IP protocol for SQL Server 2008 Express to accept remote connection.
3. (Optional) Change Server Authentication to SQL Server and Windows Authentication. By default, SQL Server 2008 Express allows only Windows Authentication mode so you can connect to the SQL Server with current user log-on credential. If you want to specify user for connect to the SQL Server, you have to change Server Authentication to SQL Server and Windows Authentication.
Note: In SQL Server 2008 Express, there isn’t SQL Server Surface Area Configuration so you have to configure from SQL Server Configuration Manager instead.
Step-by-step
1. Open SQL Server Configuration Manager. Click Start -> Programs -> Microsoft SQL Server 2008 -> Configuration Tools -> SQL Server Configuration Manager.
SQL Server Configuration Manager
2. On SQL Server Configuration Manager, select SQL Server Services on the left window. If the state on SQL Server Browser is not running, you have to configure and start the service. Otherwise, you can skip to step 6.
SQL Server Browser Service
3. Double-click on SQL Server Browser, the Properties window will show up. Set the account for start SQL Server Browser Service. In this example, I set to Local Service account.
Set Startup Account
4. On SQL Server Browser Properties, move to Service tab and change Start Mode to Automatic. Therefore, the service will be start automatically when the computer starts. Click OK to apply changes.
Set Start Mode to Automatic
5. Back to SQL Server Configuration Manager, right-click on SQL Server Bowser on the right window and select Start to start the service.
Start SQL Server Browser Service
6. On the left window, expand SQL Server Network Configuration -> Protocols for SQLEXPRESS. You see that TCP/IP protocol status is disabled.
Protocols for SQL EXPRESS
7. Right-click on TCP/IP and select Enable to enable the protocol.
Enable TCP/IP protocol
8. There is a pop-up shown up that you have to restart the SQL Service to apply changes.
Need to Restart SQL Server Service
9. On the left window, select SQL Server Services. Select SQL Server (SQLEXPRESS) on the right window -> click Restart. The SQL Server service will be restarted.
Restart SQL Server Service
10. Open Microsoft SQL Server Management Studio and connect to the SQL Server 2008 Express.
Open Microsoft SQL Server Management Studio
11. Right-click on the SQL Server Instance and select Properties.
Open Server Properties
12. On Server Properties, select Security on the left window. Then, select SQL Server and Windows Authentication mode.
Change Authentication to SQL Server and Windows Authentication
13. Again, there is a pop-up shown up that you have to restart the SQL Service to apply changes.
Need to Restart SQL Server Service
14. Right-click on the SQL Server Instance and select Restart.
Restart SQL Server Service
15. That’s it. Now you should be able to connect to the SQL Server 2008 Express remotely.
If you’re trying to connect to SQL Server 2008 Express remotely without enable remote connection first, you may see these error messages:
* “Cannot connect to SQL-Server-Instance-Name
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 28 – Server doesn’t support requested protocol) (Microsoft SQL Server)”
Server doesn't support requested protocol
* “Cannot connect to SQL-Server-Instance-Name
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (Microsoft SQL Server)”
Error Locating Server/Instance Specified
* “Cannot connect to SQL-Server-Instance-Name
Login failed for user ‘username‘. (Microsoft SQL Server, Error: 18456)”
Login failed for user 'sa'
To enable remote connection on SQL Server 2008 Express, see the step below:
1. Start SQL Server Browser service if it’s not started yet. SQL Server Browser listens for incoming requests for Microsoft SQL Server resources and provides information about SQL Server instances installed on the computer.
2. Enable TCP/IP protocol for SQL Server 2008 Express to accept remote connection.
3. (Optional) Change Server Authentication to SQL Server and Windows Authentication. By default, SQL Server 2008 Express allows only Windows Authentication mode so you can connect to the SQL Server with current user log-on credential. If you want to specify user for connect to the SQL Server, you have to change Server Authentication to SQL Server and Windows Authentication.
Note: In SQL Server 2008 Express, there isn’t SQL Server Surface Area Configuration so you have to configure from SQL Server Configuration Manager instead.
Step-by-step
1. Open SQL Server Configuration Manager. Click Start -> Programs -> Microsoft SQL Server 2008 -> Configuration Tools -> SQL Server Configuration Manager.
SQL Server Configuration Manager
2. On SQL Server Configuration Manager, select SQL Server Services on the left window. If the state on SQL Server Browser is not running, you have to configure and start the service. Otherwise, you can skip to step 6.
SQL Server Browser Service
3. Double-click on SQL Server Browser, the Properties window will show up. Set the account for start SQL Server Browser Service. In this example, I set to Local Service account.
Set Startup Account
4. On SQL Server Browser Properties, move to Service tab and change Start Mode to Automatic. Therefore, the service will be start automatically when the computer starts. Click OK to apply changes.
Set Start Mode to Automatic
5. Back to SQL Server Configuration Manager, right-click on SQL Server Bowser on the right window and select Start to start the service.
Start SQL Server Browser Service
6. On the left window, expand SQL Server Network Configuration -> Protocols for SQLEXPRESS. You see that TCP/IP protocol status is disabled.
Protocols for SQL EXPRESS
7. Right-click on TCP/IP and select Enable to enable the protocol.
Enable TCP/IP protocol
8. There is a pop-up shown up that you have to restart the SQL Service to apply changes.
Need to Restart SQL Server Service
9. On the left window, select SQL Server Services. Select SQL Server (SQLEXPRESS) on the right window -> click Restart. The SQL Server service will be restarted.
Restart SQL Server Service
10. Open Microsoft SQL Server Management Studio and connect to the SQL Server 2008 Express.
Open Microsoft SQL Server Management Studio
11. Right-click on the SQL Server Instance and select Properties.
Open Server Properties
12. On Server Properties, select Security on the left window. Then, select SQL Server and Windows Authentication mode.
Change Authentication to SQL Server and Windows Authentication
13. Again, there is a pop-up shown up that you have to restart the SQL Service to apply changes.
Need to Restart SQL Server Service
14. Right-click on the SQL Server Instance and select Restart.
Restart SQL Server Service
15. That’s it. Now you should be able to connect to the SQL Server 2008 Express remotely.
Tuesday, May 25, 2010
Unregister Windows Installer, and then reregister Windows Installer. To do this, follow these steps:
3) Unregister Windows Installer, and then reregister Windows Installer. To do this, follow these steps:
1. On the "Start" menu, click "Run:.
2. In the "Open" box, type "msiexec /unreg", and then press ENTER.
3. On the "Start" menu, click "Run".
4. In the "Open" box, type "msiexec /regserver", and then press ENTER.
1. On the "Start" menu, click "Run:.
2. In the "Open" box, type "msiexec /unreg", and then press ENTER.
3. On the "Start" menu, click "Run".
4. In the "Open" box, type "msiexec /regserver", and then press ENTER.
Monday, March 29, 2010
Computer Network
Computer Network is process of connecting two or more than that Computers (Host) to share that data and resources. The resource cna be the Physical Peripheral devices such as Printer, CD-Rom , Hard Disk etc.
Types of Network
1. LAN : Local Area Network
2. MAN : Metropolitan Area Network
3. WAN : Wide Area Network
Types of Network
1. LAN :
2. MAN :
3. WAN : Wide Area Network
Subscribe to:
Posts (Atom)