Monthly Archives: July 2009

Tips de Uso de Internet Explorer 8

Este arículo está en español / This article is in Spanish

Hola a todos.

Quiero mostrarles algunos tips que pueden ser útiles en el uso de Internet Explorer 8.

1. Personalizar la barra de título

Esta personalización se puede realizar por medio de una llave en el registro. Para ello tenemos que abrir el programa editor del registro de Windows.

Para usuarios de Windows XP: Ir al botón Inicio y seleccionar la opción ejecutar. Escribir regedit y presionar la tecla ENTER. Para usuarios de Windows Vista y Windows 7: Ir al botón Inicio y escribir regedit y presionar la tecla ENTER

Una vez en el programa del registro, expande la llave HKEY_CURRENT_USER y luego expande las llaves Software -> Microsoft -> Internet Explorer ->Main.

Luego debes presionar el click derecho en cualquier area abierta (no sobre un valor o llave) y seleccionar la opción Nuevo -> Valor de Cadena. Debes nombrar a este Nuevo valor “Window Title”. Luego presionas ENTER y listo.

Debes editar el dato del valor “Window Title” que acabas de crear y lo que escribas allí será lo que verás la próxima vez que reinicies Internet Explorer

image

2. Buscar más fácilmente

La mayoría de buscadores tienen facilidades para hacer las búsquedas más fácilmente. En Internet Explorer 8 puedes realizer una búsqueda con solo ingresar en la barra de direcciones un signo de interrogación seguido de un espacio en blanoc y finalizando con las palabras que deseas buscar.

image

3. Ahorrar tinta/toner al imprimir

Si deseas imprimir una página pero no quieres imprimir todo, por ejemplo, no quieres imprimir las imagines puedes utilizar las herramientas de desarrollador (F12). Normalmente esta opción abre una nueva ventana con varias opciones. Debes ir a la opción de Imágenes y luego seleccionar “Deshabilitar Imágenes”. Esto hará que todas las imagenes de tu página no se muestren para realizar la impresión.

image

image

4. Incrementa el límite de descargas

Por defecto, Internet Explorer 7 tiene un límite de dos descargas simultáneas pero Internet Explorer 8 cuenta con 6 descargas simultáneas. Si cuentas con una conexión de Internet lo suficientemente buena puedes aprovecharla aumentando la cantidad de descargas que puedes realizar a 10. Solo debes seguir el asistente paso a paso en esta página de soporte http://support.microsoft.com/?kbid=282402#fixit4me.

5. Ejecutar Internet Explorer 8 sin Add-Ons

Si tienes problemas usando Internet Explorer 8, puede ser debido a un problema con algún Add-On. Esto puedes detectarlo ejecutando Internet Explorer sin add-ons. Para ello puedes ir al botón inicio y ejecutar el siguiente comando: iexplore.exe –extoff.

image

Verás que incluso Internet Explorer 8 arranca más rápido y en general corre más rápido. Luego puedes ir habilitando los add-ons uno a uno para verificar cual te está causando el problema y buscar una version actualizada o desinstalarlo.

Espero te sirva.

Saludos.

Características Desconocidas de Internet Explorer 8

This article is in Spanish / Este artículo esta en español

Hola a todos

Este artículo trata sobre algunas características algo desconocidas en Internet Explorer 8.

Selección de texto con el teclado

Esta opción hace tiempo que existe en Firefox pero no existía en Internet Explorer. Ahora, en la version 8, podemos utilizar la tecla F7 o la opcion del menu “Page –> Carret Browsing” para seleccionar el modo “Carret Browsing”. Esta opción permite la utilización de las flechas de navegación dentro de la página web como si fuera un document de MS Word por ejemplo, donde podemos ir a cualquier parte de la página y podemos seleccionar el texto con la tecla Shift.

image

Herramientas de desarrollador

Los desarrolladores web que usan Firefox están acostumbrados al plugin Firebug que les proporciona una gran cantidad de herramientas para depuración y examen de las páginas. Ahora en Internet Explorer 8 tenemos también herramientas que nos dan una funcionalidad similar, pero lo mejor de todo es que no tenemos que instalar nada adicional, ya vienen incluidas. Solo tenemos que utilizer la tecla F12 o ir a la opción del menú “Tools -> Developer Tools” para activarlas.

image

image

Vista de compatibilidad

En versiones anteriores de Internet Explorer no se seguían los estándares de la forma que ahora IE8 lo hace, entonces los sitios web desarrollados anteriormente pueden mostrarse con problemas como textos o elementos div sobrepuestos y cosas así. Afortunadamente mientras arreglamos esos detalles, podemos utilizar la vista de compatibilidad por medio del botón que está justo a la par de la barra de direcciones. Este botón hace que Internet Explorer 8 funcione como si fuera Internet Explorer 7 lo que nos ayuda a ver cuales son los detalles de nuestro website que hay que arreglar y que no se ven bien.

image

Navegación Privada y Filtro Privado

Ahora podemos realizer dos operaciones que se efectuan como privadas. No hay que confundirlas porque son dos cosas diferentes. Una es la navegacion privada. Esta opción nos permite visitar sitios web sin dejar rastros de nuestras visitas, es decir, no se almacenan cookies, no queda registro en la historia ni nada. En este modo se activa un ícono azul en la barra de direcciones que indica la operación privada.

image

La otra opcion es el filtro privado. El filtro privado nos permite deshabilitar publicidad no deseada y nos brinda la opcion de poder manejar de forma bastante granular el grado al que queremos ocultar estos mensajes publicitarios.

image

image

Mejoras de la barra de estado

La barra de estado tiene ahora mucha funcionalidad. Podemos hacer click en diferentes partes para realizar acciones como configurar las opciones de privacidad o hacer zoom de la pagina que estamos visitando.

image

Espero les sirva y puedan utilizar de mejor manera su Internet Explorer 8.

Saludos.

The ASP.NET Capsule #17: Book Recommendations from Packt Publishing with Sample Chapters

Here are some book recommendations from Packt Publishing with a sample chapter.

1847196705[1]
Learning jQuery 1.3

Sample Chapter
Chapter 4: Effects

 

1847195229[1]
Entity Framework Tutorial 

Sample Chapter
Chapter 2: Getting Started

 

1847195504[1]
ASP.NET 3.5 Application Architecture and Design

Sample Chapter
Chapter 5: Model View Controller

 

1847193951[1]
ASP.NET Data Presentation Controls Essentials

Sample Chapter
Chapter 4: Working with the DataList Controller

 

1847194788[1]
ASP.NET 3.5 Social Networking

Sample Chapter
Chapter 5: Friends

 

1847192785[1]
DotNetNuke Skinning Tutorial

Sample Chapter
Chapter 2: Creating Your First Skin

 

 

 

 

Enjoy!


The ASP.NET Capsule #16: Bug in Telerik RadComboBox for ASP.NET AJAX (Workaround available)

Hi all.

I came across this bug when using Telerik RadControls for ASP.NET AJAX, more specific the RadComboBox. It’s a simple bug but might make you have a headache.

Description

You have a RadComboBox declared in your ASP.NET Webforms Page. For example:

<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Select a value from list…">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</telerik:RadComboBox>

Note the property EmptyMessage. This property will make the RadComboBox to show the message “Select a value from list…” when no selection has been made, or the selection has been cleared.

Problem

When calling the clearSelection() client side method for clearing the current selected item in the RadComboBox without user interaction. For example:

function ClearComboSelection() {

var combo = $find("RadComboBox1");
combo.clearSelection();

}

The RadComboBox  doesn’t show the value of the property EmptyMessage. It completely clears the text shown.

Workaround

Call the _applyEmptyMessage() method after calling clearSelection(). Example:

function ClearComboSelection() {

var combo = $find("RadComboBox1");
combo.clearSelection();
combo._applyEmptyMessage();

}

Solution

This has been confirmed to be a bug present in all versions of RadControls for ASP.NET AJAX. Support has logged into their bug tracking system and expect to get it fixed during next week.

The ASP.NET Capsule #15: Telerik FREE WebAii Test Framework for RadControls

WebAii Testing Framework helps developers build automated unit tests, functional tests and end to end scenario tests for both AJAX- and Silverlight-powered applications. From automating complex UI actions, waiting on DOM changes to imitating the complete list of UI XAML elements in Silverlight – it’s all in here for free!

image

Features

Why choose

In Line with Latest Technologies: AJAX and Silverlight Support
WebAii Testing Framework facilitates the automation of ASP.NET AJAX and client-side functionality, as well as binding test steps to a data source. Telerik’s new testing tool also incorporates Silverlight Extension that will help developers build tests for Silverlight-based applications. It has a UI object model that mimics the complete list of UI XAML elements in Silverlight. This allows you to access everything as if you are sitting inside the Silverlight application by using the same object model.

Native Support for Telerik RadControls
Native Support for Telerik RadControls Besides providing support for extensive HtmlControl Suite, WebAii Testing Framework also ships with special wrappers for Telerik RadControls for ASP.NET AJAX and Silverlight. These wrappers expose rich API by numerous methods and properties that help developers save time and efforts when writing functional tests even for very complex web applications built with the Telerik controls.

Unique Browser Abstraction
Thanks to WebAii Testing Framework’s browser abstraction capabilities, you can write a single test and have it executed against multiple browsers with no additional coding required! Improve your browser compatibility testing and save loads of time at the same time!

Not Just Affordable, It’s Free
No strings attached – download your free copy of WebAii Testing Framework together with free wrappers for Telerik RadControls. If you haven’t tried Telerik web controls yet, get your free trials now:

Increasing Productivity
Telerik’s free testing tool builds on top of commonly known element identification methods and extends them to provide identification routines which save developers loads of time. What’s more, it leverages the power of LINQ to offer rich set of search methods that enable you to find elements using their names, text and type, as well as create strongly typed advanced queries with intellisense support.

News: Microsoft Silverlight 3 and Expression 3 Launch

Microsoft Silverlight and Microsoft Expression 3: See the Light.

Microsoft Silverlight 3 and Expression 3 will be unveiled at a virtual launch event on July 10, 2009. Attend the event at www.seethelight.com on July 10 to watch the keynote sessions and see new in-depth sessions. Stroll through the customer and partner pavilions in the Exhibition Hall or stop by ‘The Visual Kitchen’ TV show and watch the chefs as they dish up digital designs and development entrees as part of this exclusively produced online experience.

The relationship between developers and designers

We’ve all heard that XAML is bringing the developers and the designers closer but there is just something about both teams that this relationship is destined to fail.

We’ve been working in a project (a small project) for some time, in which the designers have been working with the HTML, Flash, menus and all that nice stuff they do, and we’ve been working with the shopping cart, administration site, security and our nice stuff.

So we created all of our ASPX pages, classes, master pages, and used the designers images, CSS classes and layout to create a consistent, good looking website. BUT, the mother of all problems happened, “COMMUNICATION FAIL”. We created ALL pages for the “brochure site”, the site everybody will see and to our surprise, we didn’t have to do it, we were to have a mixture of HTML pages and ASPX pages. How cool ha?!?!

I think as a developer, no surprise there, so my guess was to have all pages converted to ASPX, and so did my boss. I’m use to receive designs to create my layout but I just hate it when this things happen. Now, don’t get me wrong, there is no problem (technically speaking) about having html+aspx pages in a website, it’s pretty common, but html is so hard to maintain by itself, I created master pages which helps with that, so it was pretty obvious to me (at least…).

Bottom line, always get things as clear as possible so you focus on what your job is. Make it clear with the designers on the limitations of your work and their work. Workout the “COMMUNICATION PATH” so everybody is happy in the end and the job gets done the way it’s supposed to. Never assume anything.

Care to comment? Feel free!

Windows 7 Testing & Deploying Tools

Still don’t have Windows 7 RC? Get it here: http://technet.microsoft.com/en-us/evalcenter/dd353205.aspx

This tools can help you manage your Windows 7 RC environment:

Microsoft® Assessment and Planning Toolkit

The Microsoft Assessment and Planning toolkit makes it easy for you to assess your current IT infrastructure in preparation for a Windows 7 migration. It includes the features previously provided with the Windows Vista Hardware Assessment Solution Accelerator, and delivers both system-wide readiness reports and drill-downs to specific PCs.

Application Compatibility Toolkit

The Microsoft Application Compatibility Toolkit 5.0 is a lifecycle management tool that helps you identify and manage your overall application portfolio. The toolkit can reduce the cost and time involved in resolving application compatibility issues, and help you deploy Windows 7 more quickly across your organization.

User State Migration Tool

The User State Migration Tool can help you improve and simplify your migration process. Capture desktop and application settings, user accounts, and users’ files; then easily migrate them to a new Windows installation. You can use this tool for both side-by-side and wipe-and-load migrations. Click here to watch a video demonstration on how to migrate a user from a Windows XP environment to Windows 7.

Microsoft Deployment Toolkit

Microsoft Deployment Toolkit (MDT) 2008 unifies the tools and processes required for desktop and server deployment into a common deployment console with end-to-end guidance. MDT can help you reduce deployment time, standardize desktop and server images, limit service disruptions, reduce post-deployment help desk costs, and improve security and ongoing configuration management.

Code Metrics: An Introduction to Visual NDepend

In the second half of April I got an Email from Patrick Smacchia. I was very surprised, I mean, I’ve follow Patrick’s blog for some time and I though “this guy is really smart” so I was excited about getting in touch with him (starting from his side by the way), and while I’ve heard of his product Visual NDepend, I’ve actually never tried it and neither paid too much attention about the product itself. It was embarrassing because he was kind enough to offer me a Pro License to try it, evaluate it and see if it was functional and useful for me.

I said “Yes! Of course!”. Then started doing some research and reading and found about what was it for and how could I use it. Around that time, Scott Hanselman did his Hanselminutes Podcast 163 – Software Metrics with Patrick Smacchia so I was very excited and listened to the show about 3 times (sound was not that good, I think Patrick was not on a good phone line) and really got me into the code metrics thing.

image

So, here are my initial thoughts about Visual NDepend. I must say up front that I’m far from being an expert and that I have called this post “Introduction to Visual NDepend” for the same reason. I expect to use the tool more and be able to express myself in a more proper way in the near future.

I will start with the text from the Visual NDepend website:

NDepend is a tool that simplifies managing a complex .NET code base. Architects and developers can analyze code structure, specify design rules, plan massive refactoring, do effective code reviews and master evolution by comparing different versions of the code.

The result is better communication, improved quality, easier maintenance and faster development.

Also, from the website, here are the list of metrics NDepend can generate for you:

  • 12 metrics on application:
    NbLinesOfCode, NbLinesOfComment, PercentageComment, NbILInstructions, NbAssemblies, NbNamespaces, NbTypes, NbMethods, NbFields, PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered
  • 18 metrics on assemblies:
    NbLinesOfCode, NbLinesOfComment, PercentageComment, NbILInstructions, NbNamespaces, NbTypes, NbMethods, NbFields, Assembly level, Afferent coupling (Ca), Efferent coupling (Ce), Relational Cohesion(H), Instability (I), Abstractness (A), Distance from main sequence (D), PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered
  • 13 metrics on namespaces:
    NbLinesOfCode, NbLinesOfComment, PercentageComment, NbILInstructions, NbTypes, NbMethods, NbFields, Namespace level, Afferent coupling at namespace level (NamespaceCa), Efferent coupling at namespace level (NamespaceCe), PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered
  • 22 metrics on types:
    NbLinesOfCode, NbLinesOfComment, PercentageComment, NbILInstructions, NbMethods, NbFields, NbInterfacesImplemented, Type level, Type rank, Afferent coupling at type level (TypeCa), Efferent coupling at type level (TypeCe), Lack of Cohesion Of Methods (LCOM), Lack of Cohesion Of Methods Henderson-Sellers (LCOM HS), Code Source Cyclomatic Complexity, IL Cyclomatic Complexity (ILCC), Size of instance, Association Between Class (ABC) Number of Children (NOC), Depth of Inheritance Tree (DIT), PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered
  • 19 metrics on methods:
    NbLinesOfCode, NbLinesOfComment, PercentageComment, NbILInstructions, Method level, Method rank, Afferent coupling at method level (MethodCa), Efferent coupling at method level (MethodCe), Code Source Cyclomatic Complexity, IL Cyclomatic Complexity (ILCC), IL Nesting Depth, NbParameters, NbVariables, NbOverloads, PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered, PercentageBranchCoverage
  • 2 metrics on fields:
    Size of instance, Afferent coupling at field level (FieldCa)

    Now, what I did was start with a small project I have and run the tool to see what I could get with the default settings. The end result was stunning. Once you select the solution to work with, you get the following screen that shows all the projects in the solution and all the libraries it will analyze:

    image

    This is the analysis it will perform (which is of course customizable):

    image

    And the reporting options:

    image

    After running the analysis we get several results, for example:

    Application Metrics

    • Number of IL instructions: 13081
    • Number of lines of code: 1952
    • Number of lines of comment: 1184
    • Percentage comment: 37
    • Number of assemblies: 7
    • Number of classes: 58
    • Number of types: 60
    • Number of abstract classes: 0
    • Number of interfaces: 0
    • Number of value types: 0
    • Number of exception classes: 0
    • Number of attribute classes: 0
    • Number of delegate classes: 4
    • Number of enumerations classes: 2
    • Number of generic type definitions: 0
    • Number of generic method definitions: 0
    • Percentage of public types: 98.33%
    • Percentage of public methods: 72.07%
    • Percentage of classes with at least one public field: 0%

    The numbers are interesting, but up to this point too general. So following with the results report we get more information:

  • image

    The following view is kind of weird, but it shows graphically the size of the assemblies with its methods:

    image

    Also, the dependencies of the assemblies (in large projects this view is very important):

    image

    image

    Assemblies build order

    1. CEO.PublicSite.DataEntities
    2. CEO.PublicSite.DataAccess
    3. CEO.PublicSite.BusinessLogic
    4. CEO.PublicSite.BusinessFacade
    5. CEO.PublicSite.WebControls
    6. CEO.PublicSite.Web
    7. CEO.PublicSite.Utilities

    NDepend information and warnings

    07/04/2009 21:46:04 Begin analysis with NDepend v2.12.1.3123

    07/04/2009 21:46:04 Retrieve dependencies of your application.

    Don’t load
    a previous analysis to compare with.

    Assemblies loaded from {C:\Windows\Microsoft.NET\Framework\v2.0.50727} mscorlib.dll v2.0.0.0 System.Data.dll v2.0.0.0 System.Configuration.dll v2.0.0.0 System.Xml.dll v2.0.0.0 System.dll v2.0.0.0 System.Web.dll v2.0.0.0

    Assemblies loaded from {C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5} System.Web.Extensions.dll v3.5.0.0

    Assemblies loaded from {C:\Users\jrguay\Documents\Visual Studio 2008\Websites\CEO.PublicSite\CEO.PublicSite.Web\bin} CEO.PublicSite.BusinessFacade.dll v1.0.0.0 CEO.PublicSite.BusinessLogic.dll v1.0.0.0 CEO.PublicSite.Web.dll v1.0.0.0 CEO.PublicSite.DataAccess.dll v1.0.0.0 CEO.PublicSite.Utilities.dll v1.0.0.0 CEO.PublicSite.WebControls.dll v1.0.0.0 CEO.PublicSite.DataEntities.dll v1.0.0.0 Telerik.Web.UI.dll v2009.1.527.35

    71 source files parsed ; all source files found ; all source files in-sync with PDB

    0 CQL constraint has been extracted from code.

    No dependency cycle detected in assemblies referencement graph.

    07/04/2009 21:46:12 Analyse dependencies of your application.

    07/04/2009 21:46:13 Building the report (standard).

    WARNING: Assembly {CEO.PublicSite.Utilities} doesn’t contain any type.

    WARNING: No application or tier assembly found in directory {C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0}

    WARNING: No application or tier assembly found in directory {C:\Users\jrguay\Documents\Visual Studio 2008\Websites\CEO.PublicSite\CEO.PublicSite.BusinessFacade\bin\Debug}

    WARNING: No application or tier assembly found in directory {C:\Users\jrguay\Documents\Visual Studio 2008\Websites\CEO.PublicSite\CEO.PublicSite.BusinessLogic\bin\Debug}

    WARNING: No application or tier assembly found in directory {C:\Users\jrguay\Documents\Visual Studio 2008\Websites\CEO.PublicSite\CEO.PublicSite.DataEntities\bin\Debug}

    WARNING: No application or tier assembly found in directory {C:\Users\jrguay\Documents\Visual Studio 2008\Websites\CEO.PublicSite\CEO.PublicSite.DataAccess\bin\Debug}

    WARNING: No application or tier assembly found in directory {C:\Users\jrguay\Documents\Visual Studio 2008\Websites\CEO.PublicSite\CEO.PublicSite.Utilities\bin\Debug}

    WARNING: No application or tier assembly found in directory {C:\Users\jrguay\Documents\Visual Studio 2008\Websites\CEO.PublicSite\CEO.PublicSite.WebControls\bin\Debug}

     

    The result of the CQL Queries and constraints are quite large so I’ll include only one:

    WARNING: The following CQL constraint is not satisfied. 10 methods on 895 tested match the condition. –> Group {Code Quality}

    // <Name>Quick summary of methods to refactor</Name>

    WARN IF Count > 0 IN SELECT TOP 10 METHODS /*OUT OF "YourGeneratedCode" */ WHERE 

                                              
    // Metrics' definitions
         (  NbLinesOfCode > 30 OR              // http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
            NbILInstructions > 200 OR          // http://www.ndepend.com/Metrics.aspx#NbILInstructions
            CyclomaticComplexity > 20 OR       // http://www.ndepend.com/Metrics.aspx#CC
            ILCyclomaticComplexity > 50 OR     // http://www.ndepend.com/Metrics.aspx#ILCC
            ILNestingDepth > 4 OR              // http://www.ndepend.com/Metrics.aspx#ILNestingDepth
            NbParameters > 5 OR                // http://www.ndepend.com/Metrics.aspx#NbParameters
            NbVariables > 8 OR                 // http://www.ndepend.com/Metrics.aspx#NbVariables
            NbOverloads > 6 )                  // http://www.ndepend.com/Metrics.aspx#NbOverloads
         AND 

        
    // Here are some ways to avoid taking account of generated methods.
         !( NameIs "InitializeComponent()" OR
           
    // NDepend.CQL.GeneratedAttribute is defined in the redistributable assembly
    //
    $NDependInstallDir$\Lib\NDepend.CQL.dll
            // You can define your own attribute to mark "Generated".
            HasAttribute "OPTIONAL:NDepend.CQL.GeneratedAttribute")

    And lastly in the report, some Type metrics:

    image

     

    Conclusions

    • The results are quite impressive. The tool can give you a lot of metrics in different levels of the solution.
    • The information about assemblies metrics can give you a very detailed idea in how the assembly is built, how big is it, how are the classes and methods constructed, how they are related to other assemblies and how the types are related to other types within/outside the assembly, and more.
    • One of the most important views is the assembly dependencies, it tells you how each assembly is related to other assemblies by showing for every assembly which assemblies it depends on and which assemblies are referenced by.
    • The CQL queries gives you information about the quality of the code based on metrics definitions. (this definitions can be customized).
    • The type metrics provide detailed information about the types in the assemblies at different levels such as lines of code, lines of IL code, relation with other types, etc.
    • This first review shows me a lot of power in the analysis and reporting capabilities of Visual NDepend (not to mention I didn’t customize any of the default settings).

    I will continue to use the tool and write a second review of the integration with Visual Studio.

    Thanks.

    How To: Install Windows 7/Vista From USB Drive [Detailed 100% Working Guide]

    This guide works 100% for Vista & Windows 7 unlike most of the guides out there. I have seen many sites/blogs that have “Install Vista from USB guide” but either with incomplete steps or not working guide. I have also seen some guides that don’t’ use proper commands in this guide. After spending many hours I have come up with this 100% working guide.

    I just did this method on one of my friends machine and installed the new Windows 7 BETA. The main advantage is that by using USB drive you will be able to install Windows 7/Vista in just 15 minutes. You can also use this bootable USB drive on friend’s computer who doesn’t have a DVD optical drive.

    The method is very simple and you can use without any hassles. Needless to say that your motherboard should support USB Boot feature to make use of the bootable USB drive.

    Requirements:

    • Motherboard supporting USB Boot.
    • USB Flash Drive (Minimum 4GB).
    • Windows 7 or Vista installation files.

    Bootable USB drive

    Full story here.

    Enjoy!!