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 ?

Showing posts with label tips. Show all posts
Showing posts with label tips. Show all posts

3/05/2011

How to write your custom role provider in ASP.NET : Role provider for oracle

Did you ever have to get the user membership information / Role information from a custom table in a database other than ASPNET SQL db ... Something like you want to get the information about user role from a userinfo procedure !!

There are two primary reasons that might make you look at creating a custom role provider.

* You need to store role information in a data source that is not supported by the role providers included with the .NET Framework, such as a teradata database, an Oracle database etc...

* You need to manage role information using a database schema that is different from the database schema used by the providers that ship with the .NET Framework. E,g May be your company uses a custom schema for role authorization..

So how difficult is it to write your own custom role provider in ASP.NET ??

Believe me its as easier as drinking a glass of water :)....A Custom RoleProvider inherits from the abstract base class RoleProvider and has a number of optional methods and properties that can be overrriden.

Follow the steps below to create your own custom role provider !!

1. Add a new class to your project and name it as Something like "CustomRoleProvider".
2. Make sure you inherit the class from Abstract class Role Provider.


public class CustomRoleProvider : RoleProvider
{
///
/// This method will override the getrolesforuser method in roleprovider and do the custom implementation
///

///
///
public override string[] GetRolesForUser(string username)
{

List<string> roles = new List<string>();
//Write your own implementation and add roles returned by your methond to role array
return roles.ToArray();
}

public override void AddUsersToRoles(string[] usernames, string[] roleNames)

{
throw new NotImplementedException();
}

}

You can choose the methods for which you want to implement in the role provide class. Now your Custom role provider class is ready. Now you need to modify your web.config.

3, You need to enable the custom role provider and let your application know that the Custom role provider is its default role provider. So please add the following section to your web.config in <system.web> section.


<roleManager enabled="true" defaultProvider="RapidRoleProvider" cacheRolesInCookie="true"
cookieName="AppRoles"
cookieTimeout="20"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">

<providers>
<clear/>
<add name="RapidRoleProvider" type="CustomeRoleProvider"/>
providers>
roleManager>

If you are using namespace in your web application, make sure you give full directive of the class location in type ... Namespace.ClassName ....

You can see that we are caching the roles in a protected cookie which expires periodically. Once you set Cacherolesincookie = true , your role provider will not reach your datbase everytime user requests for a resource. Instead it checks in the cookie and fetches the result fastly. The advantage is the improvement in performance of the application.

4. Now you are done with your custom role provider and you are ready to use it.. Lets make a small test using declarative security attributes. Lets take some page which is only accessible to user role "Normal".

[PrincipalPermission(SecurityAction.Demand, Role = "Normal")]

public partial class Default : System.Web.UI.Page

{

// ...

}


When a user tries to access the above page, the GetRolesForUser Method in CustomRoleProvider will be called to verify the user is assigned to the “Normal” Role. If so, the page works fine. If not, a SecurityException will be thrown, not allowing the page to be viewed.

Now your role provider works fine.So you can enable security trimming on your sitemap and implement role based security in your application.

If you have any doubts / Questions, please feel free to leave your comment.

Need more asp.net tips and tricks ? For more Subscribe here or click here to get updates via email

EESJ9D5YMRCC


3/06/2009

How to delete all the messages in your orkut inbox ?


I know some friends of mine who deletes their messages frequently . But if they have huge number of messages like me , How will they do it ?

There is something that might help you .

Required : Mozilla Firefox Browser .
GreaseMonkey Firefox Addon.

Greasemonkey script : Rapid orkut message deleter .

After installing this you can delete all your orkut messages very easily .

For more orkut tips and tricks , subscribe to my blog or click here to get updates via email.

3/05/2009

How to remove " This page contains both secure and nonsecure items " ? ASP.NET https Menu workaround

Somedays back , I had to deploy a ASP.Net application in a secure environment for my client . But when I deployed my application in https environment , it started displaying a message " This page contains both secure and non-secure items. Do you want to continue ? " . Being a developer , this message is ok to me . But clients who are generic users might get scared of this . So I was asked to remove this error message . So How to remove " This page contains both secure and non secure items . " ?
  • This message basically occurs when your application try to access a resource like image or some other file from a non secure server . So first you have to search for http in your code . Find all http links and replace them with https .
  • Now check whether all your images and files are hosted on the same secure server where your application has been hosted . If not move them to secure environment .
These two are the common reasons why this error occurs . In ASP.NET if you are using Menu control , it will also this error . So what is workaround for Menu in https ? If you are using the master page , paste the following piece of code in your masterpage code-behind .

protected override void Render(HtmlTextWriter writer)
{
Page.ClientScript.RegisterStartupScript(typeof(Page), "MenuHttpsWorkaround", Menu1.ClientID + "_Data.iframeUrl='Blank.htm';", true);
base.Render(writer);

}
Add a new blank HTML page to your application folder and replace blank.htm in the above code with that page . Aslo replace Menu1 with your Menu Item Id . Once you make the changes , publish the code and check it in secure environment . The error message would not display again .

For more ASP.NET Tips and tricks , subscribe to my blog or click here to get updates via email.

12/27/2008

How to remove a value from array in javascript ?

Yesterday I was writing javascript and I came across a problem where I had to remove a value from a array in javascript . As usual I tried Array.remove[index] . But it did not work . So how to remove a element from Javascript array ?

Its quite simple . There are two functions which serves your purpose .

splice :

Usage : If you know index of the element / elements to be removed ,
ArrayName.splice(index,Noofelementstoberemoved) ;

E.g : If you want to remove single element from second position in Array=['one','two','three','four','five'];
use Array.splice(1,1) . The result will be ['one','three','four','five']; .

Remove :
If you dont know the index of a particular element to be removed but you know the value of it ,
You can use remove .

Usage : Array.remove('Valuetoberemoved') ;

E.g . To remove fifth element in the above array , use Array.remove('five') ;

12/24/2008

How to create a shortcut for Windows Search ?

It will be quite good if we have a shortcut to windows search on our desktop . Do you want to place a shortcut to windows on your desktop ? There is a simple solution for this . Just do as follows .
  • Open your notepad by typing Notepad in your start --> Run prompt .
  • Now in the text editor , type the below text .
Set wshshell = CreateObject("Shell.Application")
wshshell.findfiles
  • Now save the file in .vbs format by choosing options as shown in the figure . Filename is the Name of the shortcut and Save as type is All Files and click on Save .
  • Now the saved file is a shortcut to your windows search .Double click on it and it will open Search window.
Love my solution !! What are you waiting for ? subscribe to my blog or click here to get updates via email.

10/23/2008

How to lock a folder in Windows XP without any special software ?

Want to lock a folder so as to prevent others using your computer from viewing its contents ? Normally we use third party software to achieve this . I found a good way to lock a folder in Windows XP without using any third party software .
  • Open Notepad in your PC by typing " Notepad " in run prompt .
  • Copy the following Code and paste it in notepad.

cls
@ECHO OFF
title Folder Technade
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Technade goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Technade "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK

echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==technade123 HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Technade
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Technade
echo Technade created successfully
goto End
:End

  • Save the notepad and change the extension of the file from ".txt" to ".bat" .
  • Now you have created a batch file . You can even customise the batch file by following the below two points.
  • Replace Technade which is in bold letter with the name of the locked folder you want to create ( Optional ) .
  • You can change the password also by replacing " technade123 " in the above code with your new password ( Optional ).
  • Now place the batch file in the location where you want to create your password protected folder .
  • Run the batch file by double clicking on it. This will create a folder named "technade" in the same location as the batch file.
  • You can now open the folder and place the files inside .
  • After placing the files , run the batch file again . It will ask you whether you want to lock the folder . Press' y' and hit enter .
  • The folder will become invisible . To reopen the folder , run the batch file again . You will be asked for a password .
  • Enter the password and hit Enter . You can view the contents of your locked folder .
Note : After locking the folder , don't keep it in the same location as anyone can open the batch file and see your password . Keep it in someother location , and whenever you want to open it , Place it back in the location of locked password and run it .

Thanks to Digital Quest.

For more techtips , Subscribe here or click here to get updates via email .

10/21/2008

How to turn off Low Disk Space warning in Windows XP ?

Annoyed by the Low disk space warning that comes in the tray icon whenever your disk runs out of space ? Do you want to turn of the Low disk space warning ?
  • Open your registry editor by typing " REGEDIT " in the run prompt .
  • Navigate as follows : HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer.
  • Now Right Click in the right pane , Click New -> Dword and name it as NoLowDiskSpaceChecks. .
  • Double-click on NoLowDiskSpaceChecks, and enter the value as 1, and press OK.
Thats it . From now on you wont get annoying Low disk space error .

For more techtips , Subscribe here or click here to get updates via email .

10/16/2008

How to prevent your laptop from getting overheated ?

A day back I went to my friends place where he was working with his laptop on the bed . When I tried to move my finger over the touchpad , I noticed that it's too hot [ not in sense of looks ] . This is not just my friends case , it happens with most of the laptop users that their laptops get overheated . Are you also feeling that your laptop is getting overheated easily ? Then you should try the following .
  • Let your laptop breathe : Just like my friend , many of the laptop users keep the laptop usually on soft surface or on bed for their comfort. This is the first thing you should not do with your laptop as it blocks the airflow to the machine .Typically a laptop will have air vents in the bottom and on side or on the back . If you block them , the machine will get heated and if it crosses threshold , the machine will either restart or shutdown and may not start again . The threshold will be around 55 degrees Celsius .
  • Don't place in the bag while its on : This also will cause overheating and may damage screen and keyboard . If your laptop constantly gets fried up , someday it will lead to damange of the main board .
  • Let your laptop take a break : Don't use your laptop like a desktop . Once you feel that the keyboard and the area around it is getting heated up , give it a break . Keep giving constant breaks to your laptop .
  • Buy a cooling pad : If you are really looking to use your laptop for longer intervals , you better buy a laptop cooling pad which according to amit Bhawani , are actually trays that contain extra blowers to allow more cool air to enter and push warm air out. These cooling fans are extremely cheap ( ranging at 600-1500 ) and while they may cause your laptop to look a little bit bulky, these will surely minimise the chances of getting overheated .
Do you know any other way on How to prevent a laptop from getting overheated ? Let others know through your comment.

Want to know How to disable touchpad in your laptop ? Go here .
How to close your laptop lid without keeping your laptop in standby mode ??

For more techtips , Subscribe here or click here to get updates via email

12/18/2007

How to host files on Blogger ? Free File hosting for Blogger users

Hosted your blog on Blogger ? You might be wondering where to host your files !! Does Blogger provides any facility for its users to host their files ? If Blogger does , what are the limits ? Many questions might be circulating in your mind . At Technova , Ill try to answer your questions associated with this .

Blogger doesn't support uploading of files except images to its server . You can host your images on the Blogger Server . Image files can only be uploaded through your blog posts. To achieve this , Login to Dashboard and click on " New Post ". Blogger post Editor will open. In the top frame of the Post Editor , you can find a bluish icon which displays Add image when you hover the mouse over it. Clicking on it opens the upload image dialogue Box . Using this dialogue box ,you can upload your image files to Blogger server and you can use them later in other posts .

What are the limits for Image hosting in Blogger ?

If you are posting pictures through Blogger, Picasa to a your free Blogger blog, there is a total limit of 300 MB. If you are posting them to an FTP-published blog, then you are limited to the amount of space available on your server.If you are posting pictures through Blogger Mobile there is a limit of 250K per picture.

So where can I upload my files in other formats using my Google Account ?

Google has one more service called "Google pages " . You can create 5 different websites in Google pages with each site having free 100 MB web space to host files. To upload create a Google space account and click on Upload in bottom frame of sidebar.You can access your files by getting the link after uploading it .

You can also host your files by creating a Google Group of your own. You can upload 100 MB of total files here also. Click on " Files " after clicking on Manage Group. Then click on Upload File button. Here you can upload image, PDF, Mp3 , WAV, Doc, Txt and any other files . You can also upload image files to other freehosts like Flickr, Photobucket, Imagehosting etc. After uploading the files , keep your mouse cursor over the filename and right-click and choose Copy Link Location. This copies the location/URL/link of your file at the free host. Then paste it into this code in your blog and use it . I hope this solves your problem .

Friends , If you know any other services that lets users hot their files for unlimited time , Let us know by posting a comment .

New to Technova ? Subscribe here or click here to get updates via email

12/12/2007

Windows drives not opening ? getting Open with Dialogue when you click on drives ?

Some people might be facing this issue that " Whenever they try to open their windows drive , A open With Dialogue opens instead of the contents of the drive ". They have to select Internet Explorer from Open With dialog to open the drives. What's the solution to this problem ?


The solution is simple . Just create a blank autorun.inf file in the drive with whom you are facing the problem . That's it and you can open all your drives with just a double click.

How to make this blank autorun.inf file ?

open the notepad by typing notepad in Start --> Run and Save As “autorun.inf”.

Other Solutions from Technova :

You can remove the autorun.inf by using the following commands in Command promt window .. Assuming you want to delete it in D drive

D:\>attrib -S -H -R D:\autorun.inf
D:\>del /F D:\autorun.inf.

How to prevent your pen drive from getting infected with Virus ?

Friends many of your PC/laptop's normally gets virus because of Pen Drives or USB devices (Even PC's who are not connected to network ). Some Virus like Ravmon Virus , Heap41a worm which are not detected by anti virus normally spreads mostly by the Pen Drives . In such a case what can you do to prevent your PC from getting infected with Virus that spreads through USB devices or Pen Drives ?

You can protect your PC by just following the simple steps below . It won't take much time.
  • Connect your Pen Drive or USB drive to your computer .
  • Now a dialogue window will popup asking you to choose among the options as shown in the figure.
  • Don't choose any of them , Just simply click Cancel .
  • Now go to Start--> Run and type cmd to open the Command Promt window .
  • Now go to My Computer and Check the Drive letter of your USB drive or Pen Drive. ( E.g. If it is written Kingston (I:) , then I: will be the drive letter .)
  • In the Command Window ( cmd ) , type the drive letter: and Hit Enter .
  • Now type dir/w/o/a/p and Hit Enter.
  • You will get a list of files . In the list , search if anyone of the following do exist .
  1. Autorun.inf
  2. New Folder.exe
  3. Bha.vbs
  4. Iexplore.vbs
  5. Info.exe
  6. New_Folder.exe
  7. Ravmon.exe
  8. RVHost.exe or any other files with .exe Extension .
  • If you find any one of the files above , Run the command attrib -h -r -s -a *.* and Hit Enter.
  • Now Delete each File using the following Command del filename ( E.g del autorun.inf ) .
  • That's it . Now just scan your USB drive with the anti virus you have to ensure that you made your Pen Drive free of Virus .
Now Unplug your Pen Drive or USB device and Plug it again to your Laptop/PC . Before removing your Pen Drive from others Computer , Don't forget to search for .exe files using the Windows search and remove them .

Already your PC is infected with some worm spread from USB , the following solutions might help you .
Keep Checking Technova for more solutions by Subscribing to my feed or click here to get updates via email.

12/10/2007

How to improve you adsense earnings by using the adsense competitive filter to filter Made For Adsense ads ?

Are you monetizing your blog with Adsense ? You might be noticing some clicks which are paying you as less as they can like 0.01$ ....I just Googled a bit about this and I found out about MFA (Made For Adsense ) websites.

So is there anyway to stop these MFA's or splogs from displaying their ads in your website via adsense ?

Yes , Adsense offers you a way in the name of Competitive Ad Filter . The purpose of this Competitive Ad Filter is to let you block specific ads, such as competitor’s ads, from appearing on your pages. Google allows to enter up to 200 URLs. Most webmasters don’t block out any sites because they’re not adwords advertisers and therefore feel they have no competition. But you are seriously losing money to MFA sites and other adsense arbitragers.

Let me explain you a bit about these Made For Adsense websites . These sites has got no quality content to bring in traffic to them. So they try to get traffic to their websites by becoming advertisers on adwords offering lower bids damaging our interests. These guys just live on Adsense. Their websites has nothing but title and ads .

These sites even irritate our readers as they click on links expecting some information But when they click they find nothing but a dummy website . I don't know the reason why Google has not blocked people like this ( May they might have some profits b'coz of these guys ) . so, these MFA's have no intent to stop. As long as Google continue to allow them , you will have more Arbitragers creating MFA sites to take advantage .

How Competitive Ad Filter is going to help you ?

To block an ad , you need to enter either the display URL or the destination URL into your filter. The display URL is the URL shown within the text of the ad. Its better if you rely on the destination URL of the ad in order to properly filter it. There are two methods of obtaining the destination URL of an ad : the Using AdSense Preview Tool, and looking at the link Properties. Google suggest you to use the adsense preview tool .

There is one more great website called Ads Black List which generates a list of 50 MFA sites for you to filter. If you become a member, the generated list increases to 200 which is the current limit of the Google Competitive Ad Filter. All you need to do is to enter your site URL and click the Get Black List button. Once you have the list, copy and paste all the URLs into your Competitive Ad Filter. It will take upto 12 hours before Google starts blocking the ads from the sites in the filter. In addition to the black list, Johnchow recommends you to add tinyurl.com to your filter list as many MFA sites use this service to hide their URLs.

Google should increase the limit on the Competitive Ad Filter with the growing number of arbitagers . By using the Competitive Ad Filter and blocking out MFA's , you should see a nice increase in your Google earnings.If you find this useful , Don't forget to thank me buddies .

Do you know How to change the payee name in adsense ?? Technova has answer for this..Check it out .

For more tips and tricks , Subscribe to Technova or Get our Newsletter via email .

12/09/2007

How to show ads only in the post pages or Itempages in Blogger Beta ?

Many of my blogger friends has been asking me this question on How to show adsense ads only in the post pages of Blogger Beta ? I was using Blogger classic till Now . Just a few days back I shifted to New blogger or Blogger Beta ( Which most people call it ) and I added adsense ads in Post pages which you can see in my itempages below the title of the post . So How to do it ?? What is the equivalent tag for <> of Classic Blogger in Blogger Beta ? To add adsense just like me , you can follow the steps below or Just use the tags I used here .
  • Go to Template --> Edit HTML after signing in Blogger .
  • Now Check on Expand Widgets .
  • Now search for <data:post.body> . Once you find it paste the content below Just above it ( If you want to show ads before post content ) or below it ( If you want to show ads after post content ) depending on where you want the ad to be displayed .
<b:if cond="data:blog.pageType == "item""> Adsense script </b:if>
  • In the script you pasted , Replace the adsense script with adsense code of yours .
  • The adsense code which you want to insert should be edited a bit else or your blogger will give you a error that the XML template cannot be parsed .
  • To prevent this Do the same for what you used to show HTML tags in Blogger posts i.e replacing < and > with .
Now save your template and you will show ads in just the postpages , not in your homepage .

For more tips and tricks , Subscribe to Technova or Get our Newsletter via email .

11/24/2007

Which file system is better ? NTFS vs FAT : Know about file systems in Windows XP

Yesterday one of my users Yesterday one of my readers , Nitin sent me the following query .

"Hi , Everytime I install the windows , after a while it asks me to choose between some NTFS file system and FAT file system .Which one do you think is better and why ? "

Nitin , since you being installing Windows XP , NTFS is the better choice. It is more powerful and offers security advantages which can not be found in the other file systems like FAT.For information Ill tell you the differences between different different file systems available in windows XP i.e FAT16 , FAT32 ( FAT stands for File Allocation Table ) and NTFS , short for NT File System.


About FAT16 :

The FAT16 file system was introduced way back with in 1981 along with MS-DOS, and it's a bit primitive . It was designed originally to handle files on smaller disks like floppy drive, and has had minor modifications over the years to make it handle hard disks, and even file names longer than the original limitation of 8.3 characters, but it's still the lowest common denominator. The biggest advantage of FAT16 is that it is compatible across a wide variety of operating systems, including Windows 95/98/Me, OS/2, Linux, and some versions of UNIX. The biggest problem of FAT16 is that it has a fixed maximum number of clusters per partition, so as hard disks get bigger and bigger, the size of each cluster has to get larger. In a 2–GB partition, each cluster is 32 kilobytes, meaning that even the smallest file on the partition will take up 32 KB of space. FAT16 also doesn't support compression, encryption, or advanced security using access control lists.

About FAT32 :

The FAT32 file system, originally introduced in Windows 95 Service Pack 2, is really just an extension of the original FAT16 file system that provides for a much larger number of clusters per partition. As such, it greatly improves the overall disk utilization when compared to a FAT16 file system. However, FAT32 shares all of the other limitations of FAT16, and adds an important additional limitation—many operating systems that can recognize FAT16 will not work with FAT32—most notably Windows NT, but also Linux and UNIX as well. Now this isn't a problem if you're running FAT32 on a Windows XP computer and sharing your drive out to other computers on your network—they don't need to know (and generally don't really care) what your underlying file system is.

The NTFS advantage :

The NTFS file system, introduced with first version of Windows NT, is a completely different file system from FAT. It provides for greatly increased security, file–by–file compression , quotas , and even encryption. It is the default file system for new installations of Windows XP, and if you're doing an upgrade from a previous version of Windows, you'll be asked if you want to convert your existing file systems to NTFS. Don't worry. If you've already upgraded to Windows XP and didn't do the conversion then, it's not a problem. You can convert FAT16 or FAT32 volumes to NTFS at any point. Just remember that you can't easily go back to FAT or FAT32 (without reformatting the drive or partition), which I think no one will want to.The NTFS file system is generally not compatible with other operating systems installed on the same computer, nor is it available when you've booted a computer from a floppy disk.

When to Use FAT or FAT32 ?

If you're running more than one operating system on a single computer, you will definitely need to format some of your volumes as FAT. Any programs or data that need to be accessed by more than one operating system on that computer should be stored on a FAT16 or possibly FAT32 volume. But keep in mind that you have no security for data on a FAT16 or FAT32 volume—any one with access to the computer can read, change, or even delete any file that is stored on a FAT16 or FAT32 partition. In many cases, this is even possible over a network. So do not store sensitive files on drives or partitions formatted with FAT file systems.

If you are using FAT and want to convert to NTFS ,Follow this guide .
Thanks to free PC tech .

Have a query , Send me to get the solution .For more solutions to your problems , Stay with us by Subscribing to our feed or click here to get updates via email

11/21/2007

How to remove ads from yahoo Messenger 9 ?

Installed Yahoo Messenger 9.0 !! You might be getting annoyed by the ads in the bottom . So how to remove these annoying ads on the bottom of Yahoo! Messenger 9 window ?
  • Exit any running instance of Yahoo Messenger 9.0
  • Now find the file C:\Program Files\Yahoo!\Messenger\Cache\urls.xml
  • Clear its content and save it (as an empty file) . Now change the properties of the file (urls.xml) to " Read Only ".
  • Download the file from http://www.megaupload.com/?d=C5JRI65V (size : 25KB).
  • Run the file and click Patch . If it gives up a pop-up saying “Can not find the file. Search the file?”, then click Yes and show the path of your yahoomessenger.exe ( normally it will be C:/Program Files/Yahoo/Messenger/YahooMesssenger.exe ) and click patch. After it says patching is done . restart Yahoo Messenger to see the bottom banner being removed.

11/15/2007

How to know about a unknown file or process in your PC ?


Whenever you think that something is wrong with your PC , what will you do ?? You will open the Task Manager ( By using ctrl + alt + del ) and see the processes in it . You will see whether any malicious process is running on your PC. But How will you know the purpose of each process or Whether the process is safe or not ??

Just go to this site http://www.whatisthatfile.com/ and enter the file name in the text box along with the extension (e.g svchost.exe ) . Since this site is web 2.0 based , you need not hit any submit button , it will display the result automatically .

Like Technova blog ?? Subscribe to my feed .

11/13/2007

How to add a contact me form to your blogger blog ?

Are you growing popular with your blog ?? You might be noticing a huge number of spam in your inbox if you have listed your email on it . People who use blogger has to suffer the most from this problem as blogger templates never have a contact me form , even though some of them user email icons . If you want a email icon , click here .

So how to protect your email from getting spammed ? Solution is adding a contact me form to your website . So how to do this ?

Zoho creator : The best web source to create a contact form for your website . Ready made templates are available inside it .Sign up in the website and login in it.click on create New application and get started . In the next page select the radio button use form template and click on contact from . Make it public and click on create now . A page with drag and drop interface appears . Select the ones you want and save your applications and embed it in your blogger post using the HTML provided .A permanent link of the form will be alloted as I have for my form .



Feedback : Sing up in this free site and you can design the required form with the help of simple and elegant drag and drop user interface. After completing the design of the form, you will be provided with a simple HTML which you have to copy and paste in your blog. Ads will be served in free plan after sometime and you have to check your messages in the feedback website only. There is no inbox delivery to your email .

Response-o-matic : This is one more site which makes forms in a very simple way . Just sign up , select the required options and create your form . The only drawback is ads will be served after sometime in the form .Its almost similar to feedback.com

I used Zoho creator. Just click on contact me in the top navigation bar to have a demo .

If you know any other good websites that create contact me forms , please post them as comments for fellow readers .

Subscribe to my feed or click here to get updates via email

11/12/2007

How to add language translation flags to your blog to increase your international presence ?

Recently a Chinese visitor of mine was chatting with me on Instant Messenger . While chatting he told me that he is not good with English and he is not able to understand what I'm writing . Then I chatted with him using Google translator . When he told me that he is not able to understand English properly , A thought hit my mind whether I'm losing some international visitors this way . Immediately I thought of adding Language translation flags to my blog . I added them which you can see on my blog .So How to do that and increase your international Presence ?Use the code below to do that .

<form action="http://www.google.com/translate" >

<script language="JavaScript">
<!--
document.write ("<input name=u value="+location.href+" type=hidden>")
// -->
</script>

<input name="hl" value="en" type="hidden">

<input name="ie" value="UTF8" type="hidden">

<input name="langpair" value="" type="hidden">

<input name="langpair" value="en|fr" title="French" src= "http://photos1.blogger.com/img/43/1633/320/13539949_e76af75976.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20">

<input name="langpair" value="en|de" title="German" src= "http://photos1.blogger.com/img/43/1633/320/13539933_041ca1eda2.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20">

<input name="langpair" value="en|it" title="Italian" src= "http://photos1.blogger.com/img/43/1633/320/13539953_0384ccecf9.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20"><br>

<input name="langpair" value="en|pt" title="Portuguese" src= "http://photos1.blogger.com/img/43/1633/320/13539966_0d09b410b5.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20">

<input name="langpair" value="en|es" title="Spanish" src= "http://photos1.blogger.com/img/43/1633/320/13539946_2fabed0dbf.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20">

<input name="langpair" value="en|ja" title="Japanese" src= "http://photos1.blogger.com/img/43/1633/320/13539955_925e6683c8.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20"><br>

<input name="langpair" value="en|ko" title="Korean" src= "http://photos1.blogger.com/img/43/1633/320/13539958_3c3b482c95.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20">

<input name="langpair" value="en|zh-CN" title="Chinese Simplified" src= "http://photos1.blogger.com/img/43/1633/320/14324441_5ca5ce3423.jpg" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20">

<input name="langpair2" value="en|ar" title="Arabic" src= "http://photos1.blogger.com/blogger/3709/485/1600/arabic-flag.gif" onclick="this.form.langpair.value=this.value" height="15" type="image" width="20" />
</form>

Add this code and increase your international presence.

Like my tips and tricks ?? Subscribe to my updates .