Official Google Webmaster Central Blog

Friday, February 22, 2008

Image Container : Asp.Net

// Image Container Class //

//CSS Class //

.rbtopleftcurvegd { background: url(images/whiteimg-bg-left-curve.gif) no-repeat top left; }
.rdleftbordergd {border-left:1px solid #B9B9B9;line-height:5px; height:5px; background-color:White;}
.rdrightbordergd {border-right:1px solid #B9B9B9; border-right-width:1px;width:5px; background-color:White;}
.rdtopbordergd {border-top:#B9B9B9 1px solid;line-height:5px; height:5px; background-color:White;}
.rbtoprightcurvegd { background: url(images/whiteimg-bg-right-curve.gif) no-repeat top right; }
.rbbottomleftcurvegd { background: url(images/whiteimg-bg-bottomleft-curv.gif) no-repeat bottom left; }
.rdbottombordergd {border-bottom:1px solid #B9B9B9; border-bottom-width:1px;line-height:5px; height:5px; background-color:White;}
.rbbottomrightcurvegd { background: url(images/whiteimg-bg-topright-curve.gif) no-repeat bottom right; }
.rdspecinggd { padding: 5px 5px 5px 5px; background-color:White; }
.rbbackcolorgd {background-color:White;}

// End CSS Class //

__________________________________________________________________________________________________________

// Image Container //





//put your image here //

images/events.gif" alt="Events at Ebazr" border="0"/>





// End Image Container //

Note:

//Download following images image here //

// set the path & do not change his name //









Wednesday, February 13, 2008

Date Format - Convert Date Format

1 . Convert Date Format in Asp.Net ( Vb.Net )

Example :

Current date format : 2/22/2008 or 2/22/2008 12:00:00
After converting date format : 22-Feb-2008

Solution :

Dim datformat as String
lblTicketDate.Text = datformat.Format("{0:dd-MMM-yyyy}", dsticketdetail.Tables(0).Rows(0)("dTicketDate"))

2. Convert Date Format in Asp.Net

Example :

Current Date Format : 22-Feb-2008
After converting date format : 2/22/2008

Solution :

Dim dFromOrderDate as String
dFromOrderDate = Convert.ToDateTime(txtFromOrdDate.Text).ToShortDateString()

Saturday, December 29, 2007

How to start windows programs quickly with Run Command?

How to start windows programs quickly with Run Command?




The run option of Start menu is used to run a program or to open a document directly. If you do not know the exact location of the program or document then click on Start button to open Run and type the programs shortcut name to open it directly.


Click the Start Button & Press R Or GoTo RUN Menu & Press Enter

Run Commands

appwiz.cpl -- Used to run Add/Remove wizard

Calc --Calculator

Cfgwiz32 --ISDN Configuration Wizard

Charmap --Character Map

Chkdisk --Repair damaged files

Cleanmgr --Cleans up hard drives

Clipbrd --Windows Clipboard viewer

Control --Displays Control Panel

Cmd --Opens a new Command Window

Control mouse --Used to control mouse properties


Dcomcnfg --DCOM user security

Debug --Assembly language programming tool

Defrag --Defragmentation tool

Drwatson --Records programs crash & snapshots

Dxdiag --DirectX Diagnostic Utility

Explorer --Windows Explorer



Fontview --Graphical font viewer

Fsmgmt.msc -- Used to open shared folders

Firewall.cpl -- Used to configure windows firewall

Ftp -ftp.exe program

Hostname --Returns Computer's name

Hdwwiz.cpl -- Used to run Add Hardware wizard

Ipconfig --Displays IP configuration for all network adapters

Logoff -- Used to logoff the computer

MMC --Microsoft Management Console

Msconfig --Configuration to edit startup files

Mstsc -- Used to access remote desktop

Mrc -- Malicious Software Removal Tool

Msinfo32 --Microsoft System Information Utility

Nbtstat --Displays stats and current connections using NetBIOS over TCP/IP

Netstat --Displays all active network connections

Nslookup--Returns your local DNS server

Osk ---Used to access on screen keyboard

Perfmon.msc -- Used to configure the performance of Monitor.

Ping --Sends data to a specified host/IP

Powercfg.cpl -- Used to configure power option

Regedit --Registry Editor

Regwiz -- Registration wizard

Sfc /scannow -- System File Checker

Sndrec32 --Sound Recorder

Shutdown -- Used to shutdown the windows

Spider -- Used to open spider solitaire card game

Sfc / scannow -- Used to run system file checker utility.

Sndvol32 --Volume control for soundcard

Sysedit -- Edit system startup files

Taskmgr --Task manager

Telephon.cpl -- Used to configure modem options.

Telnet --Telnet program

Tracert --Traces and displays all paths required to reach an internet host

Winchat -- Used to chat with Microsoft

Wmplayer -- Used to run Windows Media player



Wab -- Used to open Windows address Book.

WinWord -- Used to open Microsoft word

Winipcfg --Displays IP configuration

Winver -- Used to check Windows Version

Wupdmgr --Takes you to Microsoft Windows Update

Write -- Used to open WordPad

regedit -- Registry Editor

Friday, December 21, 2007

How to Configure Windows XP to send and receive Fax?

How to Configure Windows XP to send and receive Fax?

If you are using windows XP, you can use sending and receiving option for fax service built into windows XP. You can enjoy free facilities of fax from your computer, because buying a dedicated fax machine for home or small office may not be a feasible option. Using windows XP based fax services; you can read, save, forward, delete the fax messages. By default fax service is not installed in your windows XP, but if you have windows XP CD, you can install fax feature using Add or Remove Program option.

Follow the gives steps to install fax components:

--> To install this feature, you will need to be logged into your computer with administrative rights.

--> Make sure, you have installed modem driver on your computer before running fax components setup.

--> Now click on Start button and go to System Control Panel then double click on Add or Remove Program.

--> Select the Fax services check box under Add or Remove Windows components.

--> Now click Next to finish the fax installation wizard and close it.
















How to Configure Windows XP to send and receive Fax?

If you are using windows XP, you can use sending and receiving option for fax service built into windows XP. You can enjoy free facilities of fax from your computer, because buying a dedicated fax machine for home or small office may not be a feasible option. Using windows XP based fax services; you can read, save, forward, delete the fax messages. By default fax service is not installed in your windows XP, but if you have windows XP CD, you can install fax feature using Add or Remove Program option.



Follow the gives steps to install fax components:

--> To install this feature, you will need to be logged into your computer with administrative rights.

--> Make sure, you have installed modem driver on your computer before running fax components setup.

--> Now click on Start button and go to System Control Panel then double click on Add or Remove Program.

--> Select the Fax services check box under Add or Remove Windows components.

--> Now click Next to finish the fax installation wizard and close it.

--> After the fax components installed, now configure the fax setting before using it.

--> First click on Start button, go to All Programs> Accessories> Communications then click on Fax Console.

--> Now in fax configuration wizard, type the fax cover page information then click on Next.

--> Select the suitable modem for fax and also enable others send and receive options.

--> Now type the TSID (Transmitting Subscriber Identification) and click Next then type here CSID (Called Subscriber Identification) and again Next.

--> At the end select the printer to be automatically printing the fax and click to finish.