using "syskey" command for creating extra security layer for ur system.
Start->Run->syskey->select update button to enter ur password
then select Password Startup option and enter password and it confirm,then select ok.
Now u restart ur system. startup password screen diplsay after window xp logo screen displayed.
Thursday, November 20, 2008
Monday, November 17, 2008
Code for logout process
Place the below code in form_load function
Response.AddHeader("Cache-control", "no-store, must-revalidate, private,no-cache"); Response.AddHeader("Pragma", "no-cache");
Response.AddHeader("Expires", "0");
Response.AddHeader("Cache-control", "no-store, must-revalidate, private,no-cache"); Response.AddHeader("Pragma", "no-cache");
Response.AddHeader("Expires", "0");
Friday, November 14, 2008
Create Folder without any name
Create new Folder-> Select Rename->Hold alt key and type 0160 in number pad...
If u want to know ascii value of A-z and a-z just do like same what we did above..
Create Folder->Select Rename->Hold alt+65 then it display corressponding character in ur folder name.
If u want to know ascii value of A-z and a-z just do like same what we did above..
Create Folder->Select Rename->Hold alt+65 then it display corressponding character in ur folder name.
Monday, November 10, 2008
Easily hacking by google
If u want to know about index of any webpage,music,ebooks etc
use the following command in google search box and hit enter
"?intitle:index.of?type category u want searchitem name"
for ex:
if u want to know about gmail
"?intitle:index.of?mail gmail"
if u want to know abt music
"?intitle:index.of?music raaga" try this
use the following command in google search box and hit enter
"?intitle:index.of?type category u want searchitem name"
for ex:
if u want to know about gmail
"?intitle:index.of?mail gmail"
if u want to know abt music
"?intitle:index.of?music raaga" try this
Saturday, November 8, 2008
create PDF file using C#.net
use below link to download pdfsharp dll file
http://sourceforge.net/projects/pdfsharp/
download the file and add reference to ur program then only u can create pdf file
code:
using System;
using System.Diagnostics;
using System.IO;
using PdfSharp;
using PdfSharp.Drawing;
using PdfSharp.Pdf;
using PdfSharp.Pdf.IO;
namespace HelloWorld
{
class Program
{
[STAThread] static void Main(string[] args)
{
// Create a new PDF document
PdfDocument document = new PdfDocument();
// Create an empty page
PdfPage page = document.AddPage();
// Get an XGraphics object for drawing
XGraphics gfx = XGraphics.FromPdfPage(page);
XPdfFontOptions options = new XPdfFontOptions(PdfFontEncoding.Unicode, PdfFontEmbedding.Always);
// Create a font
XFont font = new XFont("Arial", 20, XFontStyle.Bold, options);
// Draw the text
gfx.DrawString("Hello, World!", font, XBrushes.Black, new XRect(0, 0, page.Width, page.Height), XStringFormats.Center);
// Save the document...
string filename = "HelloWorld.pdf";
document.Save(filename);
// ...and start a viewer.
Process.Start(filename);
}
}
}
http://sourceforge.net/projects/pdfsharp/
download the file and add reference to ur program then only u can create pdf file
code:
using System;
using System.Diagnostics;
using System.IO;
using PdfSharp;
using PdfSharp.Drawing;
using PdfSharp.Pdf;
using PdfSharp.Pdf.IO;
namespace HelloWorld
{
class Program
{
[STAThread] static void Main(string[] args)
{
// Create a new PDF document
PdfDocument document = new PdfDocument();
// Create an empty page
PdfPage page = document.AddPage();
// Get an XGraphics object for drawing
XGraphics gfx = XGraphics.FromPdfPage(page);
XPdfFontOptions options = new XPdfFontOptions(PdfFontEncoding.Unicode, PdfFontEmbedding.Always);
// Create a font
XFont font = new XFont("Arial", 20, XFontStyle.Bold, options);
// Draw the text
gfx.DrawString("Hello, World!", font, XBrushes.Black, new XRect(0, 0, page.Width, page.Height), XStringFormats.Center);
// Save the document...
string filename = "HelloWorld.pdf";
document.Save(filename);
// ...and start a viewer.
Process.Start(filename);
}
}
}
Friday, November 7, 2008
Command for Shutdown System from Command Prompt
Here i Post how to shtdown,logoff,abort shutdown process using Command Prompt
Get into cmd using start->run->cmd->click Enter
Cmd window open here.
type shutdown -s : this statement for shutdown the system
shutdown -l : this statment for logoff the system
shutdown -a : aborting shutdown process
shutdown -m\\computername : this statement for shutdown remote system
if u need to know full options about shutdown command type shutdown /?
Get into cmd using start->run->cmd->click Enter
Cmd window open here.
type shutdown -s : this statement for shutdown the system
shutdown -l : this statment for logoff the system
shutdown -a : aborting shutdown process
shutdown -m\\computername : this statement for shutdown remote system
if u need to know full options about shutdown command type shutdown /?
How to Create a New User in Windows Xp without Accessing Another login But Through Command prompt
This is very useful to create admin without entering into windows Screen.
Normally we crearte new user from start->control panel->user account
Ths method is quit interesting to create your own account with out entering into windows screen.
Step to create user Account:
1. when system get boot press F8 function key to get a windows choice menu
2. From that select "COMMAND PROMPT OPTION"
3. After getting Command Prompt use "NET USER" Command to Create account.
EX:
if u need any help about NET USER. u Can Use NET USER ?
NET USER username /add password
if u want delete existing account or any other account
NET USER Accoutname /delete
Normally we crearte new user from start->control panel->user account
Ths method is quit interesting to create your own account with out entering into windows screen.
Step to create user Account:
1. when system get boot press F8 function key to get a windows choice menu
2. From that select "COMMAND PROMPT OPTION"
3. After getting Command Prompt use "NET USER" Command to Create account.
EX:
if u need any help about NET USER. u Can Use NET USER ?
NET USER username /add password
if u want delete existing account or any other account
NET USER Accoutname /delete
Subscribe to:
Posts (Atom)