Did you experience to log-in in a web application while accidentally type password in "account/user name" text box,
and then a pop up box showing you account with password appears as one of the option for subsequent log in?
And then you still unable to remove the pop up after you try to delete cookies and browsing history?
If that so, you should try this one:
1. Open the web browser (e.g. Mozilla, IE)
2. Press [ctrl]+[shift]+[delete]
3. A dialog box will be prompted
4. Select "Form & Search History" check box
5. Click [Clear Now] button
Note: all log-in account will be deleted, if you're logged in any account (e.g. email or any web application), you'll need to relog-in
Thursday, April 14, 2011
Saturday, February 26, 2011
Monday, August 23, 2010
USING ROW_NUMBER FUNCTION IN SQL QUERY
ROW_NUMBER is used to query the row number. It's very useful when need to get the sequence number of an ordered query.
Here's the example of query to use it.
Table 'TClass'

Give row number from the most to least Num_Attendee:
Query:
SELECT ROW_NUMBER() OVER (ORDER BY Num_Attendee desc) AS Row_Num, * FROM TClass
Result:

Give row number for each Class from the most to least Num_Attendee in a class:
Query:
SELECT ROW_NUMBER() OVER (PARTITION BY CLASS ORDER BY Num_Attendee desc) AS Row_Num, * FROM TClass
Result:

Get the most Num_attendee of each class:
Query:
SELECT Class, Num_attendee FROM
(
SELECT ROW_NUMBER() OVER (PARTITION BY CLASS ORDER BY Num_Attendee desc) AS Row_Num, * FROM TClass
) x
WHERE x.Row_Num=1
Result:
Here's the example of query to use it.
Table 'TClass'

Give row number from the most to least Num_Attendee:
Query:
SELECT ROW_NUMBER() OVER (ORDER BY Num_Attendee desc) AS Row_Num, * FROM TClass
Result:

Give row number for each Class from the most to least Num_Attendee in a class:
Query:
SELECT ROW_NUMBER() OVER (PARTITION BY CLASS ORDER BY Num_Attendee desc) AS Row_Num, * FROM TClass
Result:

Get the most Num_attendee of each class:
Query:
SELECT Class, Num_attendee FROM
(
SELECT ROW_NUMBER() OVER (PARTITION BY CLASS ORDER BY Num_Attendee desc) AS Row_Num, * FROM TClass
) x
WHERE x.Row_Num=1
Result:
Tuesday, July 13, 2010
How to Remove All Hyperlinks in Word or Excel
Here's the step by step how to remove all hyperlinks in your excel or Word file:
1. Open the word/ excel file
2. Hit [Alt]+[F11] to open the Visual Basic Editor
3. Go to menu [Insert]>[Module]
4. Copy and paste the code below:
Ms. Word:
Sub RemoveHyperlinks()
Dim oField As Field
For Each oField In ActiveDocument.Fields
If oField.Type = wdFieldHyperlink Then
oField.Unlink
End If
Next
Set oField = Nothing
End Sub
Ms. Excel:
Sub RemoveHyperlinks()
'Remove all hyperlinks from the active sheet
ActiveSheet.Hyperlinks.Delete
End Sub
5. And then click [File]>[Close]
6. On Word/Excel file go to [View]>[Macros]>[View Macros]
7. Run “RemoveAllHyperlinks”
8. Now all hyperlinks are removed successfully
Note: I'm using Office 2007
1. Open the word/ excel file
2. Hit [Alt]+[F11] to open the Visual Basic Editor
3. Go to menu [Insert]>[Module]
4. Copy and paste the code below:
Ms. Word:
Sub RemoveHyperlinks()
Dim oField As Field
For Each oField In ActiveDocument.Fields
If oField.Type = wdFieldHyperlink Then
oField.Unlink
End If
Next
Set oField = Nothing
End Sub
Ms. Excel:
Sub RemoveHyperlinks()
'Remove all hyperlinks from the active sheet
ActiveSheet.Hyperlinks.Delete
End Sub
5. And then click [File]>[Close]
6. On Word/Excel file go to [View]>[Macros]>[View Macros]
7. Run “RemoveAllHyperlinks”
8. Now all hyperlinks are removed successfully
Note: I'm using Office 2007
Friday, April 30, 2010
Microsoft Office 2007 to PDF
In Ms Office 2007, there's add-in allows you to export and save to the PDF and XPS formats.
The installer called SaveAsPDFandXPS.exe, can be found by searching in your desired search engine.
What to do is just click on the installer and follow the instructions to complete the installation.
You'll see the add-in in the Ms office in the Save As sections.
The installer called SaveAsPDFandXPS.exe, can be found by searching in your desired search engine.
What to do is just click on the installer and follow the instructions to complete the installation.
You'll see the add-in in the Ms office in the Save As sections.
Friday, September 18, 2009
What to do if Your Image can't be displayed in Yahoo Messenger
If your image can't be displayed in your YM, some ways worth to try:
- Re-install your adobe flash player
- If the first way doesn't work, you still can change your display image by:
- Open C:\Program Files\Yahoo!\Messenger\Profiles\[Your YM Account]\My Icons
- It'll show you all your display images you've inserted to YM in current PC
- Click on run in the start menu of Windows, type regedit:HKEY_CURRENT_USER -> Software -> Yahoo -> pager -> profiles -> [Your YM Account] -> Friend Icon
- Change/modify picture name in the path value to your desired picture name in C:\Program Files\Yahoo!\Messenger\Profiles\[Your YM Account]\My Icons folder
- Re-log in your Yahoo Messenger
You'll find actually it's really very easy to change display image in Yahoo Messenger.
Friday, August 7, 2009
Default Trace in LOG folder of SQL Server 2005: Don’t Bother to Delete Them
When you look into your Microsoft SQL Server files, you’ll find 5 trace files in C:\program Files\Microsot SQL Server\MSSQL.1\MSSQL\LOG (if you install SQL Server in drive C). These trace files are running by the default on your SQL Server.
And if you’ve been thinking of deleting it to free some space in your C drive, don’t bother to do it! Here is the explanation why u don't need to delete it.
There’re only 5 trace files with maximum 20 MB of maximum size each. The number in the trace file name indicates its sequence. If a trace file has reached its maximum size (20 MB), a new trace file will be created. So, even they're deleted, they'll be created again as long as the SQL is still working.
Here’s the query to check the currently running of trace file:
SELECT * FROM ::fn_trace_getinfo(DEFAULT)
Property column has the following meaning: 1 = trace option, 2 = trace file name, 3 = maximum size of trace file, 4 = trace stop time, 5 = current trace status.
Hope this information will be useful for you ...
And if you’ve been thinking of deleting it to free some space in your C drive, don’t bother to do it! Here is the explanation why u don't need to delete it.
There’re only 5 trace files with maximum 20 MB of maximum size each. The number in the trace file name indicates its sequence. If a trace file has reached its maximum size (20 MB), a new trace file will be created. So, even they're deleted, they'll be created again as long as the SQL is still working.
Here’s the query to check the currently running of trace file:
SELECT * FROM ::fn_trace_getinfo(DEFAULT)
Property column has the following meaning: 1 = trace option, 2 = trace file name, 3 = maximum size of trace file, 4 = trace stop time, 5 = current trace status.
Hope this information will be useful for you ...
Subscribe to:
Posts (Atom)
