ASP.NET Custom role provider

Easy guide to write your custom role provider

Merge splitted .mkv files

Learn how to merge splitted .mkv files (.mkv001,.mkv002...)

How to Zoom in and Zoom out your sql execution plan ?

Tool to tune your sql query

send .exe files with gmail

How to send files having blocked extension with Gmail ?

Multiple home pages in Internet explorer

How to set multiple home pages in internet explorer ?

11/27/2008

How to submit your Sitemap to Yahoo Site Explorer ?

We normally add our website sitemap to Google web master Tools so that it help Search engine bots to index our pages better . Many of us don't know that there is one such tool from another search engine giant , Yahoo i.e Yahoo Site Explorer . So , How to submit a website sitemap to Yahoo Site Explorer ?
  • Go to Yahoo Site Explorer and type your website URL in the Text box (First box in the picture ) and hit Explore URL .
  • If you see some results , your site has already been included , else you have to add it manually by entering your website URL in the My sites column (Second box in the figure ) .
  • If you are doing this after logging in Yahoo its ok or else Yahoo will prompt you to login .
  • Once you logged in , Click on your website link in the Mysites column .
  • You will be taken to a summary page where your websites Authentication status , Homepage and number of feeds will be shown .
  • On the left side of this page , you can find a menu as shown in the figure. Click authentication in it .
  • Now you need to authenticate your URL by either uploading a file to your server or add a meta tag to your homepage .
  • Once you are done with it , Click on Ready to Authenticate . Your authentication status will be changed to pending . Yahoo will verify your website in 24 hours .
  • In the left side menu , you can see feeds option . Click on it and you can submit the feed of your blog in a text box which look like as shown in the figure .
  • Now wait for 2-3 days and you can see better results from Yahoo.
You might love to read this How to make a sitemap for your blogger blog?

Subscribe here to get more blogging tips and tricks or Get blogging tips and tricks via email .

11/23/2008

How to add " Read more " to your blogger homepage posts ?

One good way of increasing your page views is to display summary of your posts and adding a read more link to the end of post summary so that viewers will navigate to the post page and read the complete article . In wordpress , it is quite easy to do that . But How will you do that in Blogger ? So , How to add " Read more " to your blogger homepage posts ?

Follow the steps below to add Read more to your blogger posts !!
  • Login to your Blogger dashboard and navigate as follows : Layout -- > Edit HTML .
  • Now select " Expand widget templates " by putting a tick on checkbox .
  • Click on Download full template and save your Template so that you can restore it if you find any problems .
  • Now find , <data:post.body> </data:post.body>and replace it with the following piece of code .
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'/>
<script type='text/javascript'>
var blogID = "Your Blog id";
function retriveSummaryPost<data:post.id/>(json){document.getElementById("summary<data:post.id/>").innerHTML
= json.entry.summary.$t + "..."}

function CreateSummaryTechnade<data:post.id/>(POSTID){ var script =
document.createElement("script");
script.src = "http://www.blogger.com/feeds/"+blogID+"/posts/summary/"+POSTID+"?alt=json-in-script&callback=retriveSummaryPost<data:post.id/>";
script.type = "text/javascript"; document.getElementsByTagName('head')[0].appendChild(script);
}
</script>
<script type='text/javascript'>
CreateSummaryTechnade<data:post.id/>("<data:post.id/>");
</script>
<span class='rmlink' style='float:right'><a expr:href='data:post.url'>-->Read more...</a></span>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<div id='post_body'><data:post.body/></div>
</b:if>
  • Now replace Your blog id in the above code with your blog 's id . Dont know how to get your blog ID ?? Its simple . Just see the URL of your page which will look something like this
    http://www.blogger.com/html?blogID=24330859&tpl=true
In the above URL letters in blog is the blog ID .
  • Save your template and you are done . Quite simple right ?
Other Blogger Template tricks :
You might love to read these .
You can get more Blogger Tips and Tricks here .

Looking for more Blogger Tips , Subscribe here or click here to get updates via email

11/22/2008

How to add post comment form below your post in Blogger ( Blogspot ) ?

Did you ever try to comment on Blogger ? You might had observed that Clicking on Add Comment link opens a annoying window which wont look like your blog . Its quite irritating for those who design and use custom templates in blogger . But I think now blogger is trying to close these kind of gaps as lot of people are moving to Wordpress when they really want to do some sort of pro blogging .

Blogger has introduced a new feature called add inline comment for showing a add comment form below your blogger post . So How to add inline comment feature to your blogger blog ?
  • Login to Blogger and navigate as shown in the figure . DashBoard --> Settings --> Comments .
  • Select " Embedded below post " in Comment form placement section in the page .
  • Now save your settings .
  • If you are using Blogger default template , you can see a comment form below your post as shown in the figure .
  • If you are using custom blogger template , you need to do some tweaking . Don't worry , its gonna be simple . So How to add comment form to Blogger Custom template ?
  • Navigate to Layout -- > Edit HTML . Check the option ' Expand widget Templates '.
  • Before you do anything , Backup your template by clicking download full template . Now search for the following piece of code . (if you don't check Expand widget templates , you can not find this ).
<p class='comment-footer'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
</p>
  • Replace the above piece of code with the code below .
<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'><b:include data='post' name='comment-form'/>
<b:else/><b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
</b:if></b:if>
</p>
  • Now Click on save Template and you are done . You can now see a comments form below your posts .
You might love to read these .
You can get more Blogger Tips and Tricks here .
Looking for more Blogger Tips , Subscribe here or click here to get updates via email

11/21/2008

Maruti A Star - The new dude in town

Maruti Suzuki has launched the A-Star in the market yesterday targeting the export markets especially the Europe . Like other Maruti's, A Star comes in three versions - Lxi, Vxi and the ZXi. The ZXi variant comes with ABS ( Anti-lock Braking System ) + EBD (Electronic Brake Force and Air-Bags as standard and rear window defogger along with a dashboard integrated 4-speaker music system and an AUX-IN to connect your iPods . The AUX - IN features is there in VXi variant also.

A- Star comes with Suzuki’s 3-Cylinder, 1 Litre KB series engine with 67 Ps of maximum power @ 6200 rpm and 90 nm of torque @ 3500 rpm. The car has been placed in the market by Maruti so that they can compete better with the Hyundai 's best selling car i.e i10 at this moment .

Compared with i 10, A star has go brutal looks . I went to the showroom yesterday and had a look , and you know what , It has got killing looks from the front especially the headlights . But its back looks much like a combination of Santro and Alto moudled like swift . The dash board also looks pretty much cool with a integrated music player . But One thing I dont like is , it gives me feeling of driving a matiz from inside i.e as a driver you wont feel like you are placed at a better height so that you can view comfortably over the dashboard as shown in the figure.

A Star rides on 13-inch tubeless tyres 155/80 R13 and comes with gas-charged dampers. Front suspension is the universal Mc Pherson Struts and Coil Springs while rear is an Isolated Trailing Link Suspension with Coil Springs.

The car will be built exclusively in India for the domestic market and will be exported to 150 countries accross Europe, Middle East, Latin America, Asia, Australlia and Africa.The A-Star comes in a total of 9 colors: Azure Grey, Arctic White, Sunlight Copper, Midnight Black, Paradise Blue, Silky Silver, Healing Green, Bright Red and Desert Brown.

The pricing Ex-Showroom Delhi is as follows:

  • A-star Lxi - Rs3,46,775
  • A-star Vxi -Rs3,74,775
  • A-star Zxi - Rs4,11,775

What I feel about A - star is like , if I have to buy some newly released car as an alternate for i10 , one can go for this .

Anyone had a look on the new dude in town , Please throw your comments .

For more news , Subscribe to my feed or click here to get updates via email .

11/19/2008

How to add different Meta Tags to your blogger posts ?

For those who don't know about Meta Tags , let me introduce you What is a Meta tag ?
A meta tag is an element of HTML that often describes the contents of a Web page, and is placed near the beginning of the page's source code.Meta Tags are not displayed in the page . Search engines use information provided in meta tags to index pages by subject . Most common keywords are Description and Keywords .

Normally we add meta tags to the entire blog in Blogger so that search engines understand what we are writing about . But it will be better if you can add meta tags at the post level . So How to add different Meta Tags in your Blogger posts ?First I will tell you How to add meta Tags to your Blogger blog ?
  • Login to your Blogger account , and Navigate to Layout --> Edit HTML . Find the line below.
<b:include data='blog' name='all-head-content'/>

  • Now add the following piece of code below the above line and replace YOUR-BLOG-URL with your blog main page URL .
<b:if cond='data:blog.url == "http://YOUR-BLOG-URL/"'>
<meta content='DESCRIPTION' name='description'/>
<meta content='KEYWORDS' name='keywords'/>
</b:if>

  • With this you are done adding meta tags to your blog . Now we will add different tags to your Blogger posts . Add the following piece of code below the code which you added above and replace YOUR-BLOGPOST-URL with the specific URL of the post for which you want meta tags to be added .
<b:if cond='data:blog.url == "http://YOUR-BLOGPOST-URL"'>
<meta content='Type your post description here.' name='description'/>
<meta content='Type your post keywords here' name='keywords'/>
</b:if>

  • Repeat the above step for all posts to whom you want unique meta tags to be added and save your template .
Love Blogging Tips From Technade ? Subscribe to my feed or click here to get updates via email .

You might also Love to read this ?
Most common mistakes Blogger 's do with Adsense
How to get more visitors from search Engines by optimising your blog title ?
How to create and add a favicon to your blog or website ?

you can get More Blogger Tips and Tricks here .


11/18/2008

How to turn off or restart your PC automatically ?

Most of the times , I leave my computer turned on before I go to bed . I always wish I can turn it off but I forget about it .Now as I start tending towards becoming more greener , I mean Environmental friendly , I want to avoid this by having something like a sleep timer in TV which turns it off automatically after a certain point of time . Are you also looking for some kind of free software which shutdown or restart your PC automatically ? I have the answer for you guys .

Multifunction Shutdown Manager is a freeware from http://www.mfshut.de/ which does tasks such as shutdown , restart , Logoff , Standby , Monitor On/Off , File cleanup automatically.

Usage of this application is also quite simple . There are two modes in application as shown in the figure . Relative Mode means if you set time as two hours , The software will execute the designated task in two hours which will start once you click Set Timer . A progress bar below set timer will indicate Time left . Absolute Mode means you have to set specific date and time , when the designated task has to execute and it will execute the task at that point of time .In one line All you need to do is , In the needed Tasks dropdown , Select the task you want to execute , Choose the mode , Set the time and hit set timer .

Have you used any free softwares which serve the same , Let others know by throwing your comment .

For more day to day Computer problems , Subscribe to my feed or click here to get updates via email

11/12/2008

Difference between Straight Cable and Cross cable : Make your own Cross Cable

Before you know the difference , you need to know what is the purpose of Straight cable and a crossover cable ?

You need to use a Straight cable when connecting hardware to a computer through some Ethernet hub or switch. We normally use straight cable to connect more than 2 computers through a hub . Use a crossover cable when connecting two similar equipment like Two Ethernet cards without a hub or switch or two hub 's or Two switches . we normally use Crossover to connect two computers directly.

Why is it called Cross Cable ?

A standard CAT 5 cable has a 1-to-1 mapping of pins from one connector to another. A crossover cable connects the transmission pins from one end to the receive pins on the other end (crosses them over, hence the name). When you use a hub , this crossing is automatically done . Hence you can use straight cable when you are connecting through hub or switch .

So How to make your own Crossover cable ?

Last weekend , I thought of connecting two PC's in my room for playing games . But I had only straight cable . I converted straight cable into Cross cable very simply . First see the figure below which depicts wire combination which we have to do .

Remove the outer jacket of your straight cable . Take care so that wires inside do not get damaged . Now you can see wires in the colors as shown in the right side of the figure . That is how your wires are connected in a straight cable . Now cut your green wire and orange wire , and then join green wire with orange and orange wire with green . Similarly Green-white with orange and Orange-white with Green-white . Apply some plaster to this and you are done . No messing with end to end pins and stuff . If you are still facing problems in doing this . Let me know . I will help you .

For more day to day Computer problems , Subscribe to my feed or click here to get updates via email

11/09/2008

How to lock Excel Sheet generated by ASP.NET from editing ? Prevent user from selecting cells in Excel using ASP.NET !

A day back I had a requirement where user should not be able to edit the Excel sheet generated by my ASP.NET application . The user should not be even able to select cells .Normally in Excel Sheet , we can achieve this by going to Tools -- > Protect Sheet in Office 2003 , Review --> Protect Sheet in office 2007 . But How to do this in ASP.NET ? How to protect Excel sheet from getting edited using ASP.NET ? How to lock Excel Sheet using ASP.NET ? For achieving it , Use the code below .

xlWorkSheet.Cells.Locked = true;
// Locks cells in a excel Sheet
xlWorkSheet.EnableSelection =
Microsoft.Office.Interop.Excel.XlEnableSelection.xlUnlockedCells;
// Restrics selecting to only unlocked cells
xlWorkSheet.Protect("admin",false,true,true,false,false,false,false,false,false,false,false,false,false,false,false);
// Protects you Excel sheet with unprotect Password admin and attributes
// similar to Checkboxes as shown in the figure .


Add the above code just before saving your Excel workbook . Now export your excel and try to open it . You will get a message like "Your excel is Protected and readonly . To unlock it blah blah blah .... you will be prompted for password....." .


You might love to read this ? How to remove 'Sys' is undefined ?


Cool na !! For more ASP.NET solutions , Subscribe to my feed or click here to get updates via email

11/08/2008

How to merge spliited mkv files ? play mkv.002 file ?

Yesterday I downloaded some media files and I found them with extensions which are similar to spliited rar file like .mkv001 , .mkv002 , .mkv003 .... I had already installed Klite codec pack and I even have Video LAN player in my PC . I am able to play .mkv001 but not others. I had to search lot of places until I found a solution . So how to play .mkv002 file ? What can we do to get the entire movie in one file ? Follow the steps below to Combine and play mkv file .
  • First of all , you need to install Codecs for playing matroska files . You can download Klite Codec Pack from here .Install it and you can play .mkv file in Windows Media player .
  • Alternately you can install Video Lan player which you can download here and play a .mkv file .
  • Now download HJSplit from here and extract it . HJsplit will be useful in merging the splitted mkv files .
  • Open hjsplit.exe file and click on join which is shown in the figure . In the dialog widow that pops up , Show the .001 file.
  • Select the output location and click start .
  • Joining will be completed and a message will popup " Joining Completed " .
  • Now go to output location you specified and plat the .mkv file either with VLC player or Windows media player (if codec installed ).

A bloggers confession

Today I was going through blogosphere where I noticed an interesting post by Harsh from Virgin Tech . This guy is really Cool. He honestly published that he Copied things in his startup days from some blogs and today he is confessing for what all he did . Click here to read more .

This kind of self motivation by bloggers is seriously appreciated. So I am throwing a free link for him in my blogroll section . Cheers Virgin .

11/05/2008

How to download a whole album from webshots ?

Yes, This is possible with Firefox browser . Firefox supports Add ons which lets us add extended functionality to our browsing experience . You can download a entire a album from Webshots with one such extension called ' Webshots Photo Album downloader ' .
Note : Users has reported that this add on works for previous versions only . Pls check the alternate method .
Install this addon and restart your Firefox Browser .
To download an album, right click on the link to it and select: Download Webshots Album . A dialog window will popup showing the number of photos you are going to download . It won't notify you after download is completed . Just check your downloads folder for completed download .

Alternate method :
You require the following to your Firefox which are listed below for this one to work .
Now go to your webshots album and search for 28 pictures per page (Max number allowed ) link which will look like this . At the bottom right of your screen you can find a link Get Direct Links!, click that , scroll to the bottom of the page where you can notice links getting populated. Let them complete and you will notice 28 links which look like as follows .

http://image21.webshots.com/xx/xx/xx/xx/xxxxxxxxxxxxx_fs.jpg
(X will replaced by some random digits or alphabets )

Now right click in the links frame and Click Download Them all . In the download them all window , Check the images and Start downloading .

It might be hard to download only 28 images but its the only way out guys .

11/04/2008

How to open UIF files ?

A day back I downloaded a file from internet and to my surprise it did not get associated with any application in my PC eventhough I had lot of softwares installed . I checked out the extension and its somewhat different . its .UIF . So what is this UIF and How to open these UIF file for free ??
Universal Image Format ( UIF ) is a powerful compression file format for
backuping CD/DVD and storing it with reduced size . It is fast, reliable, andhas rich set of features which include password-protected, data encryption, MD5 checksum support and much more. UIF can not only contain the complete data of CD/DVD just like ISO image, But UIF also supports backuping multi-session CD/DVD, Audio-CD, VCD, SVCD and DVD-Video .UIF is very much popular among those who download torrents as people compress their file to UIF format before sharing them .
So how to open or decompress UIF files ?

You can achieve this only in two ways . Either open it using some freeware or convert it into some other format like ISO so that you can open it with your softwares . For opening it through first method , You have to use one software named Magic ISO .

Method 1 :

  • Once you complete downloading , Click on File --- > Open . A dialog window will popup . Navigate to your UIF file and open it .

  • Once the file is loaded , right click on it and click on Extract .

  • It will ask you for your preferred output location . Select it in the dialog window , and click Ok .

Thats it you are done .There is one restriction with the trial version of this magic ISO . It can only open UIF files upto 300MB . If you want to open files of larger size , you have to get full version which you can find very easily on torrent sites or you can try method 2 . If you want to download through torrent ,throw a comment , I will give you the torrent link .

Method 2 :

Download UIF2ISO converter , extract it and use it to convert your .UIF file to .ISO format . Once you have converted it to ISO , you can write it to CD/DVD or extract it through some freeware .

For more softwares , Subscribe to my feed or click here to get updates via email .

11/01/2008

How to prevent disk check on every restart of Computer in Windows XP ?

Due to heavy power cuts these days ,I restarted my PC many a times without shutting it down properly . This resulted in a abnormal function in my PC where "A check disk utility will run every time I restart the PC " . It checks my disk and it gives no error .But next time I restart my PC , again it will check my PC . Why is it happening and How to prevent disk check on every restart of your computer ?

This actually happens because of Windows setting Dirty bit on a particular drive.

What is Dirty bit ?
A Dirty bit is a bit in a memory cache or virtual memory page that has been modified by the CPU, but not yet written back to storage."If a volume's dirty bit is set , this indicates that the file system of the volume may be in an inconsistent state for one of the following reasons."
  • The dirty bit can be set because the volume is online and has outstanding changes.
  • Changes that were made to the volume and the computer shuts down before the changes were committed to disk
  • The volume is corrupted . If the dirty bit is set when the computer restarts, Chkdsk /f verifies file system integrity and attempts to fix any problems with the volume.
So How to get rid of this ? Technade has a simple solution for you . Follow the steps below .
  • Open Command prompt by navigating as follows Start --> Run and type cmd in run the prompt .
  • Now type fsutil dirty query driveletter: . Replace driveletter with the drive on whom disk checking is running everytime . For E.g if the problem is with E: drive , you have to type fsutil dirty query e: .
  • The result should be The volume is dirty .
  • Now type CHKNTFS /X D: . The X tells Windows not to check that particular drive on the next reboot.
  • Repeat the above 3 steps for all drives on which Check disk runs on every reboot .
  • Now restart the computer and you will see Check disk not running .
  • Now Open Command prompt again and type Chkdsk /f /r driveletter: (E.g for E: drive Chkdsk /f /r E: ) .
  • It will do disk checking in 5 steps and will unset the dirty bit .Again type fsutil dirty query driveletter: and check the result whether drive is dirty or not .
  • Repeat the above two steps for all drives on which disk check is running every time you reboot .
Now restart your PC and there will be no disk check.

More Virus solutions from Technade :

Show hidden files and folders not working ?
How to remove Orkut is banned , you fool ?
How to remove virus that creates .exe files automatically ?
How to remove the Virus I don't hate Mozilla but use IE or else .. ?
how to remove autoplay option from right click menu of hard disk ?


Love this solution ? , Subscribe to my feed or click here to get updates via email