<?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>Pablo Viale</title>
	<atom:link href="http://www.viale.mx/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.viale.mx</link>
	<description>Consejos para diseño y desarrollo de aplicaciones web</description>
	<lastBuildDate>Sat, 14 Aug 2010 21:33:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Windows Live Messenger no funciona en Vista o Windows 7</title>
		<link>http://www.viale.mx/2010/08/14/windows-live-messenger-no-funciona-en-vista-o-windows-7/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=windows-live-messenger-no-funciona-en-vista-o-windows-7</link>
		<comments>http://www.viale.mx/2010/08/14/windows-live-messenger-no-funciona-en-vista-o-windows-7/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 21:33:15 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.viale.mx/2010/08/14/windows-live-messenger-no-funciona-en-vista-o-windows-7/</guid>
		<description><![CDATA[Si te encuentras con el problema de que tienes Windows Vista o Windows 7 e instalas Windows Live Messenger, y al intentar conectarte los monitos se quedan dando vueltas eternamente y nunca logras establecer conexión, intenta este truco. Haz clic en el botón de inicio y teclea “cmd”, y cuando salga el icono, dale clic [...]]]></description>
			<content:encoded><![CDATA[<p>Si te encuentras con el problema de que tienes Windows Vista o Windows 7 e instalas Windows Live Messenger, y al intentar conectarte los monitos se quedan dando vueltas eternamente y nunca logras establecer conexión, intenta este truco.</p>
<p>Haz clic en el botón de inicio y teclea “cmd”, y cuando salga el icono, dale clic con el botón derecho y selecciona “Ejecutar como administrador”:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/08/image.png"><img style="border-bottom: 0px; border-left: 0px; margin: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.viale.mx/wp-content/uploads/2010/08/image_thumb.png" width="312" height="118" /></a></p>
<p>Cuando aparezca la ventana negra, teclea lo siguiente:</p>
<p>netsh int tcp set global autotuninglevel=disabled</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/08/clip_image002.jpg"><img style="border-bottom: 0px; border-left: 0px; margin: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.viale.mx/wp-content/uploads/2010/08/clip_image002_thumb.jpg" width="532" height="64" /></a></p>
<p>Y listo, ya con eso queda arreglado tu Windows Live Messenger.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/08/14/windows-live-messenger-no-funciona-en-vista-o-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>El bot&#243;n LIKE de Facebook no se ve en Internet Explorer</title>
		<link>http://www.viale.mx/2010/07/20/el-boton-like-de-facebook-no-se-ve-en-internet-explorer/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=el-boton-like-de-facebook-no-se-ve-en-internet-explorer</link>
		<comments>http://www.viale.mx/2010/07/20/el-boton-like-de-facebook-no-se-ve-en-internet-explorer/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 17:29:03 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[Varios]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=493</guid>
		<description><![CDATA[Si estás tratando de integrar el botón LIKE de Facebook en tu sitio web y lo ves en todos los navegadores excepto en Internet Explorer, añade este atributo al tag HTML: Clic para mostrar texto plano HTML: xmlns:fb=&#34;http://www.facebook.com/2008/fbml&#34; De tal forma que tu tag HTML al final deberá verse así: Clic para mostrar texto plano [...]]]></description>
			<content:encoded><![CDATA[<p>Si estás tratando de integrar el botón LIKE de Facebook en tu sitio web y lo ves en todos los navegadores excepto en Internet Explorer, añade este atributo al tag HTML:</p>
<div class="igBar"><span id="lhtml-3"><a href="#" onclick="javascript:showPlainTxt('html-3'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-3">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">xmlns:fb=&quot;http://www.facebook.com/2008/fbml&quot; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>De tal forma que tu tag HTML al final deberá verse así:</p>
<div class="igBar"><span id="lhtml-4"><a href="#" onclick="javascript:showPlainTxt('html-4'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-4">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">&lt;html</span></a> xmlns:fb=<span style="color: #ff0000;">"http://www.facebook.com/2008/fbml"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Listo, con eso arreglas el problema.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/07/20/el-boton-like-de-facebook-no-se-ve-en-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C&#243;mo instalar PHP en Windows 2003 con IIS 6</title>
		<link>http://www.viale.mx/2010/07/16/como-instalar-php-en-windows-2003-con-iis-6/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-instalar-php-en-windows-2003-con-iis-6</link>
		<comments>http://www.viale.mx/2010/07/16/como-instalar-php-en-windows-2003-con-iis-6/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 18:31:38 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=487</guid>
		<description><![CDATA[Generalmente es un dolor de cabeza instalar PHP en Windows, es por eso que hice esta guía que explica como hacer una instalación básica de PHP. Si necesitas algo más especializado como instalar extensiones utiliza Google para encontrar otros tutoriales. 1. Descarga los archivos correctos Ingresa a http://php.net/downloads.php y descarga el “zip package”. No sigas [...]]]></description>
			<content:encoded><![CDATA[<p>Generalmente es un dolor de cabeza instalar PHP en Windows, es por eso que hice esta guía que explica como hacer una instalación básica de PHP. Si necesitas algo más especializado como instalar extensiones utiliza Google para encontrar otros tutoriales.</p>
<h2>1. Descarga los archivos correctos</h2>
<p>Ingresa a <a href="http://php.net/downloads.php">http://php.net/downloads.php</a> y descarga el “zip package”. No sigas la liga que dice windows.php.net:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image.png"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb.png" border="0" alt="image" width="497" height="529" /></a></p>
<p>Cópialos en tu servidor en “C:\PHP”. Apégate a esta ruta, no intentes rutas extrañas que tengan espacios o que sean muy largas.</p>
<h2>2. Configura PHP.INI</h2>
<p>En los archivos que acabas de descomprimir encontrarás un archivo llamado “php.ini-recommended” o algo similar, renómbralo a “php.ini”, y con un editor de texto plano encuentra la línea:</p>
<p>; cgi.force_redirect = 1</p>
<p>Y cámbiala por:</p>
<p>cgi.force_redirect = 0</p>
<h2>3. Copia los archivos necesarios al directorio de Windows</h2>
<p>Copia los siguientes archivos:</p>
<ul>
<li>php5isapi.dll</li>
<li>php.ini</li>
</ul>
<p>a la carpeta “C:\WINDOWS\system32”</p>
<p>O bien, agrega la ruta “c:\php” a la variable de entorno PATH del servidor.</p>
<h2>4. Configura IIS</h2>
<p>En la consola de IIS abre “Web service extensions” y agrega una nueva:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image1.png"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb1.png" border="0" alt="image" width="488" height="209" /></a></p>
<p>Pon “PHP” en “Extension name” y selecciona el archivo “c:\php\php5isapi.dll”. Marca la casilla que dice “Set extension status to Allowed”.</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image2.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb2.png" border="0" alt="image" width="398" height="339" /></a></p>
<p>Al final debe verse así en la lista de extensiones:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image3.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb3.png" border="0" alt="image" width="258" height="18" /></a></p>
<p>Todavía en la consola de IIS, selecciona el sitio web o el directorio virtual al que quieras dar permisos de ejecutar PHP y abre sus propiedades. Ve a la pestaña “Home Directory” y haz clic en el botón “Configuration”:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image4.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb4.png" border="0" alt="image" width="472" height="458" /></a></p>
<p>En la nueva ventana, abre la pestaña “Mappings” y agrega una extensión ISAPI con el archivo “C:\php\php5isapi.dll” y los verbos “GET,POST,HEAD”:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image5.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb5.png" border="0" alt="image" width="472" height="458" /></a></p>
<p>Haz clic en todos los botones “OK” hasta salir.</p>
<h2>5. Configura los permisos</h2>
<p>Ahora fíjate en qué “Application pool” está corriendo tu sitio web o directorio virtual.</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image6.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb6.png" border="0" alt="image" width="472" height="458" /></a></p>
<p>Y en la consola de IIS, arriba de “Web Sites” encontrarás los “Application pools”, abre las propiedades de la “pool” en la que corre tu sitio web y en su pestaña “Identity” fíjate qué usuario se utiliza:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image7.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb7.png" border="0" alt="image" width="461" height="435" /></a></p>
<p>Ahora tienes que darle permisos a este usuario sobre el directorio “c:\php”.</p>
<p>Abre el explorador de Windows y señala el directorio “php” dentro de “c:\”, y ve a sus propiedades, luego a la pestaña “Security”, haz clic en “Add” y agrega al usuario que encontraste arriba. Luego oprime el botón “Advanced” y asegúrate de que esté marcada la casilla que dice “Replace permission entries on all child objects with entries shown here that apply to child objects”:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image8.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb8.png" border="0" alt="image" width="618" height="501" /></a></p>
<p>Oprime “OK” hasta cerrar todo.</p>
<h2>6. Haz pruebas</h2>
<p>Crea un archivo llamado, por ejemplo, “phpinfo.php” y agrega esta línea de código:</p>
<p>
<div class="igBar"><span id="lphp-6"><a href="#" onclick="javascript:showPlainTxt('php-6'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-6">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span> <a href="http://www.php.net/phpinfo"><span style="color:#000066;">phpinfo</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ahora abre esa página en un navegador, si ves esto:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2010/07/image9.png"><img class="wlDisabledImage" style="margin: 0px; display: inline; border: 0px;" title="image" src="http://www.viale.mx/wp-content/uploads/2010/07/image_thumb9.png" border="0" alt="image" width="604" height="247" /></a></p>
<p>es que lo lograste.</p>
<p>Si no, <img class="wlEmoticon wlEmoticon-sadsmile" style="border-style: none;" src="http://www.viale.mx/wp-content/uploads/2010/07/wlEmoticonsadsmile.png" alt="Triste" />, intenta buscar los errores que te aparezcan en Google.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/07/16/como-instalar-php-en-windows-2003-con-iis-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo asignar un mismo procedimiento a múltiples botones</title>
		<link>http://www.viale.mx/2010/07/05/como-asignar-un-mismo-procedimiento-a-multiples-botones/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-asignar-un-mismo-procedimiento-a-multiples-botones</link>
		<comments>http://www.viale.mx/2010/07/05/como-asignar-un-mismo-procedimiento-a-multiples-botones/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:09:31 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[ASP.NET 2.0 / 3.5]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=463</guid>
		<description><![CDATA[Supongamos que por alguna razón quieres colocar dos botones en una página ASP.NET que ejecuten el mismo procedimiento. Por ejemplo, un largo formulario con dos botones para guardar los cambios. Solamente tienes que escribir el código para uno de los botones, como normalmente lo harías. Y para el segundo, establece el evento "OnClick" al procedimiento [...]]]></description>
			<content:encoded><![CDATA[<p>Supongamos que por alguna razón quieres colocar dos botones en una página ASP.NET que ejecuten el mismo procedimiento. Por ejemplo, un largo formulario con dos botones para guardar los cambios.</p>
<p>Solamente tienes que escribir el código para uno de los botones, como normalmente lo harías.</p>
<p>Y para el segundo, establece el evento "OnClick" al procedimiento del primer botón.</p>
<p>Aquí está un ejemplo con los dos botones:</p>
<div class="igBar"><span id="lasp-8"><a href="#" onclick="javascript:showPlainTxt('asp-8'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">ASP:</span>
<div id="asp-8">
<div class="asp">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;asp:Button ID=<span style="color:#CC0000;">"Guardar"</span> runat=<span style="color:#CC0000;">"server"</span> Text=<span style="color:#CC0000;">"Guardar cambios"</span> /&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;asp:Button ID=<span style="color:#CC0000;">"Guardar2"</span> runat=<span style="color:#CC0000;">"server"</span> Text=<span style="color:#CC0000;">"Guardar cambios"</span> OnClick=<span style="color:#CC0000;">"Guardar_Click"</span> /&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>¡Suerte!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/07/05/como-asignar-un-mismo-procedimiento-a-multiples-botones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como enviar ctrl-alt-del usando Remote Desktop Connection</title>
		<link>http://www.viale.mx/2010/07/05/como-enviar-ctrl-alt-del-usando-remote-desktop-connection/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-enviar-ctrl-alt-del-usando-remote-desktop-connection</link>
		<comments>http://www.viale.mx/2010/07/05/como-enviar-ctrl-alt-del-usando-remote-desktop-connection/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 16:55:53 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.viale.mx/2010/07/05/como-enviar-ctrl-alt-del-usando-remote-desktop-connection/</guid>
		<description><![CDATA[Si estás en tu PC con Windows, y te conectas a algún servidor (u otra computadora) utilizando Remote Desktop Connection (Conexión a Escritorio Remoto), notarás que no puedes enviar una señal de ctrl-alt-del a la computadora remota porque esta combinación de teclas toma precedencia en tu propio equipo. Lo que tienes que hacer es sencillo, [...]]]></description>
			<content:encoded><![CDATA[<p>Si estás en tu PC con Windows, y te conectas a algún servidor (u otra computadora) utilizando Remote Desktop Connection (Conexión a Escritorio Remoto), notarás que no puedes enviar una señal de ctrl-alt-del a la computadora remota porque esta combinación de teclas toma precedencia en tu propio equipo.</p>
<p>Lo que tienes que hacer es sencillo, oprime esta combinación de teclas:</p>
<p>ctrl-alt-end </p>
<p>¡Y listo!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/07/05/como-enviar-ctrl-alt-del-usando-remote-desktop-connection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer deja un espacio entre im&#225;genes</title>
		<link>http://www.viale.mx/2010/07/05/internet-explorer-deja-un-espacio-entre-imagenes/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=internet-explorer-deja-un-espacio-entre-imagenes</link>
		<comments>http://www.viale.mx/2010/07/05/internet-explorer-deja-un-espacio-entre-imagenes/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 16:34:48 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[ASP.NET 2.0 / 3.5]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=453</guid>
		<description><![CDATA[A veces ASP.NET deja pequeños espacios de uno o dos pixeles entre una imagen y otra, como si se tratara de un “padding-bottom”.  He encontrado que estos espacios en ocasiones se deben a saltos de línea (aunque suene ridículo) que se dejan en el código fuente. Ejemplo: Clic para mostrar texto plano ASP: &#60;tr&#62; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>A veces ASP.NET deja pequeños espacios de uno o dos pixeles entre una imagen y otra, como si se tratara de un “padding-bottom”.  He encontrado que estos espacios en ocasiones se deben a saltos de línea (aunque suene ridículo) que se dejan en el código fuente.</p>
<p>Ejemplo:</p>
<div class="igBar"><span id="lasp-12"><a href="#" onclick="javascript:showPlainTxt('asp-12'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">ASP:</span>
<div id="asp-12">
<div class="asp">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;tr&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&lt;td&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;asp:Image Id=<span style="color:#CC0000;">"Imagen1"</span> runat=<span style="color:#CC0000;">"server"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&lt;/td&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/tr&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;tr&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&lt;td&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;asp:Image Id=<span style="color:#CC0000;">"Imagen2"</span> runat=<span style="color:#CC0000;">"server"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;&lt;/td&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/tr&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Si lo anterior deja un espacio entre la imagen 1 y la imagen 2, intenta esto:</p>
<div class="igBar"><span id="lasp-13"><a href="#" onclick="javascript:showPlainTxt('asp-13'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">ASP:</span>
<div id="asp-13">
<div class="asp">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;tr&gt;&lt;td&gt;&lt;asp:Image Id=<span style="color:#CC0000;">"Imagen1"</span> runat=<span style="color:#CC0000;">"server"</span>&gt;&lt;/td&gt;&lt;/tr&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;tr&gt;&lt;td&gt;&lt;asp:Image Id=<span style="color:#CC0000;">"Imagen2"</span> runat=<span style="color:#CC0000;">"server"</span>&gt;&lt;/td&gt;&lt;/tr&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Claro que no debería ser, pero al parecer es algún bug de Internet Explorer.</p>
<p>Ahora bien, si lo que quieres es una solución más confiable, utiliza el siguiente estilo en tu hoja de estilos:</p>
<div class="igBar"><span id="lcss-14"><a href="#" onclick="javascript:showPlainTxt('css-14'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-14">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">img <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">block</span>; <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Como por arte de magia, el problema desaparece sin tener que estar eliminando saltos de línea en nuestro código.</p>
<p>Tip obtenido de <a href="http://www.mattpealing.co.uk/ie-leaves-a-gap-between-images-fix.htm">mattPealing</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/07/05/internet-explorer-deja-un-espacio-entre-imagenes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C&#243;mo darle formato a una fecha en SQL Server</title>
		<link>http://www.viale.mx/2010/06/15/como-darle-formato-a-una-fecha-en-sql-server/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-darle-formato-a-una-fecha-en-sql-server</link>
		<comments>http://www.viale.mx/2010/06/15/como-darle-formato-a-una-fecha-en-sql-server/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 18:51:58 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=448</guid>
		<description><![CDATA[Para desplegar una fecha mostrando el formato utilizado en Latinoamérica, utiliza la siguiente instrucción: Clic para mostrar texto plano SQL: SELECT CONVERT&#40;VARCHAR&#40;10&#41;, TuTabla.Fecha, 103&#41; FROM TuTabla La fecha será desplegada en el formato dd/mm/aaaa, por ejemplo 15/06/2010 para el 15 de junio de 2010. Puedes encontrar la lista completa de los formatos en esta página.]]></description>
			<content:encoded><![CDATA[<p>Para desplegar una fecha mostrando el formato utilizado en Latinoamérica, utiliza la siguiente instrucción:</p>
<div class="igBar"><span id="lsql-16"><a href="#" onclick="javascript:showPlainTxt('sql-16'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-16">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">SELECT</span> CONVERT<span style="color:#006600; font-weight:bold;">&#40;</span>VARCHAR<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span>, TuTabla.Fecha, <span style="color: #cc66cc;color:#800000;">103</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> TuTabla </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>La fecha será desplegada en el formato dd/mm/aaaa, por ejemplo 15/06/2010 para el 15 de junio de 2010.</p>
<p>Puedes encontrar la lista completa de los formatos <a href="http://www.sql-server-helper.com/tips/date-formats.aspx">en esta página</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/06/15/como-darle-formato-a-una-fecha-en-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclusive access could not be obtained because the database is in use</title>
		<link>http://www.viale.mx/2010/06/14/exclusive-access-could-not-be-obtained-because-the-database-is-in-use/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=exclusive-access-could-not-be-obtained-because-the-database-is-in-use</link>
		<comments>http://www.viale.mx/2010/06/14/exclusive-access-could-not-be-obtained-because-the-database-is-in-use/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 23:34:27 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[ASP.NET 2.0 / 3.5]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=441</guid>
		<description><![CDATA[Intentas restaurar una base de datos desde un backup utilizando Microsoft SQL Server Management Studio y te aparece el siguiente error: Restore failed for Server 'TuServidor'.&#160; (Microsoft.SqlServer.SmoExtended) System.Data.SqlClient.SqlError: Exclusive access could not be obtained because the database is in use. (Microsoft.SqlServer.Smo) Lo que ocurre es que la base de datos está abierta por otro proceso [...]]]></description>
			<content:encoded><![CDATA[<p>Intentas restaurar una base de datos desde un backup utilizando Microsoft SQL Server Management Studio y te aparece el siguiente error:</p>
<p>Restore failed for Server 'TuServidor'.&#160; (Microsoft.SqlServer.SmoExtended)</p>
<p>System.Data.SqlClient.SqlError: Exclusive access could not be obtained because the database is in use. (Microsoft.SqlServer.Smo)</p>
<p>Lo que ocurre es que la base de datos está abierta por otro proceso y debes cerrar todas las conexiones. Para hacerlo, abre una ventana de Query y coloca lo siguiente:</p>
<div class="igBar"><span id="lsql-18"><a href="#" onclick="javascript:showPlainTxt('sql-18'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-18">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">USE</span> master</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">go</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> nombre_de_tu_base_de_datos <span style="color: #993333; font-weight: bold;">SET</span> single_user <span style="color: #993333; font-weight: bold;">WITH</span> rollback immediate</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> nombre_de_tu_base_de_datos <span style="color: #993333; font-weight: bold;">SET</span> multi_user </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Este script fue tomado de un <a href="http://geeks.ms/blogs/sergiotarrillo/archive/2007/07/28/23933.aspx">excelente post escrito por Sergio Tarrillo</a>, en el cual puedes encontrar soluciones adicionales para este problema.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/06/14/exclusive-access-could-not-be-obtained-because-the-database-is-in-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vamos M&#233;xico</title>
		<link>http://www.viale.mx/2010/06/10/vamos-mxico/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vamos-mxico</link>
		<comments>http://www.viale.mx/2010/06/10/vamos-mxico/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 01:49:17 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[Varios]]></category>

		<guid isPermaLink="false">http://www.viale.mx/2010/06/10/vamos-mxico/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.viale.mx/wp-content/uploads/2010/06/clip_image002.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.viale.mx/wp-content/uploads/2010/06/clip_image002_thumb.jpg" width="450" height="286" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/06/10/vamos-mxico/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Table &#8216;prueba&#8217; is marked as crashed and should be repaired</title>
		<link>http://www.viale.mx/2010/06/07/table-prueba-is-marked-as-crashed-and-should-be-repaired/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=table-prueba-is-marked-as-crashed-and-should-be-repaired</link>
		<comments>http://www.viale.mx/2010/06/07/table-prueba-is-marked-as-crashed-and-should-be-repaired/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 17:01:41 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[SQL (mySQL)]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=435</guid>
		<description><![CDATA[En ocasiones se te puede presentar el siguiente error en una tabla de una base de datos de MySQL: Table 'prueba' is marked as crashed and should be repaired Para repararlo, abre un command prompt de Windows y cámbiate al directorio donde tienes instalado MySQL, y luego al directorio "bin". Es en este directorio donde [...]]]></description>
			<content:encoded><![CDATA[<p>En ocasiones se te puede presentar el siguiente error en una tabla de una base de datos de MySQL:</p>
<p><code>Table 'prueba' is marked as crashed and should be repaired</code></p>
<p>Para repararlo, abre un <code>command prompt</code> de Windows y cámbiate al directorio donde tienes instalado MySQL, y luego al directorio "bin". Es en este directorio donde están todos los comandos de MySQL.</p>
<p><code>cd "C:\Program Files\MySQL\bin\"</code></p>
<p>Después ejecuta el comando "myisamchk" sobre la tabla que se dañó:</p>
<p><code>bin&gt;myisamchk "bdprueba\prueba.myi"<br />
Checking MyISAM file: bdprueba\prueba.myi<br />
Data records:   34548   Deleted blocks:       0<br />
myisamchk: warning: Table is marked as crashed and last repair failed<br />
myisamchk: warning: 1 client is using or hasn't closed the table properly<br />
- check file-size<br />
myisamchk: error: Size of datafile is: 8936628           Should be: 8936696<br />
- check record delete-chain<br />
- check key delete-chain<br />
- check index reference<br />
- check data record references index: 1<br />
- check record links<br />
myisamchk: error: got error: 120 when reading datafile at record: 34548<br />
MyISAM-table 'bdprueba\prueba.myi' is corrupted<br />
Fix it using switch "-r" or "-o"</code></p>
<p>Como puedes ver, nos está marcando un error, ahora para repararlo utiliza "-r":</p>
<p><code>bin&gt;myisamchk "bdprueba\prueba.myi" -r<br />
- recovering (with sort) MyISAM-table 'bdprueba\prueba.myi'<br />
Data records: 34548<br />
- Fixing index 1<br />
Found link that points at 8936628 (outside data file) at 8924612<br />
Found block that points outside data file at 8924740<br />
Data records: 34576</code></p>
<p>Y si corres nuevamente el primer comando, verás como ya no te aparece el error:</p>
<p><code>bin&gt;myisamchk "bdprueba\prueba.myi"<br />
Checking MyISAM file: bdprueba\prueba.myi<br />
Data records:   34576   Deleted blocks:       0<br />
- check file-size<br />
- check record delete-chain<br />
- check key delete-chain<br />
- check index reference<br />
- check data record references index: 1<br />
- check record links</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/06/07/table-prueba-is-marked-as-crashed-and-should-be-repaired/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
