adsense

Tuesday, April 27, 2010

Kaspersky 2009 trial resetter

Rather than risking using a patch etc that could be full of viruses etc, it takes 1 minute to do it manually!!!

Microsoft Net.Framework 3.5 is necessary for launch the prog

Instructions :

1.) Disable Kaspersky's 'Self-Defense' feature and finish your kaspersky product before download Kaspersky trial resetter ( because it's a false positive )
2.) If the 'Notifications' checkbox is checked the program will delete all notification messages about the Kaspersky license.
3.) If the 'Self-Defense' checkbox is checked the program will re-enable the Kaspersky's 'Self-Defense' feature.
4.) Click the 'Start Reset' button to begin.
5.) If you get a message while the resetting process is running this means that some features may need to be adjusted manually. After you finish the adjustments just click the 'Continue' button to resume the resetting process.
6.) Wait for Kaspersky to start and prompt you to activate.
7.) Activate online or with the supplied 30-Day Trial key.

It's very simple

Download trial resetter for Kaspersky 2009 (version 8.0.0.454)
http://www.megaupload.com/?d=ZDJCDVDU
 
Cheers,
samitha

.NET Framework cleanup

This .NET Framework cleanup tool is designed to automatically perform a set of steps to remove selected versions of the .NET Framework from a computer. It will remove files, directories, registry keys and values and Windows Installer product registration information for the .NET Framework.
 
Download
http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog_Tools/dotnetfx_cleanup_tool.zip

http://blogs.msdn.com/astebner/attachment/8904493.ashx


The latest version of this user's guide can be found at http://blogs.msdn.com/astebner/pages/8904493.aspx.
 
Cheers
Samitha

Thursday, April 22, 2010

Find the control inside the contenttemplate of the device specific?

In my mobile application i wanted to find a control that was in a devicespecific tag. I am surprised there was no dirac way to find that control and following work-around solved my issue.

public Control GetControl(string ID, Control cstart)
    {
        Control co = new Control();
        Type t = typeof(System.Web.UI.MobileControls.TemplateContainer);
        if (cstart.HasControls())
        {
            foreach (Control c in cstart.Controls)
            {
                if (co != null)
                {
                    if (t.IsInstanceOfType(c))
                    {
                        co = c.FindControl(ID);
                    }
                    else
                    {
                        if (c.HasControls())
                        {
                            co = GetControl(ID, c);
                        }
                    }
                }

            }
        }

        return co;
    }

If you want to find a dropdownlist named "ddlItems" inside devicespecific tag use

DropDownList ddl= (DropDownList)GetControl("ddlItems",this );

I am still searching for a simpler way to do this. In the time hope this will help in some way.

cheers
Happy coding,
samitha

ASP.NET Mobile Development with Visual Studio 2008

This link provides a way to work out Mobile application development as it is not supported by VS 2008 by default.

 http://blogs.msdn.com/webdevtools/archive/2007/01/09/tip-trick-using-mobile-web-forms-with-web-applicaiton-projects.aspx

These templates are only for the "Web Application Project" type. To do a Web Application Project you should select 'File > New Project' from the menu and then select "ASP.NET Web Application" as the project type. In that project selecting "Add New Item" hopefully should show the templates.

Cheers,
Happy Coding
Samitha

Wednesday, April 21, 2010

Enable/Disable Internal Webpage Scrollbar

To set the scrollbar for an elemnt with a web page You can try the "overflow" property in CSS/styles.

<div style="overflow:auto">...content...</div>

If you have content that is larger than the box (in this case the DIV layer) where you place the links, there will be a scrollbar to scroll to the rest of the links.

If you set overflow:hidden the the scroll bar won't be displayed for the element.

cheers,
Happy coding
Samitha

Tuesday, April 20, 2010

How to Create Aspnetdb

If you are looking for the detailed explanation for how to create asp.net membership provider database default name is aspnetdb. Look at this articles
  1.  http://programming.top54u.com/post/How-to-Create-Aspnetdb.aspx
  2. http://aspnetmembershipprovider.blogspot.com/2008/04/aspnetdbmdf.html

cheers,
Happy coding,
Samitha

Monday, April 19, 2010

error executing child request for chartimg.axd

I came across the above error when trying to get started with the ASP.net chart controls and changing the following entry in web.config solved my issue.

  <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

The simple change you have to make to get the chart to work is to add "POST" to the allowed verbs:


 <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

Cheers
Happy Coding,
Samitha 

ASP.NET MVC 2 Released

The final release of VS 2010 and Visual Web Developer 2010 will have ASP.NET MVC 2 built-in – so you won’t need an additional install in order to use ASP.NET MVC 2 with them.

You can learn more about these features in the “What’s New in ASP.NET MVC 2” document.

Wednesday, April 14, 2010

IM your friends online

Imo is a web instant messenger that helps you IM, voice chat, and video conference using multiple instant messaging protocols

https://imo.im/

Cheers,
Samitha

YouTube Update available

YouTube has turned on the new video player page for all users from March 31st. Download version 2.5.4 to fix the "no flash video found" error caused by the new video player page in the old version of YouTube Downloader.

http://download.cnet.com/YouTube-Downloader/3000-2071_4-10647340.html

Cheers
Samitha

Monday, April 5, 2010

SQL Server 2008 Top 10 features

1) Activity Monitor
2) Audit
3) Backup compression
4) Central Mgmt service
5) Data collector and Magmt warehouse
6) data Compression
7) Policy based management
8) Predictable performance and concurrency
9) Resource govener
10) Transparent Data Encryption (TDE)

Follow http://sqlcat.com/top10lists/archive/2009/01/30/top-10-sql-server-2008-features-for-the-database-administrator-dba.aspx for more details

Cheers
samitha

Saturday, April 3, 2010

Tool and techniques to identify concurrent issues.

http://msdn.microsoft.com/en-us/magazine/cc546569.aspx

This article discuses:

1) Problems in concurrency testing
2) Elusive bugs and their dependancies
3) New tools to find the road blocks
4) Best practices for designing tests

Cheers
Samitha