<?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>GeoAvila (Geovanny G. Avila)</title>
	<atom:link href="http://geoavila.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://geoavila.com</link>
	<description>Desarrollo.. de software.</description>
	<lastBuildDate>Tue, 27 Apr 2010 23:30:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Video Manuales de OpenOffice de FLISOL Guatemala</title>
		<link>http://geoavila.com/video-manuales-de-openoffice-de-flisol-guatemala/</link>
		<comments>http://geoavila.com/video-manuales-de-openoffice-de-flisol-guatemala/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 16:55:35 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[Varios]]></category>
		<category><![CDATA[Calc]]></category>
		<category><![CDATA[Cubos OpenOffice]]></category>
		<category><![CDATA[filtros OpenOffice]]></category>
		<category><![CDATA[Flisol]]></category>
		<category><![CDATA[Flisol Guatemala]]></category>
		<category><![CDATA[Manual OpenOffice]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[OpenOffice Video Manual]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SubTotales OpenOffice]]></category>
		<category><![CDATA[Video Manual]]></category>
		<category><![CDATA[Writer]]></category>

		<guid isPermaLink="false">http://geoavila.com/?p=237</guid>
		<description><![CDATA[


 Bueno antes que nada debo agradecer a todas las personas que hecharon a andar este proyecto, y tambien al Intecap Ciudad de Guatemala, por haber prestado esas instalaciones que estan en lo ultimo de tecnologia, y bueno que debemos aprovecharlas puesto que los cursos que el Intecap imparte  ayudan a mejorar nuestros conocimientos.
Despues haber [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-6058344163325637";
/* 468x15, creado 17/10/08 */
google_ad_slot = "2693427472";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></-> <p>Bueno antes que nada debo agradecer a todas las personas que hecharon a andar este proyecto, y tambien al Intecap Ciudad de Guatemala, por haber prestado esas instalaciones que estan en lo ultimo de tecnologia, y bueno que debemos aprovecharlas puesto que los cursos que el Intecap imparte  ayudan a mejorar nuestros conocimientos.</p>
<p>Despues haber disfrutado del Flisol Guatemala, cree unos video manuales de los siguientes programas de ofimatica de OpenOffice.</p>
<p>Writer:<br />
(Video: Watch this video on the post page)</p>
<p>Calc:<br />
(Video: Watch this video on the post page)</p>
<p>Presentation<br />
(Video: Watch this video on the post page)</p>
<p>Ademas dejo aca el linkpara que puedan descargalos directamente, los archivos de video orginales estan en formato .ogv y los documentos en .odf (Documentos de OpenOffice), <a href="http://geoavila.com/descargables/flisol.tar.gz">Descargar desde Aca</a></p>
<p>Agradezco a toda esas personas por haber asistido y haber hecho de este evento un exito.</p>
<p>Saludos.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/video-manuales-de-openoffice-de-flisol-guatemala/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Validar un NIT(Guatemala) en C#</title>
		<link>http://geoavila.com/validar-un-nitguatemala-en-c/</link>
		<comments>http://geoavila.com/validar-un-nitguatemala-en-c/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 19:54:32 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[C# Csharp Validar NIT Guatemala]]></category>

		<guid isPermaLink="false">http://geoavila.com/?p=232</guid>
		<description><![CDATA[


 Esta función,  encontre esta función para validar un NIT con JavaScript, bueno pasando a C#, quedaría algo así, espero les sirva el este código.
PLAIN TEXT
C#:




public bool ValidarNIT&#40;string Nit&#41;


&#160; &#160; &#160; &#160; &#123;


&#160; &#160; &#160; &#160; &#160; &#160; int pos = Nit.IndexOf&#40;"-"&#41;;


&#160; &#160; &#160; &#160; &#160; &#160; string Correlativo = Nit.Substring&#40;0, pos&#41;;


&#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Esta función,  encontre esta función para validar un <a href="http://leblogmca.blogspot.com/2008/02/validar-el-nit-con-modulo-11.html">NIT con JavaScript</a>, bueno pasando a C#, quedaría algo así, espero les sirva el este código.</p>
<div class="igBar"><span id="lcsharp-2"><a href="#" onclick="javascript:showPlainTxt('csharp-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C#:</span>
<div id="csharp-2">
<div class="csharp">
<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: #0600FF;">public</span> <span style="color: #FF0000;">bool</span> ValidarNIT<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> Nit<span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></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; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">int</span> pos = Nit.<span style="color: #0000FF;">IndexOf</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">"-"</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">string</span> Correlativo = Nit.<span style="color: #0000FF;">Substring</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;color:#800000;">0</span>, pos<span style="color: #000000;">&#41;</span>;</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; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">string</span> DigitoVerificador = Nit.<span style="color: #0000FF;">Substring</span><span style="color: #000000;">&#40;</span>pos + <span style="color: #FF0000;color:#800000;">1</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">int</span> Factor = Correlativo.<span style="color: #0000FF;">Length</span> + <span style="color: #FF0000;color:#800000;">1</span>;</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; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">int</span> Suma = <span style="color: #FF0000;color:#800000;">0</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">int</span> Valor = <span style="color: #FF0000;color:#800000;">0</span>;</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;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #FF0000;">int</span> x = <span style="color: #FF0000;color:#800000;">0</span>; x &lt;= Nit.<span style="color: #0000FF;">IndexOf</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">"-"</span><span style="color: #000000;">&#41;</span> - <span style="color: #FF0000;color:#800000;">1</span>; x++<span style="color: #000000;">&#41;</span></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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Valor = Convert.<span style="color: #0000FF;">ToInt32</span><span style="color: #000000;">&#40;</span>Nit.<span style="color: #0000FF;">Substring</span><span style="color: #000000;">&#40;</span>x, <span style="color: #FF0000;color:#800000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Suma = Suma + <span style="color: #000000;">&#40;</span>Valor * Factor<span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Factor = Factor - <span style="color: #FF0000;color:#800000;">1</span>;</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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</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; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">double</span> xMOd11 = <span style="color: #FF0000;color:#800000;">0</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xMOd11 = <span style="color: #000000;">&#40;</span><span style="color: #FF0000;color:#800000;">11</span> - <span style="color: #000000;">&#40;</span>Suma % <span style="color: #FF0000;color:#800000;">11</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> % <span style="color: #FF0000;color:#800000;">11</span>;</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; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">string</span> s = Convert.<span style="color: #0000FF;">ToString</span><span style="color: #000000;">&#40;</span>xMOd11<span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>xMOd11 == <span style="color: #FF0000;color:#800000;">10</span> &amp; DigitoVerificador == <span style="color: #808080;">"K"</span><span style="color: #000000;">&#41;</span> | <span style="color: #000000;">&#40;</span>s == DigitoVerificador<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span></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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">return</span> <span style="color: #0600FF;">true</span>;</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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">return</span> <span style="color: #0600FF;">false</span>;</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; &nbsp; <span style="color: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Nos Vemos.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/validar-un-nitguatemala-en-c/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Nuevo Diseño gracias a @kreativox</title>
		<link>http://geoavila.com/nuevo-diseno-gracias-a-kreativox/</link>
		<comments>http://geoavila.com/nuevo-diseno-gracias-a-kreativox/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 20:13:31 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://geoavila.com/?p=230</guid>
		<description><![CDATA[Un nuevo diseño ha sido implementado en el sitio, y bueno las gracias son para www.kreativox.com.
Todo fue bastante fácil contar con alguien que sabe de tema de la web, tendencias y diseño, gracias a @kreativox por hacerme entrar en su cartera de clientes al haberme ofrecido varios diseños y haber hecho las modificaciones necesarias para [...]]]></description>
			<content:encoded><![CDATA[<p>Un nuevo diseño ha sido implementado en el sitio, y bueno las gracias son para<a href="http://kreativox.com/" target="_blank"> www.kreativox.com</a>.</p>
<p>Todo fue bastante fácil contar con alguien que sabe de tema de la web, tendencias y diseño, gracias a @kreativox por hacerme entrar en su cartera de clientes al haberme ofrecido varios diseños y haber hecho las modificaciones necesarias para que el sitio quedara con un buen diseño y también un tanto mi gusto personal.</p>
<p>Así que no me queda más que recomendar a <a href="http://kreativox.com/" target="_blank">www.kreativox.com</a>, para el diseño de tu sitio web, ya sea personal empresarial y demas.</p>
<p>Nos vemos.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/nuevo-diseno-gracias-a-kreativox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mini Proyecto Mono.NET</title>
		<link>http://geoavila.com/mini-proyecto-mono-net/</link>
		<comments>http://geoavila.com/mini-proyecto-mono-net/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 17:36:05 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MSSQL Sql Server]]></category>
		<category><![CDATA[Mono .NET]]></category>
		<category><![CDATA[Mysql Mono.net]]></category>
		<category><![CDATA[Proyecto Mono .net]]></category>
		<category><![CDATA[SQL Mono .net]]></category>

		<guid isPermaLink="false">http://geoavila.com/?p=214</guid>
		<description><![CDATA[Bueno he aqui un pequeño programa que nos ayudará a llevar el control de una facturación, por lo que entonces procedemos a definir 4 tablas sencillas a trabajar en este sistema.

Cliente
Factura
Detalle_Factura
Empresa

Los nombres de las tablas recordemos que siempre van a ir en singular, por Regla de regularización de Base de Datos, haré lo siguiente, el [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno he aqui un pequeño programa que nos ayudará a llevar el control de una facturación, por lo que entonces procedemos a definir 4 tablas sencillas a trabajar en este sistema.</p>
<ol>
<li>Cliente</li>
<li>Factura</li>
<li>Detalle_Factura</li>
<li>Empresa</li>
</ol>
<p>Los nombres de las tablas recordemos que siempre van a ir en singular, por Regla de regularización de Base de Datos, haré lo siguiente, el proyecto será desarrollado para SQL Server, pero llevaremos paralelo, la manera de trabajarlo con MySQL, para tener las dos opciones, será desarrollado en GTK#.</p>
<p>Así la siguiente entrega es el script de la base de datos tanto para SQL Server como para MySQL.</p>
<p>para las personas que desean conseguir las herramientas están acá lo <a href="http://www.mono-project.com/Main_Page" target="_blank">runtimes</a> y acá el <a href="http://monodevelop.com/" target="_blank">entorno de deasarrollo</a>, para que pueden descargar todo lo necesario, yo voy a usar la versión 2.4 de Mono.</p>
<p>Nos vemos.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/mini-proyecto-mono-net/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Listar Servicios de Windows con .Net</title>
		<link>http://geoavila.com/listar-servicios-de-windows-con-net/</link>
		<comments>http://geoavila.com/listar-servicios-de-windows-con-net/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 22:26:00 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Saber servicios de windows]]></category>
		<category><![CDATA[Servicios de Windows .net]]></category>

		<guid isPermaLink="false">http://geoavila.com/2009/08/14/listar-servicios-de-windows-con-net/</guid>
		<description><![CDATA[Bueno una función que nos puede ayudar en determinado momento es listar los servicios activos de Windows un ejemplo sencillo de como hacerlo es hacer usando System.Serviceprocess (NO olvides agregarlo como referencia al proyecto):
PLAIN TEXT
VB.NET:




Imports System


Imports System.ServiceProcess


&#160;


Class Program


Private Shared Sub Main&#40;&#41;


Dim services As ServiceController&#40;&#41; = ServiceController.GetServices&#40;&#41;


&#160;


Console.WriteLine&#40;"Listado de los servicios corriendo : "&#41;


For Each service As [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno una función que nos puede ayudar en determinado momento es listar los servicios activos de Windows un ejemplo sencillo de como hacerlo es hacer usando System.Serviceprocess (NO olvides agregarlo como referencia al proyecto):</p>
<div class="igBar"><span id="lvbnet-5"><a href="#" onclick="javascript:showPlainTxt('vbnet-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">VB.NET:</span>
<div id="vbnet-5">
<div class="vbnet">
<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: #0600FF;">Imports</span> System</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">Imports</span> System.<span style="color: #0000FF;">ServiceProcess</span></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;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">Class</span> Program</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: #FF8000;">Private</span> Shared <span style="color: #0600FF;">Sub</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">Dim</span> services <span style="color: #FF8000;">As</span> ServiceController<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> = ServiceController.<span style="color: #0000FF;">GetServices</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></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;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">"Listado de los servicios corriendo : "</span><span style="color: #000000;">&#41;</span></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: #FF8000;">For</span> <span style="color: #0600FF;">Each</span> service <span style="color: #FF8000;">As</span> ServiceController In services</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">If</span> service.<span style="color: #0000FF;">Status</span> = ServiceControllerStatus.<span style="color: #0000FF;">Running</span> <span style="color: #FF8000;">Then</span> <span style="color: #008080; font-style: italic;">'cambiar por ServiceControllerStatus.Stopped para ver inactivos</span></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;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">" Nombre de servicio: {0}"</span>, service.<span style="color: #0000FF;">ServiceName</span><span style="color: #000000;">&#41;</span></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;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">" Nombre mostrado: {0}"</span>, service.<span style="color: #0000FF;">DisplayName</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span></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: #FF8000;">Next</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Sub</span></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: #0600FF;">End</span> <span style="color: #0600FF;">Class</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
y en c# sería así.</p>
<div class="igBar"><span id="lcsharp-6"><a href="#" onclick="javascript:showPlainTxt('csharp-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C#:</span>
<div id="csharp-6">
<div class="csharp">
<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: #0600FF;">using</span> <span style="color: #000000;">System</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">using</span> <span style="color: #000000;">System</span>.<span style="color: #0000FF;">ServiceProcess</span>;</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;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #FF0000;">class</span> Program</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: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></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: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ServiceController<span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span> services = ServiceController.<span style="color: #0000FF;">GetServices</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</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;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">"Listado de los servicios corriendo : "</span><span style="color: #000000;">&#41;</span>;</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: #0600FF;">foreach</span> <span style="color: #000000;">&#40;</span>ServiceController service <span style="color: #0600FF;">in</span> services<span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#123;</span></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: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>service.<span style="color: #0000FF;">Status</span> == ServiceControllerStatus.<span style="color: #0000FF;">Running</span><span style="color: #000000;">&#41;</span> <span style="color: #008080; font-style: italic;">//cambiar por ServiceControllerStatus.Stopped para ver inactivos</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#123;</span></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;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">" Nombre de servicio: {0}"</span>,</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;">service.<span style="color: #0000FF;">ServiceName</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">" Nombre mostrado: {0}"</span>,</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;">service.<span style="color: #0000FF;">DisplayName</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#125;</span></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: #000000;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#125;</span></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: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>para saber los procesos que están inactivos usamos la siguiente propiedad.<br />
ServiceControllerStatus.Stopped.</p>
<p>un buen truco espero les sirva.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/listar-servicios-de-windows-con-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Impedir que un form se cierre csharp,vb.net</title>
		<link>http://geoavila.com/impedir-que-un-form-se-cierre-csharpvb-net/</link>
		<comments>http://geoavila.com/impedir-que-un-form-se-cierre-csharpvb-net/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 22:42:32 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>
		<category><![CDATA[Form Closing]]></category>
		<category><![CDATA[FormClosing]]></category>
		<category><![CDATA[Impedir cierre form .net]]></category>
		<category><![CDATA[Impedir que form se cierre .net]]></category>

		<guid isPermaLink="false">http://geoavila.com/?p=202</guid>
		<description><![CDATA[A continuación, este código te ayudará para evitar que un formularion se cierre sin previa validación, para esto usamos la evento FormClosing de los formulacion de Windows Forms.
En Visual Basic .Net es de esta manera
PLAIN TEXT
VB.NET:




Private Sub forma_FormClosing&#40;ByVal sender As Object, ByVal e As FormClosingEventArgs&#41;


Dim valor1 As &#91;Decimal&#93;


Dim valor2 As &#91;Decimal&#93;


valor1 = Convert.ToDecimal&#40;txtval1.Text&#41;


valor2 = Convert.ToDecimal&#40;txtval2.Text&#41;


If [...]]]></description>
			<content:encoded><![CDATA[<p>A continuación, este código te ayudará para evitar que un formularion se cierre sin previa validación, para esto usamos la evento FormClosing de los formulacion de Windows Forms.</p>
<p>En Visual Basic .Net es de esta manera</p>
<div class="igBar"><span id="lvbnet-9"><a href="#" onclick="javascript:showPlainTxt('vbnet-9'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">VB.NET:</span>
<div id="vbnet-9">
<div class="vbnet">
<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: #FF8000;">Private</span> <span style="color: #0600FF;">Sub</span> forma_FormClosing<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> sender <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Object</span>, <span style="color: #FF8000;">ByVal</span> e <span style="color: #FF8000;">As</span> FormClosingEventArgs<span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">Dim</span> valor1 <span style="color: #FF8000;">As</span> <span style="color: #000000;">&#91;</span>Decimal<span style="color: #000000;">&#93;</span></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: #0600FF;">Dim</span> valor2 <span style="color: #FF8000;">As</span> <span style="color: #000000;">&#91;</span>Decimal<span style="color: #000000;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">valor1 = Convert.<span style="color: #0000FF;">ToDecimal</span><span style="color: #000000;">&#40;</span>txtval1.<span style="color: #0000FF;">Text</span><span style="color: #000000;">&#41;</span></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;">valor2 = Convert.<span style="color: #0000FF;">ToDecimal</span><span style="color: #000000;">&#40;</span>txtval2.<span style="color: #0000FF;">Text</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">If</span> valor1 &lt;&gt; valor2 <span style="color: #FF8000;">Then</span></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;">MessageBox.<span style="color: #0000FF;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #FF8000;">Me</span>, <span style="color: #808080;">"Los valore deben coincidir"</span>, <span style="color: #808080;">"Error"</span>, MessageBoxButtons.<span style="color: #0600FF;">OK</span>, MessageBoxIcon.<span style="color: #000000;">&#91;</span><span style="color: #FF8000;">Error</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">e.<span style="color: #0600FF;">Cancel</span> = <span style="color: #0600FF;">True</span> <span style="color: #008080; font-style: italic;">'evita que el form se cierre</span></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;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span></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: #0600FF;">End</span> <span style="color: #0600FF;">Sub</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lcsharp-10"><a href="#" onclick="javascript:showPlainTxt('csharp-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C#:</span>
<div id="csharp-10">
<div class="csharp">
<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: #0600FF;">private</span> <span style="color: #0600FF;">void</span> forma_FormClosing<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, FormClosingEventArgs e<span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#123;</span></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: #FF0000;">Decimal</span> valor1;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #FF0000;">Decimal</span> valor2;</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;">valor1 = Convert.<span style="color: #0000FF;">ToDecimal</span><span style="color: #000000;">&#40;</span>valor1.<span style="color: #0000FF;">Text</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">valor2 = Convert.<span style="color: #0000FF;">ToDecimal</span><span style="color: #000000;">&#40;</span>valor2.<span style="color: #0000FF;">Text</span><span style="color: #000000;">&#41;</span>;</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: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>valor1 != valor2<span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#123;</span></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;">MessageBox.<span style="color: #0000FF;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #0600FF;">this</span>, <span style="color: #808080;">"Los valores deben coincidir"</span>, <span style="color: #808080;">"Error"</span>,MessageBoxButtons.<span style="color: #0000FF;">OK</span>,MessageBoxIcon.<span style="color: #0000FF;">Error</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">e.<span style="color: #0000FF;">Cancel</span> = <span style="color: #0600FF;">true</span>; <span style="color: #008080; font-style: italic;">//evita que el form se cierre</span></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: #000000;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</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: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Un código bastante útil en el tema de validaciones y prohibiciones para que esas ocaciones que se necesita aplicar seguridad en los formularios.</p>
<p>Nos vemos.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/impedir-que-un-form-se-cierre-csharpvb-net/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Valida TextBox si es Entero o Decimal</title>
		<link>http://geoavila.com/valida-textbox-si-es-entero-o-decimal/</link>
		<comments>http://geoavila.com/valida-textbox-si-es-entero-o-decimal/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:41:13 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Mono .NET]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>
		<category><![CDATA[validar decimal textbox]]></category>
		<category><![CDATA[validar entero textbox]]></category>
		<category><![CDATA[validar textbox vb.net c# csharp]]></category>
		<category><![CDATA[validate textbox decimal]]></category>
		<category><![CDATA[validate textbox integer]]></category>

		<guid isPermaLink="false">http://geoavila.com/?p=197</guid>
		<description><![CDATA[Bueno estas funciones ayudan a validar si el texto ingresado en un textbox es un valor numérico ó es un valor decimal, estas son de las validaciones más usadas para desarrollar así que acá se los dejo.
PLAIN TEXT
VB.NET:




Public Shared Function EsInteger&#40;ByVal theValue As String&#41; As Boolean


&#160; &#160; 'funcion para enteros


&#160; &#160; Try


&#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno estas funciones ayudan a validar si el texto ingresado en un textbox es un valor numérico ó es un valor decimal, estas son de las validaciones más usadas para desarrollar así que acá se los dejo.</p>
<div class="igBar"><span id="lvbnet-15"><a href="#" onclick="javascript:showPlainTxt('vbnet-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">VB.NET:</span>
<div id="vbnet-15">
<div class="vbnet">
<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: #FF8000;">Public</span> Shared <span style="color: #0600FF;">Function</span> EsInteger<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> theValue <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Boolean</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #008080; font-style: italic;">'funcion para enteros</span></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; <span style="color: #0600FF;">Try</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Convert.<span style="color: #0000FF;">ToInt32</span><span style="color: #000000;">&#40;</span>theValue<span style="color: #000000;">&#41;</span></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; &nbsp; Return <span style="color: #0600FF;">True</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0600FF;">Catch</span></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; &nbsp; Return <span style="color: #0600FF;">False</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Try</span></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: #0600FF;">End</span> <span style="color: #0600FF;">Function</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</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: #FF8000;">Public</span> Shared <span style="color: #0600FF;">Function</span> EsDecimal<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> theValue <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Boolean</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #008080; font-style: italic;">'funcion para enteros</span></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; <span style="color: #0600FF;">Try</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Convert.<span style="color: #0000FF;">ToDecimal</span><span style="color: #000000;">&#40;</span>theValue<span style="color: #000000;">&#41;</span></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; &nbsp; Return <span style="color: #0600FF;">True</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0600FF;">Catch</span></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; &nbsp; Return <span style="color: #0600FF;">False</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Try</span></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: #0600FF;">End</span> <span style="color: #0600FF;">Function</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lcsharp-16"><a href="#" onclick="javascript:showPlainTxt('csharp-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C#:</span>
<div id="csharp-16">
<div class="csharp">
<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: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #FF0000;">bool</span> EsInteger<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> theValue<span style="color: #000000;">&#41;</span><span style="color: #008080; font-style: italic;">//funcion para enteros</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></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; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">try</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Convert.<span style="color: #0000FF;">ToInt32</span><span style="color: #000000;">&#40;</span>theValue<span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">return</span> <span style="color: #0600FF;">true</span>;</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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">catch</span></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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">return</span> <span style="color: #0600FF;">false</span>;</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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span></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;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #FF0000;">bool</span> EsDecimal<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> theValue<span style="color: #000000;">&#41;</span><span style="color: #008080; font-style: italic;">//funcion para enteros</span></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; &nbsp; <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">try</span></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; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Convert.<span style="color: #0000FF;">ToDecimal</span><span style="color: #000000;">&#40;</span>theValue<span style="color: #000000;">&#41;</span>;</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">return</span> <span style="color: #0600FF;">true</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span></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; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">catch</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span></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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF;">return</span> <span style="color: #0600FF;">false</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span></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; &nbsp; <span style="color: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>otra manera de validar de parte de @cmsalvado gracias por el dato:</p>
<div class="igBar"><span id="lvbnet-17"><a href="#" onclick="javascript:showPlainTxt('vbnet-17'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">VB.NET:</span>
<div id="vbnet-17">
<div class="vbnet">
<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: #FF8000;">Public</span> Shared <span style="color: #0600FF;">Function</span> EsInteger<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> theValue <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Boolean</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">Dim</span> value <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Integer</span></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;">Return <span style="color: #FF0000;">Integer</span>.<span style="color: #0000FF;">TryParse</span><span style="color: #000000;">&#40;</span>theValue, value<span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Function</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lcsharp-18"><a href="#" onclick="javascript:showPlainTxt('csharp-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C#:</span>
<div id="csharp-18">
<div class="csharp">
<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: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #FF0000;">bool</span> EsInteger<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> theValue<span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#123;</span></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: #FF0000;">int</span> value;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">return</span> <span style="color: #FF0000;">int</span>.<span style="color: #0000FF;">TryParse</span><span style="color: #000000;">&#40;</span>theValue, <span style="color: #0600FF;">out</span> value<span style="color: #000000;">&#41;</span>;</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: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>bueno espero les sea de gran ayuda.</p>
<p>nos vemos</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/valida-textbox-si-es-entero-o-decimal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saber cuanta memoria consume SQL Server MSSQL</title>
		<link>http://geoavila.com/saber-cuanta-memoria-consume-sql-server-mssql/</link>
		<comments>http://geoavila.com/saber-cuanta-memoria-consume-sql-server-mssql/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 20:10:00 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[MSSQL Sql Server]]></category>
		<category><![CDATA[Cuanta memoria consume SQL Server]]></category>
		<category><![CDATA[Saber consumo de memoria SQL SERVER]]></category>

		<guid isPermaLink="false">http://geoavila.com/2009/08/06/saber-cuanta-memoria-consume-sql-server-mssql/</guid>
		<description><![CDATA[para saber el consumo real SQL Server se debe de usar dbcc memorystatus como comando SQL, y nos dará el siguiente resultado de datos, en la primera sección Memory Manager valores expresados en Kb:
Buffer Distribution              Buffers
------------------------------   -----------
Stolen    [...]]]></description>
			<content:encoded><![CDATA[<p>para saber el consumo real SQL Server se debe de usar dbcc memorystatus como comando SQL, y nos dará el siguiente resultado de datos, en la primera sección Memory Manager valores expresados en Kb:</p>
<pre class="in_text">Buffer Distribution              Buffers
------------------------------   -----------
Stolen                           241
Free                             95
Procedures                       89
Inram                            0
Dirty                            16
Kept                             0
I/O                              0
Latched                          18
Other                            880

(9 row(s) affected)
</pre>
<p>para más info revisar esto http://support.microsoft.com/kb/271624.</p>
<p>El revisar el administrador de tareas no te dará el valor correcto del uso de la memoria del SQL server.</p>
<p>nos vemos.</p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=6681c924-49ba-8fde-9ef2-9553b4458cc3" /></div>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/saber-cuanta-memoria-consume-sql-server-mssql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>validar si hay texto en un textbox vb.net c#</title>
		<link>http://geoavila.com/valida-si-hay-texto-en-un-textbox/</link>
		<comments>http://geoavila.com/valida-si-hay-texto-en-un-textbox/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 19:48:00 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Mono .NET]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>
		<category><![CDATA[validar si hay texto en un textbox vb.net c#]]></category>

		<guid isPermaLink="false">http://geoavila.com/2009/08/05/valida-enterodecimal-en-un-textbox/</guid>
		<description><![CDATA[Esta código ayuda a revisar si existe un texto ingresado en un textbox en VB.net y C#.
PLAIN TEXT
VB.NET:




If TextBox.Text.Length &#60;1 Then


MessageBox.Show&#40;Me, "Debe colocar un cliente válido", "error", MessageBoxButtons.OK, MessageBoxIcon.&#91;Error&#93;&#41;


Return


End If 






PLAIN TEXT
C#:




if &#40;TextBox.Text.Length &#60;1&#41;


&#123;


MessageBox.Show&#40;this, "Debe colocar un cliente válido", "error", MessageBoxButtons.OK, MessageBoxIcon.Error&#41;;


return;


&#125; 






nos vemos espero les sirva algo sencillo pero muy útil.
]]></description>
			<content:encoded><![CDATA[<p>Esta código ayuda a revisar si existe un texto ingresado en un textbox en VB.net y C#.</p>
<div class="igBar"><span id="lvbnet-21"><a href="#" onclick="javascript:showPlainTxt('vbnet-21'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">VB.NET:</span>
<div id="vbnet-21">
<div class="vbnet">
<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: #0600FF;">If</span> TextBox.<span style="color: #0000FF;">Text</span>.<span style="color: #0000FF;">Length</span> &lt;<span style="color: #FF0000;color:#800000;">1</span> <span style="color: #FF8000;">Then</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">MessageBox.<span style="color: #0000FF;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #FF8000;">Me</span>, <span style="color: #808080;">"Debe colocar un cliente válido"</span>, <span style="color: #808080;">"error"</span>, MessageBoxButtons.<span style="color: #0600FF;">OK</span>, MessageBoxIcon.<span style="color: #000000;">&#91;</span><span style="color: #FF8000;">Error</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span></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;">Return</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lcsharp-22"><a href="#" onclick="javascript:showPlainTxt('csharp-22'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C#:</span>
<div id="csharp-22">
<div class="csharp">
<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: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>TextBox.<span style="color: #0000FF;">Text</span>.<span style="color: #0000FF;">Length</span> &lt;<span style="color: #FF0000;color:#800000;">1</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#123;</span></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;">MessageBox.<span style="color: #0000FF;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #0600FF;">this</span>, <span style="color: #808080;">"Debe colocar un cliente válido"</span>, <span style="color: #808080;">"error"</span>, MessageBoxButtons.<span style="color: #0000FF;">OK</span>, MessageBoxIcon.<span style="color: #0000FF;">Error</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">return</span>;</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: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>nos vemos espero les sirva algo sencillo pero muy útil.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/valida-si-hay-texto-en-un-textbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test de HD para Video Manual</title>
		<link>http://geoavila.com/test-de-hd-para-video-manual/</link>
		<comments>http://geoavila.com/test-de-hd-para-video-manual/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 21:45:26 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Mono .NET]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>

		<guid isPermaLink="false">http://geoavila.com/?p=153</guid>
		<description><![CDATA[Bueno estando en un café libre, pregunté si me podían echar una mano con la compresión de video, para el manual, y bueno he aquí la demo de lo mejor que he conseguido gracias a rodrigo polo, espero que se vea bien en la mayoría de los clientes.
Saludos
(Video: Watch this video on the post page)
Espero [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno estando en un café libre, pregunté si me podían echar una mano con la compresión de video, para el manual, y bueno he aquí la demo de lo mejor que he conseguido gracias a <a href="http://www.rodrigopolo.com/" target="_blank">rodrigo polo</a>, espero que se vea bien en la mayoría de los clientes.</p>
<p>Saludos</p>
<p>(Video: Watch this video on the post page)</p>
<p>Espero sus comentarios, Gracias por la opinión.</p>
<p>Saludos</p>
<p>P.D. presiona el botón HD del plugin para ver el alta de definición</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/test-de-hd-para-video-manual/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
