----------------------------------------------------------------------------------
Follow below steps to recover the deleted items from Outlook.
Operating System : Window XP
Outlook Version : 2000
----------------------------------------------------------------------------------
· First go to Start-->Run and type regedit
· Go to: \HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\EXCHANGE\CLIENT\OPTIONS registry key.
· Right click options and add new DWORD VALUE (data type is REG_DWORD) and then right click and rename to DumpsterAlwaysOn. It is case sensitive.
· Then right click and modify and make the value 1 to turn the Recover Deleted Items menu choice on for all folders or enter 0 to turn it off.
· Then go to Outlook , choose "Recover deleted items" option from the Tools Menu to get back your "permanently deleted" mails
----------------------------------------------------------------------------------
Sunday, February 8, 2009
Sunday, July 13, 2008
How To Use the Remote Shutdown Tool to Shut Down and Restart a Computer in Windows
Shutdown.exe is available in the Microsoft Windows 2000 Resource Kit. It is a command-line tool that you can use to shut down or restart a local or remote computer that is running Windows 2000 or Windows NT 4.0. If you want to schedule a computer to shut down and restart at a specific time, use Shutdown.exe in combination with the at command or Task Scheduler.
C:\Documents and Settings>shutdown /?
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]
No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without war
ning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)
Examples :
• To shut down the local computer in two minutes and display a "The computer is shutting down" message, use the following line in a batch file or type it at a command prompt, and then press ENTER:
shutdown /l /t:120 "The computer is shutting down" /y /c
To cancel the shutdown process, type the following line at the command prompt, and then press ENTER:
shutdown /l /a /y
• To shut down and restart a remote computer named "Support," use the following line in a batch file or type it at a command prompt, and then press ENTER:
shutdown \\support /r
• To schedule the local computer to shutdown and restart at 10:00 P.M., type the following line at a command prompt, and then press ENTER:
at 22:00 shutdown /l /r /y /c
• To schedule the local computer to shutdown and restart at 6:00 P.M. every weekday, type the following line at a command prompt, and then press ENTER:
at 18:00 /every:M,T,W,Th,F shutdown /l /r /y /c
Remote System Shutdown
shutdown -r -m <>
Source : http://support.microsoft.com/kb/317371
C:\Documents and Settings>shutdown /?
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]
No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without war
ning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)
Examples :
• To shut down the local computer in two minutes and display a "The computer is shutting down" message, use the following line in a batch file or type it at a command prompt, and then press ENTER:
shutdown /l /t:120 "The computer is shutting down" /y /c
To cancel the shutdown process, type the following line at the command prompt, and then press ENTER:
shutdown /l /a /y
• To shut down and restart a remote computer named "Support," use the following line in a batch file or type it at a command prompt, and then press ENTER:
shutdown \\support /r
• To schedule the local computer to shutdown and restart at 10:00 P.M., type the following line at a command prompt, and then press ENTER:
at 22:00 shutdown /l /r /y /c
• To schedule the local computer to shutdown and restart at 6:00 P.M. every weekday, type the following line at a command prompt, and then press ENTER:
at 18:00 /every:M,T,W,Th,F shutdown /l /r /y /c
Remote System Shutdown
shutdown -r -m <
Source : http://support.microsoft.com/kb/317371
Saturday, July 12, 2008
How to disable browser caching for a specific JSP?
It is possible to keep the browser from caching a JSP page response. The following hints added to the response header seem to prevent most modern browsers from pulling pages out of cache when the same URL is "hit":
response.setHeader( "Pragma", "no-cache" );
response.setHeader( "Cache-Control", "no-cache" );
response.setDateHeader( "Expires", 0 );
The same effect can be achieved by using meta tags in the HTML header:
meta http-equiv="Pragma" content="no-cache">
meta http-equiv="Cache-Control" content="no-cache">
meta http-equiv="Expires" content="Sat, 01 Dec 2001 00:00:00 GMT">
The Cache-Control header was added in HTTP 1.1, while the other two were also present in HTTP 1.0.
Source : http://www.xyzws.com/jspfaq/how-to-disable-browser-caching-for-a-specific-jsp/11
response.setHeader( "Pragma", "no-cache" );
response.setHeader( "Cache-Control", "no-cache" );
response.setDateHeader( "Expires", 0 );
The same effect can be achieved by using meta tags in the HTML header:
meta http-equiv="Pragma" content="no-cache">
meta http-equiv="Cache-Control" content="no-cache">
meta http-equiv="Expires" content="Sat, 01 Dec 2001 00:00:00 GMT">
The Cache-Control header was added in HTTP 1.1, while the other two were also present in HTTP 1.0.
Source : http://www.xyzws.com/jspfaq/how-to-disable-browser-caching-for-a-specific-jsp/11
Thursday, June 5, 2008
Struts : DropDown Population With HashMap
The Below line of code will usefull to Load the values from the HashMap to the DropDow / List box.
html:optionsCollection property="formIdNameMap" value="key" label="value"
Wednesday, June 4, 2008
Java : HashMap to StringArray
This below code helps you to Convert the HashMap Values / Keys to StringArray, This will make your code more compact.
import java.util.HashMap;
public static void main(String str[])
{
HashMap hMap = new HashMap();
hMap.put("1","One");
hMap.put("2","Two");
String strArray[] = null;
// converting the Values's to String Array
strArray = (String[])(hMap.values().toArray(new String[0]));
System.out.println( strArray[0] + strArray[1]);
// converting the Key's to String Array
strArray = (String[])(hMap.keySet().toArray(new String[0]));
System.out.println( strArray[0] + strArray[1]);
}
import java.util.HashMap;
public static void main(String str[])
{
HashMap hMap = new HashMap();
hMap.put("1","One");
hMap.put("2","Two");
String strArray[] = null;
// converting the Values's to String Array
strArray = (String[])(hMap.values().toArray(new String[0]));
System.out.println( strArray[0] + strArray[1]);
// converting the Key's to String Array
strArray = (String[])(hMap.keySet().toArray(new String[0]));
System.out.println( strArray[0] + strArray[1]);
}
Subscribe to:
Posts (Atom)