<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>La Villa Digital &#187; Windows</title>
	<atom:link href="http://www.lavilladigital.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lavilladigital.com</link>
	<description></description>
	<lastBuildDate>Fri, 03 Jun 2011 10:42:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<image>
<link>http://www.lavilladigital.com</link>
<url>http://www.lavilladigital.com/wp-content/mbp-favicon/HP-Monitor.ico</url>
<title>La Villa Digital</title>
</image>
		<item>
		<title>Detectar si hay conexión de datos en WP7</title>
		<link>http://www.lavilladigital.com/2011/03/15/detectar-si-hay-conexion-de-datos-en-wp7/</link>
		<comments>http://www.lavilladigital.com/2011/03/15/detectar-si-hay-conexion-de-datos-en-wp7/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 09:56:32 +0000</pubDate>
		<dc:creator>Pablo Palomo</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[Windows Phone]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#.NET]]></category>
		<category><![CDATA[C#NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[móvil]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[WP7]]></category>

		<guid isPermaLink="false">http://www.lavilladigital.com/?p=1344</guid>
		<description><![CDATA[En esta entrada explicaremos como detectar si existe conexión de datos en nuestra aplicación Windows Phone. Nos puede ser de mucha utilidad si queremos controlar errores en nuestra aplicación si [...]


Posts Relacionados:<ol><li><a href='http://www.lavilladigital.com/2011/03/22/almacenamiento-local-de-datos-en-windows-phone/' rel='bookmark' title='Permanent Link: Almacenamiento local de datos en Windows Phone'>Almacenamiento local de datos en Windows Phone</a> <small>Almacenamiento de datos en WP7 La programación de aplicaciones para...</small></li>
<li><a href='http://www.lavilladigital.com/2011/03/03/carga-de-diferentes-paginas-en-wp7-aplicacion-multipagina/' rel='bookmark' title='Permanent Link: Carga de diferentes páginas en WP7 (Aplicación Multipágina)'>Carga de diferentes páginas en WP7 (Aplicación Multipágina)</a> <small>Este post se ha escrito más a modo de ayuda...</small></li>
<li><a href='http://www.lavilladigital.com/2011/02/25/acceso-a-datos-desde-wp7-a-tablas-mysql/' rel='bookmark' title='Permanent Link: Acceso a datos desde WP7 a tablas MySQL'>Acceso a datos desde WP7 a tablas MySQL</a> <small>&nbsp; Supongo que empiezo la casa por el tejado pero...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">En esta entrada explicaremos como detectar si existe conexión de datos en nuestra aplicación Windows Phone. Nos puede ser de mucha utilidad si queremos controlar errores en nuestra aplicación si es que esta utiliza acceso a la nube. La función es muy simple, detecta si hay conexión Wifi, 3G, etc. y devuelve el resultado.</p>
<p style="text-align: justify;">Empezaremos añadiendo la referencia a System.Net.NetworkInformation.</p>
<p style="text-align: justify;"><div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="csharp" style="font-family:monospace;"><span class="kw1">using</span> <span class="co3">System.Net.NetworkInformation</span><span class="sy0">;</span></pre></div></div></p>
<p style="text-align: justify;">Y esta sería nuestra función:</p>
<p style="text-align: justify;"><div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="csharp" style="font-family:monospace;"><span class="kw1">private</span> <span class="kw4">bool</span> InternetIsAvailable<span class="br0">&#40;</span><span class="br0">&#41;</span>
        <span class="br0">&#123;</span>
            <span class="kw1">if</span> <span class="br0">&#40;</span><span class="sy0">!</span>NetworkInterface.<span class="me1">GetIsNetworkAvailable</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>
            <span class="br0">&#123;</span>
                MessageBox.<span class="me1">Show</span><span class="br0">&#40;</span><span class="st0">&quot;No tienes conexión de internet.&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
                <span class="kw1">return</span> false<span class="sy0">;</span>
            <span class="br0">&#125;</span>
            <span class="kw1">else</span>
            <span class="br0">&#123;</span>
                MessageBox.<span class="me1">Show</span><span class="br0">&#40;</span><span class="st0">&quot;Tienes conexión de internet.&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
                <span class="kw1">return</span> true<span class="sy0">;</span>
            <span class="br0">&#125;</span>
        <span class="br0">&#125;</span></pre></div></div></p>
<p style="text-align: justify;">Un ejemplo de como se llama a la función desde el programa principal de la página.</p>
<p style="text-align: justify;"><div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.lavilladigital.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="csharp" style="font-family:monospace;"><span class="kw1">public</span> MainPage<span class="br0">&#40;</span><span class="br0">&#41;</span>
        <span class="br0">&#123;</span>
            InitializeComponent<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
            <span class="kw1">if</span> <span class="br0">&#40;</span>InternetIsAvailable<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>
            <span class="br0">&#123;</span>
                textBox1.<span class="me1">Text</span> <span class="sy0">=</span> <span class="st0">&quot;Conectado a Internet&quot;</span><span class="sy0">;</span>
            <span class="br0">&#125;</span>
            <span class="kw1">else</span>
            <span class="br0">&#123;</span>
                textBox1.<span class="me1">Text</span> <span class="sy0">=</span> <span class="st0">&quot;No Conectado a Internet&quot;</span><span class="sy0">;</span>
            <span class="br0">&#125;</span>
&nbsp;
        <span class="br0">&#125;</span></pre></div></div></p>
<p><a href="http://www.lavilladigital.com/wp-content/uploads/2011/03/connectiontest.png"><img class="aligncenter size-full wp-image-1345" title="connectiontest" src="http://www.lavilladigital.com/wp-content/uploads/2011/03/connectiontest.png" alt="" width="305" height="554" /></a></p>
<p>Aquí os podéis descargar el código:</p>
<p>Archivo: <a href="http://www.lavilladigital.com/?file_id=7">ConnectionTest.zip</a></p>
<p>Que menos que rematar este post con un tema de los que hacen época&#8230; Broken Wings de Alter Bridge. A disfrutar!</p>
<p>
<div class="spotify">
	<div class="meta">
		<a class="play" title="Open in Spotify" href="spotify:track:3454jBKLY9vk1oV0UbPLxL">&nbsp;</a>
	</div>
	<div class="albumcover">
		<a href="spotify:album:11J6PFpQxsPeezJNvfZ2kd"><img src="http://open.spotify.com/thumb/e72281bc286dc860c6b84b2626be93ff76368e11" /></a>
	</div>
	<div class="trackinfo">
		<a href="spotify:track:3454jBKLY9vk1oV0UbPLxL" id="track" class="stylish">Broken Wings</a>
		<a href="spotify:artist:5iGO0dxTUHHcl0e8wrSn6T" id="artist" class="stylish"><div></div>Alter Bridge</a>
		<a href="spotify:album:11J6PFpQxsPeezJNvfZ2kd" id="album" class="stylish"><div></div>One Day Remains</a>
	</div>
	<iframe src="http://www.facebook.com/plugins/like.php?href=http://open.spotify.com/track/3454jBKLY9vk1oV0UbPLxL&amp;layout=standard&amp;show_faces=false&amp;action=like&amp;colorscheme=dark" width="100%" scrolling="no" frameborder="0"  onload="this.style.display='inline-block';" allowTransparency="true"></iframe>
</div>
</p>
<p>&nbsp;</p>


<p>Posts Relacionados:<ol><li><a href='http://www.lavilladigital.com/2011/03/22/almacenamiento-local-de-datos-en-windows-phone/' rel='bookmark' title='Permanent Link: Almacenamiento local de datos en Windows Phone'>Almacenamiento local de datos en Windows Phone</a> <small>Almacenamiento de datos en WP7 La programación de aplicaciones para...</small></li>
<li><a href='http://www.lavilladigital.com/2011/03/03/carga-de-diferentes-paginas-en-wp7-aplicacion-multipagina/' rel='bookmark' title='Permanent Link: Carga de diferentes páginas en WP7 (Aplicación Multipágina)'>Carga de diferentes páginas en WP7 (Aplicación Multipágina)</a> <small>Este post se ha escrito más a modo de ayuda...</small></li>
<li><a href='http://www.lavilladigital.com/2011/02/25/acceso-a-datos-desde-wp7-a-tablas-mysql/' rel='bookmark' title='Permanent Link: Acceso a datos desde WP7 a tablas MySQL'>Acceso a datos desde WP7 a tablas MySQL</a> <small>&nbsp; Supongo que empiezo la casa por el tejado pero...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lavilladigital.com/2011/03/15/detectar-si-hay-conexion-de-datos-en-wp7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cómo reinstalar GRUB desde un Live CD de Ubuntu</title>
		<link>http://www.lavilladigital.com/2009/10/01/como-reinstalar-grub-desde-un-live-cd-de-ubuntu/</link>
		<comments>http://www.lavilladigital.com/2009/10/01/como-reinstalar-grub-desde-un-live-cd-de-ubuntu/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 13:47:32 +0000</pubDate>
		<dc:creator>David González</dc:creator>
				<category><![CDATA[Curiosidades]]></category>
		<category><![CDATA[Informática]]></category>
		<category><![CDATA[GRUB]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Live CD]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.lavilladigital.com/?p=1206</guid>
		<description><![CDATA[Hace poco tiempo intenté instalar Mac OSx en mi Pc. No pude conseguirlo por compatibilidad de hardware así que instalé de nuevo Windows, pero bueno esa es otra guerra. El [...]


Posts Relacionados:<ol><li><a href='http://www.lavilladigital.com/2009/03/16/spotify-como-tener-toda-la-musica-sin-tenerla/' rel='bookmark' title='Permanent Link: Spotify: Cómo tener toda la música sin tenerla'>Spotify: Cómo tener toda la música sin tenerla</a> <small>Estos dos últimos dias he estado probando Spotify.  Digamos que...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hace poco tiempo intenté instalar <strong>Mac OSx</strong> en mi Pc. No pude conseguirlo por compatibilidad de hardware así que instalé de nuevo <strong>Windows</strong>, pero bueno esa es otra guerra.</p>
<p>El problema llegó al intentar acceder al disco donde tenía instalado Linux,<a href="http://es.wikipedia.org/wiki/Grub" target="_blank"> GRUB</a> había desaparecido y al arrancar el PC no aparecía la opción para iniciar desde <strong>Linux</strong>. Era como si el disco duro donde estaba instalado hubiera desaparecido.</p>
<div>
<p>En este tutorial vamos a aprender como recuperar o reinstalar nuestro gestor de arranque GRUB. <strong>Nos será de utilidad si hemos perdido el GRUB por haber instalado Windows o si está presentando fallos</strong>.</p>
<p><span id="more-64"> </span></p>
<p><strong>1-</strong> Lo primero que debemos hacer es iniciar el ordenador desde el<em> Live CD</em>.</p>
<p><strong>2- </strong>Abrir un terminal y ejecutar:</p>
<p style="padding-left: 30px;"><em>$sudo fdisk -l</em></p>
<p style="padding-left: 30px;"><em><br />
</em></p>
<p><strong>3- </strong>Nos aparecerá una lista con la organización del disco duro, buscamos en la última columna donde indique &#8220;<em>Linux</em>&#8221; y miramos a qué partición corresponde. En mi caso era <em>/dev/sda2. </em></p>
<p>Puede que no aparezca <em>&#8220;sda&#8221;</em>, podemos encontrarnos con <em>&#8220;hda&#8221;</em>. La razón es porque el término<em> &#8220;sda&#8221; </em>corresponde con discos duros del tipo <a href="http://es.wikipedia.org/wiki/Sata" target="_blank">SATA</a> mientras que <em>&#8220;hda&#8221; </em>corresponde a discos duros <a href="http://es.wikipedia.org/wiki/Integrated_Drive_Electronics" target="_blank">IDE</a>.</p>
<p>Lo siguente que vamos a hacer es montar la partición donde se encuentra Linux en una nueva</p>
<p><strong>4-</strong> Creamos el nuevo directorio:</p>
<p style="padding-left: 30px;"><em>$sudo mkdir /mnt/ubuntu</em></p>
<p style="padding-left: 30px;"><em><br />
</em></p>
<p><strong>5-</strong> Montamos la partición:</p>
<p style="padding-left: 30px;">$<em><em>sudo mount /dev/sda2 /mnt/ubuntu</em></em></p>
<p style="padding-left: 30px;"><em><em><br />
</em></em></p>
</div>
<div>Ya tenemos montada la partición, ahora vamos a reinstalar GRUB:</div>
<div>
<p style="padding-left: 30px;">$<em>sudo grub-install –root-directory=/mnt/ubuntu /dev/sda</em> <strong>(Sin número de partición)</strong></p>
<p style="padding-left: 30px;"><strong> </strong><em>$sudo chroot /mnt/ubuntu</em></p>
<p style="padding-left: 30px;"><em>$</em><em>update-grub</em></p>
<p style="padding-left: 30px;"><em><br />
</em></p>
<p>Por último sólo queda reiniciar el PC y volverá a aperecernos el menú de GRUB.</p>
<p style="text-align: center;"><a href="http://www.lavilladigital.com/wp-content/uploads/2009/10/grub1.jpg"><img class="size-full wp-image-1236 aligncenter" title="grub1" src="http://www.lavilladigital.com/wp-content/uploads/2009/10/grub1.jpg" alt="" width="480" height="305" /></a></p>
</div>


<p>Posts Relacionados:<ol><li><a href='http://www.lavilladigital.com/2009/03/16/spotify-como-tener-toda-la-musica-sin-tenerla/' rel='bookmark' title='Permanent Link: Spotify: Cómo tener toda la música sin tenerla'>Spotify: Cómo tener toda la música sin tenerla</a> <small>Estos dos últimos dias he estado probando Spotify.  Digamos que...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lavilladigital.com/2009/10/01/como-reinstalar-grub-desde-un-live-cd-de-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>El extraño caso del fondo del XP</title>
		<link>http://www.lavilladigital.com/2009/04/05/el-extrano-caso-del-fondo-del-xp/</link>
		<comments>http://www.lavilladigital.com/2009/04/05/el-extrano-caso-del-fondo-del-xp/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 06:40:55 +0000</pubDate>
		<dc:creator>Pablo Palomo</dc:creator>
				<category><![CDATA[Curiosidades]]></category>
		<category><![CDATA[Informática]]></category>
		<category><![CDATA[Wallpapers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.lavilladigital.com/?p=761</guid>
		<description><![CDATA[Un tal O&#8217;Rear en 1995 deambulando apaciblemente por el Valle de Napa (California) se encontró con un idílico paisaje y le hizo una foto con su corriente cámara de fotos. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Un tal<strong> O&#8217;Rear en 1995</strong> deambulando apaciblemente por el <a href="http://www.napavalley.com/" target="_blank">Valle de Napa</a> (California) se encontró con un idílico paisaje y le hizo una foto con su corriente cámara de fotos. Esta fotografía más tarde sería elevada a la categoría de fondo oficial del sistema operativo Windows XP adentrándose en millones de hogares.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-764" title="windowsxpwallorig" src="http://www.lavilladigital.com/wp-content/uploads/2009/04/windowsxpwallorig.jpg" alt="windowsxpwallorig" width="460" height="368" /></p>
<p style="text-align: justify;">
<p style="text-align: justify;">El caso es que el paisaje repleto de verde hierba no es exactamente así en la actualidad. Esas colinas se encuentran siempre cubiertas de vides pero en la primera mitad de los noventa sucedió un pequeño desastre que hizo variar de forma bastante drástica el dibujo. Debido a una plaga de filoxera las cepas se tuvieron que eliminar y se plantó toda la colina de verde hierba. En ese momento O&#8217;Rear hizo la famosa foto desde una carretera cercana.</p>
<p style="text-align: justify;">Después de la plaga el paisaje volvió al estado natural como se puede observaren la fotografía.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-765" title="windowsxpwall" src="http://www.lavilladigital.com/wp-content/uploads/2009/04/windowsxpwall.jpg" alt="windowsxpwall" width="459" height="345" /></p>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://www.lavilladigital.com/2009/04/05/el-extrano-caso-del-fondo-del-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

