| |
| Free ASP.NET CAPTCHA control [Tag: .Net] |
Aug 02, 2009 |
As I started getting too many spams because of bots, I implemented Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) in all the interactive pages of my site.
Took the control from here http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx, and customized according to my needs. The code was easy to understand and customize.
Read |
|
| Database & .NET documentation softwares [Tag: Softwares] |
Jun 29, 2009 |
I got a
chance to work on the below documentation softwares
recently, were pretty good. There might be some other softwares
better than these, if so, let me know.
- SQLSpec – For database documentation,
it supports various databases like MS SQL Server, Oracle, Access, DB2,
Sybase etc. It is very easy to use, however, customizations like excluding
objects and xml commenting took me sometime. It creates MSDN help file
style documents. Download link - http://www.elsasoft.org/
- SandCastle – Free software, for .NET
project documentation. Supports .NET 1.1, 2.0, 3.0 and 3.5. It is also very easy to use and creates
MSDN help file style documents. Download it from here http://www.codeplex.com/Sandcastle and install it, and then install SandCastle Help File Builder from here http://www.codeplex.com/SHFB
Read |
|
| Adding custom configurations in Web.config or App.config [Tag: .Net] |
Apr 24, 2009 |
You can add your own configuration sections in Web.config or App.config file. There might be some good way to do it, if so, please let me know.
Step 1
Add the follwing inside <configSections> tag:
<configSections>
<section name ="customSection" type ="System.Configuration.NameValueSectionHandler"/>
</configSections>
Read |
|
| Some Cool Features in Picasa 3.0 [Tag: Softwares] |
Apr 20, 2009 |
Feature 1 - Face recognition: Though this feature was released on 9/02/2008, I noticed it only recently. Worth trying it!
How to use it?
- Log into Picasa Web Album, go to Settings (top right corner) page, you will be able to find a section ‘Name Tags’, and right below it there should be a button ‘Turn name tags ON’, click it. After few seconds Picasa will start auto face recognition, you should be able to see the progress on the right side of your picasa home page.
- Once it is done, you can click a photo (your photo or any of your friend’s photos) from any of your albums, picasa will show a rectangle around the face of the person in the photo, you can add a name tag.
- Now, go to ‘People’ tab and add more name tags. See below video for more info.
Read
|
|
| CSS Font-Size: em vs. px vs. pt vs. percent [Tag: WebDesign] |
Apr 19, 2009 |
I'll usually set my font-sizes in units of 'pt', but this gave me weird results when I increased my monitor's DPI from 96 to 120 (as all the fonts were too small in my HD wide-screen monitor, I increased it). I was doing some research on this and I came across this article, this article clearly explains the right unit to use while developing websites. Though this article says percent (%) is the best, I have used 'px', as it gave me consistent results in IE, Mozilla and Chrome.
Read |
|
| The 90/10 Principle. It will change your life (at least the way you react to situations) [Tag: Miscellaneous] |
Apr 16, 2009 |
One of my friends forwarded this article to me sometime in 2007, as it was too lengthy, I didn’t read at that time, and few months back I got a chance to read this; only then I realized I should have read this in 2007 itself, because this article had changed my life in many ways since I read this … hope it will change yours too!
Read |
|
| Oracle - How to use a parameter in a Select query with ‘IN’ condition [Tag: Database] |
Apr 16, 2009 |
This works in Oracle, hope there is something similar to this in Sql Server too! There might be some other good way to do this, if so, please let me know. SPAN>
SELECT * FROM TABLE1 WHERE COLUMN1 IN (‘ABC’,’XYZ’,’PQR’)
Say suppose the strings ‘ABC’,’XYZ’ and ’PQR’ need to be grouped as a single string in the frontend and to be passed as a parameter. How can we do it? We cannot write like this –
Read |
|
| Why Lehman Brothers collapsed? [Tag: Miscellaneous] |
Apr 16, 2009 |
I came across this article on The Hindu magazine, this article clearly tells why Lehman Brothers collapsed? ...and the reason for the eventual economic crisis, a video is also added under resources/videos tab 'The Crisis of Credit Visualized'.
Read |
|
| Working with Excel sheet in .NET i.e., Create Read Update Delete [Tag: .Net] |
Apr 16, 2009 |
|
Select or Insert or Update or Delete rows in Excel using .NET. i.e., CRUD operations in EXCEL using .NET. We can literally use the excel sheet as a database, just the connection string matters. Note: 1. This code cannot be used for password protected excel sheets. 2. Delete does not work. See below for explanations. There might be some other good way to do this, if so, let me know.
Read |
|
| Importing XML data to Oracle database [Tag: Database] |
Apr 16, 2009 |
Here is a method to import/send XML to Oracle and thus we need not call the database repeatedly for mass insert, update etc. DBMS_XMLSTORE has been used here. There might be some other good way to do this, if so, please let me know.
Read |
|