<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3286377949329059467</id><updated>2025-06-09T12:41:27.265+02:00</updated><category term="Windows 8"/><category term="Megathon"/><category term="Microsoft"/><category term="Android"/><category term="sonidos"/><category term=".Net"/><category term="C#"/><category term="Descarga de ejemplos"/><category term="Geoposición"/><category term="PowerBuilder"/><category term="SQL"/><category term="Silverlight"/><category term="API"/><category term="App"/><category term="Binding"/><category term="Combobox"/><category term="Dependecy Property"/><category term="Enumerado"/><category term="GUID"/><category term="General"/><category term="Google Maps"/><category term="Grados"/><category term="Impresora virtual"/><category term="Internal"/><category term="Konverter"/><category term="Latitud"/><category term="Longitud"/><category term="Num2Txt"/><category term="Números a letras"/><category term="PDF"/><category term="Presentacion"/><category term="Prism"/><category term="System"/><category term="UserControl"/><category term="VB"/><category term="Windows"/><category term="botones"/><category term="desencriptar"/><category term="dinámico"/><category term="encriptar"/><category term="funciones comunes"/><title type='text'>Trucos de programacion</title><subtitle type='html'>Información de trucos en programación en varios lenguajes de programación, así como gestores de bases de datos y configuraciones varias en sistemas operativos.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-7430537419558489270</id><published>2015-02-17T14:50:00.002+01:00</published><updated>2015-02-19T08:22:38.105+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>[SQL] Obtener información de tablas</title><content type='html'>Buenas a todos.&lt;br /&gt;
&lt;br /&gt;
Os propongo una forma rápida de obtener información sobre tablas de vuestra base de datos.&lt;br /&gt;
Vamos a ver como recuperar los nombres de las tablas, los campos y las claves foraneas de nuestra base de datos.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;Nombre de las tablas de nuestra BBDD&lt;/b&gt;&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;USE MyDatabase&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
Información de los campos de las tablas&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;USE MyDatabase&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;SELECT TABLE_NAME as Tabla, COLUMN_NAME as Campo,&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;DATA_TYPE as Tipo, CHARACTER_MAXIMUM_LENGTH as Longitud,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; NUMERIC_PRECISION as Precision,NUMERIC_SCALE as Decimales&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;FROM INFORMATION_SCHEMA.COLUMNS&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;ORDER BY TABLE_NAME&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
Información de claves foraneas&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;SELECT fk.name as FK,&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;OBJECT_NAME(fk.parent_object_id) AS TableName,&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;COL_NAME(fc.parent_object_id, fc.parent_column_id) as ColumnName,&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;OBJECT_NAME(fk.referenced_object_id) as ReferenceTableName,&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;COL_NAME(fc.referenced_object_id, fc.referenced_column_id) as ReferenceColumnName&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;FROM sys.foreign_keys as fk&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;INNER JOIN sys.foreign_key_columns AS fc on fk.OBJECT_ID = fc.constraint_object_id&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
No hace falta decir que estas sentencias se pueden poner condiciones WHERE para acotar los resultados.&lt;br /&gt;
&lt;br /&gt;
Y por supuesto, si estamos usando Microsoft SQL Server Management Studio, si escribimos el nombre de nuestra tabla a examinar, y pulsamos ALT+F1, obtendremos toda esa información.&lt;br /&gt;
Tambien usando la sentencia &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sp_help MiTabla&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/7430537419558489270/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2015/02/sql-obtener-informacion-de-tablas.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/7430537419558489270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/7430537419558489270'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2015/02/sql-obtener-informacion-de-tablas.html' title='[SQL] Obtener información de tablas'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-4132565708174282883</id><published>2013-04-18T09:09:00.000+02:00</published><updated>2013-04-18T16:22:26.687+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Megathon"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 8"/><title type='text'>[W8] Megathon - Resumen, ¿Y ahora que?</title><content type='html'>Hola a todos.&lt;br /&gt;
&lt;br /&gt;
Ya ha pasado el Megathon 2013, ha sido un suspiro....&lt;br /&gt;
&lt;br /&gt;
Tres días frenéticos de código, emociones, colaboraciones, charlas....&lt;br /&gt;
&lt;br /&gt;
Voy a hacer un resumen de lo que pasó en Málaga.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Día 12 Abril - Viernes&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Llegada de los participantes, inscripción y charla&amp;nbsp;inaugural.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjmxAilqND8LYU5S5ENfex1_UnN4SM2gZG4nUgATk3EX5XNEivAGIYbGxRIehjPJIfFsif1XrP8guxtsW3QGUdUYMmv4eUO-yjV1IIzFQjafs3rdpBS2VDLfaFPP5lSwmt8sc89S5UsZbN/s1600/20130412_173532.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjmxAilqND8LYU5S5ENfex1_UnN4SM2gZG4nUgATk3EX5XNEivAGIYbGxRIehjPJIfFsif1XrP8guxtsW3QGUdUYMmv4eUO-yjV1IIzFQjafs3rdpBS2VDLfaFPP5lSwmt8sc89S5UsZbN/s320/20130412_173532.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlvznJbr9PdyKnmLCBqDab5vjy5_8K6uU61o4ZjJVGBsE14LMR7uVFCvNEUFLLxV1Fo8eNCnzbouwo-JYx6kSdYFW8UdXwzniwbx6wvPZIVKEdinxNL2JBUq3RHUc8tFPYt8Z_JyTG4zHH/s1600/IMG_20130412_152139.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlvznJbr9PdyKnmLCBqDab5vjy5_8K6uU61o4ZjJVGBsE14LMR7uVFCvNEUFLLxV1Fo8eNCnzbouwo-JYx6kSdYFW8UdXwzniwbx6wvPZIVKEdinxNL2JBUq3RHUc8tFPYt8Z_JyTG4zHH/s320/IMG_20130412_152139.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCs4xyX3jNGPDUEKBIGlb4OSxEvabE7_KNDYVYF0WjUlm1dwv4H21Cky-6FpQiJ14PeHksrlWUcagyVeLo0fp5lhsOtHBIjuQUSjXeqSkvyEb94d8deiKwZY04JzaEGPpmdhhuCKOlPIYp/s1600/20130412_173537.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCs4xyX3jNGPDUEKBIGlb4OSxEvabE7_KNDYVYF0WjUlm1dwv4H21Cky-6FpQiJ14PeHksrlWUcagyVeLo0fp5lhsOtHBIjuQUSjXeqSkvyEb94d8deiKwZY04JzaEGPpmdhhuCKOlPIYp/s320/20130412_173537.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
La participación en Málaga fue abrumadora, la media de asistencia fue de 50 personas al día, tendiendo en cuenta que fue en fin de semana, algunos podrían tener compromisos, pero los equipos se organizaron muy bien.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
No todos&amp;nbsp;tenían&amp;nbsp;equipos, se unieron a algunos ya formados y otros se formaron en el Megathon.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En total... 15 equipos con sus proyectos, 15 maravillosas ideas.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;Día 13 Abril - Sábado&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIyMER-1vINua85OAKM38vAqTjhPEchmJ4_2aDKUqdYShb698JWykIOhN2XzQAy1N3lB0FglJsFkpK8zp7GwKM1H-nb4Rk2OWpUhbfiWJTK7igscrHw6VGjyDrWps1bR-pvXagh4wXDJMO/s1600/20130413_111617.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIyMER-1vINua85OAKM38vAqTjhPEchmJ4_2aDKUqdYShb698JWykIOhN2XzQAy1N3lB0FglJsFkpK8zp7GwKM1H-nb4Rk2OWpUhbfiWJTK7igscrHw6VGjyDrWps1bR-pvXagh4wXDJMO/s320/20130413_111617.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En esta&amp;nbsp;panorámica&amp;nbsp;se puede ver como estaba la sala de trabajo, nadie se quería perder este evento, las charlas.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Los mentores no&amp;nbsp;dábamos&amp;nbsp;a basto, todos nos llamaban por todas partes, desde el que venía con nivel 0 y no traía ni el Windows 8 ni Visual Studio 2012 instalado, hasta el profesional que nos pedía ayuda de accesos a Azure. Una locura, pero genial.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkTiA9z8fV7v2dJyg40JOeehxWUq5Yf1LA_0P3JAIx7SgFQ4zeZQjGehitXjAg0lZbs8qkmCnXSV8a44UX8gomelskzxTj6VZE9nQKZ66bxyWwVPE3u-U5iwTRapAG01fx7kX9RgL_6c5v/s1600/20130413_111842.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkTiA9z8fV7v2dJyg40JOeehxWUq5Yf1LA_0P3JAIx7SgFQ4zeZQjGehitXjAg0lZbs8qkmCnXSV8a44UX8gomelskzxTj6VZE9nQKZ66bxyWwVPE3u-U5iwTRapAG01fx7kX9RgL_6c5v/s320/20130413_111842.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Veíamos como la competición era sana, diseñadores prestando sus conocimientos a otros equipos, ayudando en todo. Nadie quería&amp;nbsp;perderse&amp;nbsp;el evento, ni herido.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivRgJG3jqjFXdmWMDvjHgsv_RoOpKw8qFXx3Atii9Vjhy1fMxtN5PJUfJHOiwkGaU8hU7mPzymBdNz5gkLS1fan_PHeku6jJdZdG-glZaoVHtFP7IrqnqM_VvXKzJfPQPzCCFmyc9i-HAN/s1600/20130413_144701.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivRgJG3jqjFXdmWMDvjHgsv_RoOpKw8qFXx3Atii9Vjhy1fMxtN5PJUfJHOiwkGaU8hU7mPzymBdNz5gkLS1fan_PHeku6jJdZdG-glZaoVHtFP7IrqnqM_VvXKzJfPQPzCCFmyc9i-HAN/s320/20130413_144701.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Bocadillo para reponer fuerzas&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Llegada la hora de acabar la jornada del Sábado, nadie quería irse, son las 22:00 y todavía hay gente haciendo cosas. Se disfrutaba mucho&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB6mvdy-Zgd3-lR4OGCpWyowehPx05dbC6REIEY4N6MlZZVYyLk0W6-ZMcuZUhRJ9SURAgjEOW0S58BKkR-QRFurm9t_P9Jq6GiH19VDj9NLqRpwQc6Oea2n03VWag0VHOEOKecniDG_tF/s1600/20130413_212026.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB6mvdy-Zgd3-lR4OGCpWyowehPx05dbC6REIEY4N6MlZZVYyLk0W6-ZMcuZUhRJ9SURAgjEOW0S58BKkR-QRFurm9t_P9Jq6GiH19VDj9NLqRpwQc6Oea2n03VWag0VHOEOKecniDG_tF/s320/20130413_212026.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Día 14 Abril - Domingo&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Llegó el último día. Todos con los nervios a flor de piel, ultimando detalles, pruebas de ultima hora, gritos porque la demo no funciona, los clásicos nervios del día de entrega&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirjGil6O3qVs6fDc90xVGsn_uWpma1LOERZPvf7s_ZEefmOuSvRio1zcyiA-DuHZxARxbvb8g_e9COy7nOSJ-nVwlDOiNhm0nT4sC3hrjMmrSJlM57z3rn9CDIzujy4mvKiX4y8RaMT4No/s1600/20130414_144105.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirjGil6O3qVs6fDc90xVGsn_uWpma1LOERZPvf7s_ZEefmOuSvRio1zcyiA-DuHZxARxbvb8g_e9COy7nOSJ-nVwlDOiNhm0nT4sC3hrjMmrSJlM57z3rn9CDIzujy4mvKiX4y8RaMT4No/s320/20130414_144105.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
15 proyectos, 15 ideas geniales&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Y tras la presentación, a la que todos dieron consejos a los compañeros de como mejorarla, de mas ideas.. los votos.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
En Málaga se decidió hacer la votación en secreto, cada equipo elegía tres aplicaciones y le daba 3, 2 o 1 punto. Para que el resultado sea lo más repartido posible.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Además de los &lt;a href=&quot;http://kurro-software.blogspot.co.uk/2013/04/w8-megathon-2013-premios.html&quot; target=&quot;_blank&quot;&gt;premios locales&lt;/a&gt; ya anunciados, la organización decidió regalar las tabletas Watcom que Microsoft había regalado a los mentores y organizadores del evento. Así que hubo 3 primeros premios.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRJ-MgyXOOrbNMngXXaYpaP8Y7ftFpy8o9N6-RvzegpX9Na-Uzi1Mmph0m_MlvFbE-YADOBaSEHyOv2ctWI1DbtiWyRM1wocpyHKx-pUfrqLLFOmfEJAHKkE_1Tz8PDPAwW7DBEMHMIek3/s1600/20130414_151738.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRJ-MgyXOOrbNMngXXaYpaP8Y7ftFpy8o9N6-RvzegpX9Na-Uzi1Mmph0m_MlvFbE-YADOBaSEHyOv2ctWI1DbtiWyRM1wocpyHKx-pUfrqLLFOmfEJAHKkE_1Tz8PDPAwW7DBEMHMIek3/s640/20130414_151738.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-ZyS6cT-6BHZYR4kiX1QIjQYoDmuuNUMxuzAYKHrQx_vaFlJklGPxEEAcZbvMHxW_VxftVHuxwpVWGij8XOoBLnE8g0OdlWtt5LDEHed5G3qLelbbbmsPpTqC4QxbC_k56tpbun4SKND6/s1600/20130414_151750.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; display: inline !important; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-ZyS6cT-6BHZYR4kiX1QIjQYoDmuuNUMxuzAYKHrQx_vaFlJklGPxEEAcZbvMHxW_VxftVHuxwpVWGij8XOoBLnE8g0OdlWtt5LDEHed5G3qLelbbbmsPpTqC4QxbC_k56tpbun4SKND6/s200/20130414_151750.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5A0cdevPoZ2Q6UueTNLJ8wN-5mKBDBsszwiIL-cDpCqqPs2EaYqzNVQBByDmnSryYIQLyXPz9YRa1Nanm5I5xt73NFX14MrFhQCmfldaC4YrlCDMLZKwjvOpCloI0GMBIcwDAbtNUdDOY/s1600/20130414_151746.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5A0cdevPoZ2Q6UueTNLJ8wN-5mKBDBsszwiIL-cDpCqqPs2EaYqzNVQBByDmnSryYIQLyXPz9YRa1Nanm5I5xt73NFX14MrFhQCmfldaC4YrlCDMLZKwjvOpCloI0GMBIcwDAbtNUdDOY/s200/20130414_151746.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Tercera posición&lt;/b&gt;: &lt;b&gt;&lt;u&gt;BabyTube&lt;/u&gt;&lt;/b&gt;. Una aplicación para controlar los videos que nuestros hijos estan viendo en la tableta, pero podemos monitorizar desde el movil, controlando el tiempo del video, y la camára para ver que estan haciendo y estar tranquilos. Premio de Tablet Watcom&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIxG24ecyxdLc-HSOdIBPS9VKmcGVVBrTzZy0MCcgA9DmtmJUNqV7JtOF_QETMI1UZp03cbG9whE5Ge9CTCMBC-cX8Fvyon6FWwvs9O2euFAsMUxoAebNmMdv_8vzvI5zrBOTmXKoHI9pP/s1600/IMG_20130414_153714.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIxG24ecyxdLc-HSOdIBPS9VKmcGVVBrTzZy0MCcgA9DmtmJUNqV7JtOF_QETMI1UZp03cbG9whE5Ge9CTCMBC-cX8Fvyon6FWwvs9O2euFAsMUxoAebNmMdv_8vzvI5zrBOTmXKoHI9pP/s320/IMG_20130414_153714.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Segunda posición: &lt;u&gt;Flippa&lt;/u&gt;&lt;/b&gt;. Una aplicación de animación flip book, donde dibujas y animas tus dibujos. Ideal para dispositivos táctiles y de fácil uso. Premio de Tablet Watcom&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQOSGeqmwGPPsaxGghHZk9Glp862l0WrbS6zsK3SwvjuR4jSCwDoJ5F3CIxRdUuJr1knxi__BAB5Bx8XbSsvCrB1AuQELbujgvcnmTag9zsRIKoPJuYDucczTwD8Y7-G50oqMEgzKGVD72/s1600/IMG_20130414_153627.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQOSGeqmwGPPsaxGghHZk9Glp862l0WrbS6zsK3SwvjuR4jSCwDoJ5F3CIxRdUuJr1knxi__BAB5Bx8XbSsvCrB1AuQELbujgvcnmTag9zsRIKoPJuYDucczTwD8Y7-G50oqMEgzKGVD72/s320/IMG_20130414_153627.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Primera posición: &lt;u&gt;Gift wish&lt;/u&gt;&lt;/b&gt;. La lista de deseos cooperativa que todos hemos querido tener. Tu eliges los regalos que quieres tener para cumpleaños, boda, navidad, y tus amigos sabrán que quieres y como compartir los gastos. Premio de Tarjeta Cerbuino Bee, Licencia Nokia Dev, Licencia RadarC Premium&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAWma4ubPu6dp4gtqztfQg9CWB1jLEA05sV080jVmEu8HWwRYXSM3NbSnR00M0Hv7sbRlUkIC1bLBbfLL6eknJx2xeTmm9UjRNrcz1Oz9fVaiE0CPIT5_qluZ8Ghi4LDktlRQZRj3hpZGS/s1600/IMG_20130414_153541.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAWma4ubPu6dp4gtqztfQg9CWB1jLEA05sV080jVmEu8HWwRYXSM3NbSnR00M0Hv7sbRlUkIC1bLBbfLL6eknJx2xeTmm9UjRNrcz1Oz9fVaiE0CPIT5_qluZ8Ghi4LDktlRQZRj3hpZGS/s320/IMG_20130414_153541.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAWma4ubPu6dp4gtqztfQg9CWB1jLEA05sV080jVmEu8HWwRYXSM3NbSnR00M0Hv7sbRlUkIC1bLBbfLL6eknJx2xeTmm9UjRNrcz1Oz9fVaiE0CPIT5_qluZ8Ghi4LDktlRQZRj3hpZGS/s1600/IMG_20130414_153541.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Además se sorteó una licencia RadarC basic entre todos los equpos participantes, siendo los chicos de &lt;b&gt;&lt;u&gt;FaceList&lt;/u&gt;&lt;/b&gt; los ganadores. Una aplicación para gestionar y agrupar los permisos de tus contactos de Facebook.&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieiphha-LHrVjJiXlvZH_HNCt5wGAIgt9F67ojUEq24UTgWk5F42RURWatXO2gvI7M8hVBXXAjOK3iZ0pWlg_gBdLhyphenhypheniDcRw-Q3XnftwetqEqhNy73hs9ZPG3wofo62FJFMmNjgwoWho3b/s1600/IMG_20130414_153826.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieiphha-LHrVjJiXlvZH_HNCt5wGAIgt9F67ojUEq24UTgWk5F42RURWatXO2gvI7M8hVBXXAjOK3iZ0pWlg_gBdLhyphenhypheniDcRw-Q3XnftwetqEqhNy73hs9ZPG3wofo62FJFMmNjgwoWho3b/s320/IMG_20130414_153826.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Todo un éxito de participación, colaboración y &quot;buen rollito&quot;. Muchos amigos, mucho Twitter y muchos emails.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;¿Y ahora que?&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Pues a trabajar duro para que las aplicaciones estén listas antes del 15 de Mayo y optar a los premios nacionales. Los mentores estamos a disposición de los asistentes para cualquier duda, y os puedo asegurar que no paran.. seguid así, que nos gusta que nos&amp;nbsp;molestéis.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Si&amp;nbsp;queréis&amp;nbsp;colaborar con este post, por favor, añadir comentarios con vuestra experiencia, fotos, etc...&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Un saludo cordial.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
@KurroLopez&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/4132565708174282883/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2013/04/w8-megathon-resumen-y-ahora-que.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4132565708174282883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4132565708174282883'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2013/04/w8-megathon-resumen-y-ahora-que.html' title='[W8] Megathon - Resumen, ¿Y ahora que?'/><author><name>Francisco López</name><uri>http://www.blogger.com/profile/10395491901095238685</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_rLLt_GnQZrE/SDpYvNqHmrI/AAAAAAAAABs/7FrBWac1MLw/S220/6598304ed.9859113,1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjmxAilqND8LYU5S5ENfex1_UnN4SM2gZG4nUgATk3EX5XNEivAGIYbGxRIehjPJIfFsif1XrP8guxtsW3QGUdUYMmv4eUO-yjV1IIzFQjafs3rdpBS2VDLfaFPP5lSwmt8sc89S5UsZbN/s72-c/20130412_173532.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-4539994461780757786</id><published>2013-04-07T00:52:00.000+02:00</published><updated>2013-04-10T16:01:35.501+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Megathon"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 8"/><title type='text'>[W8] Megathon 2013 - Sede Málaga</title><content type='html'>Hola a todos.&lt;br /&gt;
&lt;br /&gt;
Voy a indicar algunas cosas importantes si vas a asistir al Megathon 2013 Windows 8 / Windows Phone 8 en la sede de Málaga&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Cuándo se celebrará?&lt;/b&gt;&lt;br /&gt;
Como bien dice en la &lt;a href=&quot;http://www.microsoft.es/megathon&quot;&gt;pagina oficial&lt;/a&gt;&amp;nbsp;los&amp;nbsp;días&amp;nbsp;12, 13 y 14 de Abril de 2013&lt;br /&gt;
&lt;br /&gt;
Viernes 12 de abril: 17:00 – 20:00&amp;nbsp;Bienvenida, creación de grupos de trabajo y sesiones de formación&lt;br /&gt;
Sábado 13 de abril: 10:00 – 19:00&amp;nbsp;Día completo para desarrollar con el grupo&lt;br /&gt;
Domingo 14 de abril: 10:00 – 14:00&amp;nbsp;Media jornada para desarrollar y finalización del evento&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;¿Dónde se celebra?&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
La sede en Málaga es &lt;a href=&quot;http://www.promalaga.es/&quot;&gt;ProMalaga Coworking&lt;/a&gt;,&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Calle Severo Ochoa 27&lt;br /&gt;
Párque Tecnológico de Andalucía&lt;br /&gt;
29590 Málaga&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;350&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;https://maps.google.com/maps?f=q&amp;amp;source=s_q&amp;amp;hl=es&amp;amp;geocode=&amp;amp;q=Calle+Severo+Ochoa,+27,+M%C3%A1laga,+Espa%C3%B1a&amp;amp;aq=0&amp;amp;oq=Calle+Severo+Ochoa+27,+M%C3%A1laga,+Espa%C3%B1a&amp;amp;sll=36.735269,-4.555807&amp;amp;sspn=0.002334,0.005284&amp;amp;ie=UTF8&amp;amp;hq=&amp;amp;hnear=Calle+Severo+Ochoa,+27,+M%C3%A1laga,+Espa%C3%B1a&amp;amp;t=h&amp;amp;ll=36.735789,-4.555035&amp;amp;spn=0.006019,0.00912&amp;amp;z=16&amp;amp;output=embed&quot; width=&quot;425&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;small&gt;&lt;a href=&quot;https://maps.google.com/maps?f=q&amp;amp;source=embed&amp;amp;hl=es&amp;amp;geocode=&amp;amp;q=Calle+Severo+Ochoa,+27,+M%C3%A1laga,+Espa%C3%B1a&amp;amp;aq=0&amp;amp;oq=Calle+Severo+Ochoa+27,+M%C3%A1laga,+Espa%C3%B1a&amp;amp;sll=36.735269,-4.555807&amp;amp;sspn=0.002334,0.005284&amp;amp;ie=UTF8&amp;amp;hq=&amp;amp;hnear=Calle+Severo+Ochoa,+27,+M%C3%A1laga,+Espa%C3%B1a&amp;amp;t=h&amp;amp;ll=36.735789,-4.555035&amp;amp;spn=0.006019,0.00912&amp;amp;z=16&quot; style=&quot;color: blue; text-align: left;&quot;&gt;Ver mapa más grande&lt;/a&gt;&lt;/small&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Cómo llegar?&lt;/b&gt;&lt;br /&gt;
Autobús EMT, Línea 25. Parada 2524. Consultar horarios y recorrido &lt;a href=&quot;http://webnet.emtsam.net:7083/RedEMT/faces/pages/redweb.jspx&quot;&gt;aquí&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Transporte privado:&lt;br /&gt;
Por MA-20 &amp;nbsp;tomar la salida 7 - A357 Dirección Cártama - PTA&lt;br /&gt;
Aproximadamente 10Km salida 61, Parque tecnológico&lt;br /&gt;
&lt;br /&gt;
Por AP-46 / A7, tomar la salida 234 hacía A357 Cártama&lt;br /&gt;
Aproximadamente 4 Km salida 61, Parque tecnológico&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Cómo es la sala de trabajo?&lt;/b&gt;&lt;br /&gt;
Visita las instalaciones en la siguiente &lt;a href=&quot;http://www.mundonaked.com/panoramicas/promalagaplantabaja/index.html&quot;&gt;visita virtual&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Necesito algo que llevarme?&lt;/b&gt;&lt;br /&gt;
Por supuesto, un equipo informático (Sobremesa, portatil, etc..) con las siguientes aplicaciones:&lt;br /&gt;
Windows 8. Si no tienes licencia de Windows 8, puedes descargar la&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-US/evalcenter/jj554510.aspx&quot;&gt;versión de evaluación de Windows 8 de 90 días&lt;/a&gt;.&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/visualstudio/11/es-es&quot;&gt;Visual Studio 2012 Ultimate versión de prueba&lt;/a&gt; o bien la versión gratuita &lt;a href=&quot;http://www.microsoft.com/visualstudio/11/es-es/downloads#express-win8&quot;&gt;Visual Studio 2012 Express for Windows 8&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://dev.windowsphone.com/en-us/downloadsdk&quot;&gt;Windows Phone SDK&lt;/a&gt;&amp;nbsp;si vas a desarrollar APPs para Phone 8&lt;br /&gt;
Cable de red (Muy recomendado), no dejes tu trabajo en manos de una WiFi&lt;br /&gt;
Si quieres trabajo en grupo, recomiendo usar &lt;a href=&quot;http://tfs.visualstudio.com/&quot;&gt;TFSPreview&lt;/a&gt; para almacenar vuestro código.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Enlaces imprescindibles&lt;/b&gt;&lt;br /&gt;
Pagina oficial del Megathon: &lt;a href=&quot;http://www.microsoft.es/megathon&quot;&gt;http://www.microsoft.es/megathon&lt;/a&gt;&lt;br /&gt;
Bases oficiales del concurso:&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/es-es/dn197202&quot;&gt;http://msdn.microsoft.com/es-es/dn197202&lt;/a&gt;&lt;br /&gt;
Formación:&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/es-es/dn186230&quot;&gt;http://msdn.microsoft.com/es-es/dn186230&lt;/a&gt;&lt;br /&gt;
Twitter: &lt;a href=&quot;https://twitter.com/search?q=%23megathon&quot;&gt;#megathon&lt;/a&gt;&lt;br /&gt;
Premios: En las bases oficiales y en la entrada &lt;a href=&quot;http://kurro-software.blogspot.co.uk/2013/04/w8-megathon-2013-premios.html&quot;&gt;&lt;span id=&quot;goog_1572881133&quot;&gt;&lt;/span&gt;Premios&lt;/a&gt;&amp;nbsp;de este blog.&lt;br /&gt;
&lt;br /&gt;
Atento que en Málaga tenemos además un premio adicional.&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/4539994461780757786/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2013/04/w8-megathon-2013-sede-malaga.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4539994461780757786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4539994461780757786'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2013/04/w8-megathon-2013-sede-malaga.html' title='[W8] Megathon 2013 - Sede Málaga'/><author><name>Francisco López</name><uri>http://www.blogger.com/profile/10395491901095238685</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_rLLt_GnQZrE/SDpYvNqHmrI/AAAAAAAAABs/7FrBWac1MLw/S220/6598304ed.9859113,1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-2577619906451197991</id><published>2013-04-03T18:07:00.004+02:00</published><updated>2013-04-10T12:31:54.056+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Megathon"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 8"/><title type='text'>[W8] Megathon 2013 - Premios</title><content type='html'>Hola a todos.&lt;br /&gt;
&lt;br /&gt;
Ya conocemos cuales son los premios del &lt;a href=&quot;http://www.microsoft.es/megathon&quot;&gt;Megathon 2013&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Premios locales:&lt;/b&gt;&lt;br /&gt;
1er premio a la mejor&amp;nbsp;aplicación&amp;nbsp;desarrollada en el Megathon. Sera entregado el domingo&amp;nbsp;día&amp;nbsp;14 de Abril&lt;br /&gt;
- &lt;a href=&quot;http://bit.ly/107eKg6&quot;&gt;Placa Cerbuino Bee&lt;/a&gt;&lt;br /&gt;
-&amp;nbsp;&lt;a href=&quot;http://bit.ly/11l46nn&quot;&gt;Nokia Premium Dev Program&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://a.yfrog.com/img532/8068/xg1mpd.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://a.yfrog.com/img532/8068/xg1mpd.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Premios nacionales:&lt;/b&gt;&lt;br /&gt;
Estos premios&amp;nbsp;serán&amp;nbsp;otorgados por un jurado a nivel nacional a las aplicaciones que se han publicado posteriormente al megathon en un plazo de un mes.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;&lt;b&gt;Premio&lt;/b&gt;&lt;/th&gt;
&lt;th&gt;&lt;b&gt;Windows 8&lt;/b&gt;&lt;/th&gt;
&lt;th&gt;&lt;b&gt;Windows Phone 8&lt;/b&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1º Clasificado&lt;/td&gt;
&lt;td colspan=&quot;2&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://europe.msteched.com/#fbid=cB4uGPiGMNn&quot;&gt;Entrada para TechEd 2013&lt;/a&gt;&amp;nbsp;+ cupón de promoción&amp;nbsp;&lt;a href=&quot;http://www.adduplex.com/&quot;&gt;Adduplex&lt;/a&gt; por valor de 1.000.000 de impresiones + Subscripción de &lt;a href=&quot;http://www.vsanywhere.com/&quot;&gt;VS Anywhere&lt;/a&gt; en Cloud durante 12 meses + Licencia Premium por 1 año de Fórmula &lt;a href=&quot;http://www.radarc.net/&quot;&gt;Radarc &lt;/a&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2º Clasificado&lt;/td&gt;
&lt;td colspan=&quot;2&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.nokia.com/es-es/productos/moviles/lumia920/&quot;&gt;Nokia Lumia 920&lt;/a&gt;&amp;nbsp;+ Suscripción de 6 meses a&amp;nbsp;&lt;a href=&quot;http://www.vsanywhere.com/&quot;&gt;VS Anywhere&lt;/a&gt; en Cloud + cupón de promoción&amp;nbsp;&lt;a href=&quot;http://www.adduplex.com/&quot;&gt;Adduplex&lt;/a&gt;&amp;nbsp;por valor de 100.000 de impresiones + Licencia por 1 año de Fórmula &lt;a href=&quot;http://www.radarc.net/&quot;&gt;Radarc &lt;/a&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3º Clasificado&lt;/td&gt;
&lt;td colspan=&quot;2&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.nokia.com/es-es/productos/moviles/lumia820/&quot;&gt;Nokia Lumia 820&lt;/a&gt;&amp;nbsp;+ cupón de promoción&amp;nbsp;&lt;a href=&quot;http://www.adduplex.com/&quot;&gt;Adduplex&lt;/a&gt;&amp;nbsp;por valor de 100.000 de impresiones&amp;nbsp;+ Licencia por 1 año de Fórmula&amp;nbsp;&lt;a href=&quot;http://www.radarc.net/&quot;&gt;Radarc&amp;nbsp;&lt;/a&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4º Clasificado&lt;/td&gt;
&lt;td colspan=&quot;2&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.nokia.com/es-es/productos/moviles/lumia820/&quot;&gt;Nokia Lumia 820&lt;/a&gt;&amp;nbsp;+ cupón de promoción&amp;nbsp;&lt;a href=&quot;http://www.adduplex.com/&quot;&gt;Adduplex&lt;/a&gt;&amp;nbsp;por valor de 100.000 de impresiones&amp;nbsp;+ Licencia por 1 año de Fórmula&amp;nbsp;&lt;a href=&quot;http://www.radarc.net/&quot;&gt;Radarc&amp;nbsp;&lt;/a&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5º Clasificado&lt;/td&gt;
&lt;td colspan=&quot;2&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.nokia.com/es-es/productos/moviles/lumia820/&quot;&gt;Nokia Lumia 820&lt;/a&gt;&amp;nbsp;+ cupón de promoción&amp;nbsp;&lt;a href=&quot;http://www.adduplex.com/&quot;&gt;Adduplex&lt;/a&gt;&amp;nbsp;por valor de 100.000 de impresiones&amp;nbsp;+ Licencia por 1 año de Fórmula&amp;nbsp;&lt;a href=&quot;http://www.radarc.net/&quot;&gt;Radarc&amp;nbsp;&lt;/a&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6º Clasificado&lt;/td&gt;
&lt;td colspan=&quot;2&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.nokia.com/es-es/productos/moviles/lumia820/&quot;&gt;Nokia Lumia 820&lt;/a&gt;&amp;nbsp;+ cupón de promoción&amp;nbsp;&lt;a href=&quot;http://www.adduplex.com/&quot;&gt;Adduplex&lt;/a&gt;&amp;nbsp;por valor de 100.000 de impresiones&amp;nbsp;+ Licencia por 1 año de Fórmula&amp;nbsp;&lt;a href=&quot;http://www.radarc.net/&quot;&gt;Radarc&amp;nbsp;&lt;/a&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7º Clasificado&lt;/td&gt;
&lt;td&gt;Una cazadora de Snow Nokia&amp;nbsp;&lt;span style=&quot;text-align: center;&quot;&gt;+ cupón de promoción&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.adduplex.com/&quot; style=&quot;text-align: center;&quot;&gt;Adduplex&lt;/a&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&amp;nbsp;por valor de 100.000 de impresiones&lt;/span&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&amp;nbsp;+ Licencia por 1 año de Fórmula&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.radarc.net/&quot; style=&quot;text-align: center;&quot;&gt;Radarc&amp;nbsp;&lt;/a&gt;&lt;span style=&quot;text-align: center;&quot;&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;Juego Xbox 360&amp;nbsp;&lt;span style=&quot;text-align: center;&quot;&gt;+ cupón de promoción&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.adduplex.com/&quot; style=&quot;text-align: center;&quot;&gt;Adduplex&lt;/a&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&amp;nbsp;por valor de 100.000 de impresiones&lt;/span&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&amp;nbsp;+ Licencia por 1 año de Fórmula&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.radarc.net/&quot; style=&quot;text-align: center;&quot;&gt;Radarc&amp;nbsp;&lt;/a&gt;&lt;span style=&quot;text-align: center;&quot;&gt;a elegir entre Windows 8 y Windows Phone 8.&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
El primer premio es&amp;nbsp;único, es decir que no hay categoría, el resto es un premio para cada una de ellas.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;b&gt;Premios adicionales&lt;/b&gt;&lt;/div&gt;
Además este año el #megathon tiene la colaboración de @appcampus que nos ofrece la posibilidad de obtener 50.000€ para tu proyecto&lt;br /&gt;
&lt;br /&gt;
Además, en &lt;b&gt;Málaga &lt;/b&gt;ser dará una licencia de &lt;a href=&quot;http://www.radarc.net/&quot;&gt;Radarc premium&lt;/a&gt; (valorada en 400€) por cortesia de &lt;a href=&quot;http://www.icinetic.com/&quot;&gt;iCinetic&amp;nbsp;&lt;/a&gt;a la mejor aplicación.&lt;br /&gt;
&lt;br /&gt;
Pues ya sabes, si quieres conseguir algunos de estos premios.&amp;nbsp;Apúntate&amp;nbsp;ya&lt;br /&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.microsoft.es/megathon&quot;&gt;http://www.microsoft.es/megathon&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/2577619906451197991/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2013/04/w8-megathon-2013-premios.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2577619906451197991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2577619906451197991'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2013/04/w8-megathon-2013-premios.html' title='[W8] Megathon 2013 - Premios'/><author><name>Francisco López</name><uri>http://www.blogger.com/profile/10395491901095238685</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_rLLt_GnQZrE/SDpYvNqHmrI/AAAAAAAAABs/7FrBWac1MLw/S220/6598304ed.9859113,1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-2969883953895358324</id><published>2013-03-21T19:37:00.000+01:00</published><updated>2013-04-13T09:56:14.484+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Megathon"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 8"/><title type='text'>[W8] Megathon 2013 - Webcasts</title><content type='html'>Aquí estarán las direcciones donde podréis ver los distintos webcast de preparación para el Megathon 2013 de Microsoft.&lt;br /&gt;
&lt;br /&gt;
A medida que se vayan realizando iré actualizando los enlaces.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt; Dia 21 Marzo&lt;/u&gt;&lt;br /&gt;
&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548247&amp;amp;pw=1180E456&quot;&gt;&lt;b&gt;Plataforma y herramientas de desarrollo de Windows Store Apps&lt;/b&gt;&lt;/a&gt; (@fernandoescolar)&lt;br /&gt;
&lt;br /&gt;
En esta sesión daremos una visión general de la nueva interfaz gráfica de Windows 8 y su arquitectura técnica. También hablaremos del nuevo PLM y recorreremos las herramientas de desarrollo y su soporte para ALM.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548251&amp;amp;pw=D24D0E83&quot;&gt;&lt;b&gt;Diseñando apps de Windows Phone 8&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
En esta sesión presentaremos el lenguaje de diseño de Windows Phone y cómo empezar a diseñar una app; la estructura de la app y los modelos de navegación, introducción a XAML, Temas y estilos de controles, introducción a MVVM y asociación de datos (databinding), diseño de plantillas para ítems de listas, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt; Dia 22 Marzo&lt;/u&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548255&amp;amp;pw=38AF397D&quot;&gt;Diseño de Windows Store Apps&lt;/a&gt; &lt;/b&gt;(@ToniRecio)&lt;br /&gt;
&lt;br /&gt;
Nos centraremos en aspectos concretos del diseño de Apps Windows 8 como su layout y formas de interacción. También cubriremos funciones como Semantic Zoom, Tiles y notificaciones.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Dia 02 Abril&lt;/u&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548259&amp;amp;pw=E9E8B951&quot;&gt;Profundizando en el desarrollo de Windows Store Apps&lt;/a&gt;&lt;/b&gt; (@guerrerotook)&lt;br /&gt;
&lt;br /&gt;
En esta sesión daremos una visión general de la nueva interfaz gráfica de Windows 8 y su arquitectura técnica. También hablaremos del nuevo PLM y recorreremos las herramientas de desarrollo y su soporte para ALM. &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Dia 03 Abril &lt;/u&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548264&amp;amp;pw=20507417&quot;&gt;Windows 8 para desarrolladores JavaScript&lt;/a&gt; &lt;/b&gt;(@acasquete)&lt;br /&gt;
&lt;br /&gt;
¿Te gusta JavaScript y quieres desarrollar Apps para Windows8? Esta es tu charla :) Veremos como desarrollar Apps usando JavaScript y las librerías que ya conoces, como JQuery, interactuando directamente con el sistema gracias a WinJS. &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Dia 04 Abril&lt;/u&gt; &lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548272&amp;amp;pw=0DD1303E&quot;&gt;Windows 8 para desarrolladores .NET&lt;/a&gt;&lt;/b&gt; (&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;@guerrerotook&lt;/span&gt;)&lt;br /&gt;
&lt;br /&gt;
¿Eres desarrollador .Net y quieres dar el salto a Windows 8? Tranquilo, todo lo que conoces sigue siendo válido. En esta sesión hablaremos sobre WinRT y el nuevo modelo de APIs asíncronas. &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Dia 08 Abril &lt;/u&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548276&amp;amp;pw=32946CB5&quot;&gt;¿Cómo y cuándo se ejecutan las Windows Store Apps?&lt;/a&gt;&lt;/b&gt; (@ToniRecio)&lt;br /&gt;
&lt;br /&gt;
En esta sesión profundizaremos en el ciclo de vida de las Apps. Haremos hincapié en cómo afecta al desarrollador y daremos consejos y buenas prácticas para aprovecharnos del nuevo modelo. &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Dia 09 Abril&lt;/u&gt; &lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548280&amp;amp;pw=9ED50E35&quot;&gt;Mejorando la experiencia de usuario con Contratos en las Windows Store Apps&lt;/a&gt; &lt;/b&gt;(@isabelcabezasm)&lt;br /&gt;
&lt;br /&gt;
Windows 8 se centra en la experiencia de usuario y eso quiere decir que como desarrolladores, debemos tenerlo muy presente. Windows 8 nos lo pone fácil y nos permite compartir la información con otras apps e integrarnos con el sistema de búsqueda. En esta sesión hablaremos de todas estas técnicas. &lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;u&gt;Dia 10 Abril&amp;nbsp;&lt;/u&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548284&amp;amp;pw=327CD549&quot;&gt;Tiles y Notificaciones en las Windows Store Apps&lt;/a&gt;&lt;/b&gt; (@acasquete)&lt;br /&gt;
&lt;br /&gt;
Todo lo que siempre quisiste saber sobre las notificaciones y los tiles. Actualiza tus tiles localmente o desde Internet, con fotos o con texto. Envía notificaciones, haz que caduquen o asegúrate de que el usuario las lea... todo esto y mucho más en esta sesión. &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Dia 11 Abril&lt;/u&gt; &lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www206.livemeeting.com/cc/wwe_uk/view?cn=guest&amp;amp;id=1032548289&amp;amp;pw=C429A6B6&quot;&gt;Lo que siempre quisiste saber sobre la Windows Store&lt;/a&gt;&lt;/b&gt; (@acasquete y @tonirecio)&lt;br /&gt;
&lt;br /&gt;
La Tienda de Windows es el punto de entrada y descubrimiento de aplicaciones en Windows 8. En esta sesión te contaremos su funcionamiento y cómo puedes hacer negocio con tus aplicaciones incluyéndoles publicidad, micropagos, subscripciones y cualquier cosa que se te ocurra.&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/2969883953895358324/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2013/03/w8-megathon-2013-webcasts.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2969883953895358324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2969883953895358324'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2013/03/w8-megathon-2013-webcasts.html' title='[W8] Megathon 2013 - Webcasts'/><author><name>Francisco López</name><uri>http://www.blogger.com/profile/10395491901095238685</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_rLLt_GnQZrE/SDpYvNqHmrI/AAAAAAAAABs/7FrBWac1MLw/S220/6598304ed.9859113,1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-3510363976276004740</id><published>2013-03-15T22:45:00.000+01:00</published><updated>2013-03-15T22:45:41.345+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Megathon"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 8"/><title type='text'>[W8] MEGATHON 2013</title><content type='html'>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;

&lt;title&gt;¡Vuelve el Megathon Windows 2013!&lt;/title&gt;
 &lt;style type=&quot;text/css&quot;&gt;
        table
        {
            font-family: segoe;
        }
        .h3
        {font-family: &quot;Segoe UI&quot;;
            font-size: 25px;
            color: #333333;
   margin-left:10px;
        }
        .p
        {
 font-family: &quot;Segoe UI&quot;;
            font-size: 11px;
            color: #333333;
   margin:10px;
        }
  
    .a {
 font-family: &quot;Segoe UI&quot;;
            font-size: 14px;
            color: #333333;
   margin:10px;
}
    &lt;/style&gt; 
&lt;/head&gt;

&lt;body bgcolor=&quot;#ffffff&quot;&gt;

&lt;table align=&quot;center&quot; border=&quot;0&quot; style=&quot;width: 47%px;&quot;&gt;
&lt;tr&gt;
      &lt;td width=&quot;75%&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana; font-size: 11px;&quot;&gt;Si no puedes ver este email correctamente, haz click &lt;a href=&quot;http://msdn.microsoft.com/es-es/dn144953&quot;&gt;aquí &lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
      &lt;td width=&quot;25%&quot;&gt;&lt;div align=&quot;right&quot;&gt;
&lt;img src=&quot;http://www.microsoft.com/spain/technet/flash/images/publicidadeinformacion.gif&quot; /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
&lt;/body&gt;&lt;/html&gt;
  
   &lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/es-es/dn144953&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;305&quot; src=&quot;http://i.msdn.microsoft.com/dn144953.Megathon2013(es-es,MSDN.10).png&quot; width=&quot;726&quot; /&gt;&lt;/a&gt;
    &lt;br /&gt;
&lt;div class=&quot;h3&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;¡Vuelve  el Megathon Windows 2013!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Por  segundo año consecutivo, tendrá lugar el Megathon Windows, un hackathon que se  celebra de manera simultánea en varias ciudades, donde tendrás la oportunidad  de crear apps para Windows 8 y Windows Phone, aprender y conocer a otros  programadores y ganar fabulosos premios.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Además  como novedad, este año hemos preparado una &lt;strong&gt;serie de cursos y webcasts  gratuitos de desarrollo &lt;/strong&gt;de apps para Windows 8 y Windows Phone &lt;strong&gt;previos  al evento&lt;/strong&gt; para que puedas empezar a prepararte a fondo para el gran día. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;¡Accede  a la web del Megathon Windows para apuntarte a los cursos y no olvides  registrarte en alguna de las ciudades que ya tenemos confirmadas!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;¡Empieza a prepararte!  ¡Contamos contigo!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;a&quot;&gt;
&lt;a href=&quot;http://msdn.microsoft.com/es-es/dn144953&quot; style=&quot;border-color: #FFF; border: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;139&quot; src=&quot;http://www.microsoft.com/spain/msdn/windows8/pie-registro-hackathon.jpg&quot; style=&quot;display: block;&quot; title=&quot;Pie&quot; width=&quot;700&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/3510363976276004740/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2013/03/w8-megathon-2013.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/3510363976276004740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/3510363976276004740'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2013/03/w8-megathon-2013.html' title='[W8] MEGATHON 2013'/><author><name>Francisco López</name><uri>http://www.blogger.com/profile/10395491901095238685</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_rLLt_GnQZrE/SDpYvNqHmrI/AAAAAAAAABs/7FrBWac1MLw/S220/6598304ed.9859113,1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-2867460227638019660</id><published>2013-01-20T16:15:00.000+01:00</published><updated>2013-05-15T19:17:57.285+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Descarga de ejemplos"/><category scheme="http://www.blogger.com/atom/ns#" term="General"/><title type='text'>[General] Descargas</title><content type='html'>Aqui teneis todas las descargas disponibles del blog:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;&lt;b&gt;Entrada&lt;/b&gt;&lt;/th&gt;
&lt;th&gt;&lt;b&gt;Fichero&lt;/b&gt;&lt;/th&gt;
&lt;th&gt;&lt;b&gt;Dropbox&lt;/b&gt;&lt;/th&gt;
&lt;th&gt;&lt;b&gt;Mega&lt;/b&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2012/06/silverlight-hacer-binding-las.html&quot;&gt;Hacer binding a las propiedades de un UserControl&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;KurroSoftware.Sample.UserControls.zip (20 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://dl.dropbox.com/u/55250694/KurroSoftware.Sample.UserControls.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!NZ8Cja4B!Uf3btjjX6vw5WES6wmaLBC2w6NA0aMNjO8ND9MwTWsI&quot;&gt;Link&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2012/04/silverlight-combobox-con-datos-de-un.html&quot;&gt;ComboBox con datos de un enumerado&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Enum2ComboBox.zip (18 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/Enum2ComboBox.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!dRlxwRQI!Qj346Bt50ePE1X8XWjdRLFmFbNcOBqlpr37WHz4Ib2w&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2012/03/pb-crear-barra-de-botones-de-forma.html&quot;&gt;Crear barra de botones de forma dinamica&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;ButtonBar.zip (Librearia PBL, PBT y PBW) (10 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/ButtonBar.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!kVtA0YIS!eRG9NDgOUYPgOgAbEE3ZviEOFcotMkte1d4p1ToNmbA&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ButtonBar_source.zip (Ficheros sru, sra y srw) (4 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/ButtonBar_source.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!JdFwnASR!TnENlQGytx5rVRCDeQPxC1Faojgxz__SF1lzImTu2e8&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2012/02/android-mi-primera-aplicacion-para.html&quot;&gt;Mi primera aplicación para Android&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Sounds.zip (Source)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/Sounds.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!MNFEGKRS!adAi3SmEiEMDRmDjjQo3mFEVAiJ_bcMzFEmKA_fv95w&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sounds.apk (App) (121 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/Sounds.apk&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!EVEUiYAA!ZPvISyu8rLij6clXA8S78i4Fw9N2e9KiyrhyYHU8slw&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2011/11/net-usar-el-servicio-de-google.html&quot;&gt;Usar el servicio de Google Geocoding&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;KurroSoftware.Geocoding.Zip (20 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/KurroSoftware.Geocoding.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!VY9UCALJ!SZ8IxVfwEe5k5qcmbHEfBl9x4dtUpsvJdHkGFXZQXk0&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2011/11/net-convertir-latitud-y-longitud-en.html&quot;&gt;Convertir Latitud y Longitud en Grados - Minutos y segundos&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;KurroSoftware.Common.zip (3 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/KurroSoft.Common.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!sRtwhaSR!Fbr3hUIhj_nH1nxHVtrCHkzUb09NPrBe7qfjxis9mYU&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2011/10/vb-generar-guid.html&quot;&gt;Genera GUID&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;CreateGUID.zip (14 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/CreateGUID.zip&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!NRdH2T5L!SyHC7AodkW0AYVxIKWnbYUpfuPhbW2xQZaFYOzH2r-o&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;http://kurro-software.blogspot.com.es/2011/10/pb-convertir-numero-en-letra.html&quot;&gt;Convertir número en letra&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;ncst_num2txt.rar (3 KB)&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://dl.dropbox.com/u/55250694/ncst_num2txt.rar&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://mega.co.nz/#!IV0FFThZ!NspFdDvQXt7k6zCJ6D6ASVLm7z1qX0oU4gXsA7JjA2I&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/2867460227638019660/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2013/01/general-descargas.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2867460227638019660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2867460227638019660'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2013/01/general-descargas.html' title='[General] Descargas'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-2005171022145994556</id><published>2013-01-10T07:32:00.001+01:00</published><updated>2013-01-23T21:38:37.281+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="App"/><category scheme="http://www.blogger.com/atom/ns#" term="Konverter"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 8"/><title type='text'>[W8] Konverter - Mi primera aplicación en Windows 8</title><content type='html'>Hola a todos.&lt;br /&gt;
&lt;br /&gt;
Ya está disponible mi primera aplicación para Windows 8.&lt;br /&gt;
&lt;br /&gt;
Konverter es una simple aplicación de conversión de unidades de Longitud, Volumen, Temperatura y Velocidad.&lt;br /&gt;
&lt;br /&gt;
Está en 4 idiomas disponibles: Ingés, Español, Italiano y Portugués.&lt;br /&gt;
&lt;br /&gt;
Iré desgranando poco a poco algunos pequeños trucos para la programación en XAML e intentaré hacer una aplicación sencilla, para ponerla en Market si es posible,&lt;br /&gt;
&lt;br /&gt;
Disfrutad de ella.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8FGb5oRmVnc5_UDU7CG1dFmrpcZM5oX7sA-g7bB2tr82Q7iHZlGTLAu7WL9qohyphenhyphenB9uOIH3gAkAgLBLPRcZATxXBjvQJAoLzc60QzvJBhwKONcA5tOexMG7837qC6qMx6cuAqCZYi-80Os/s1600/ENG_MainMenu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8FGb5oRmVnc5_UDU7CG1dFmrpcZM5oX7sA-g7bB2tr82Q7iHZlGTLAu7WL9qohyphenhyphenB9uOIH3gAkAgLBLPRcZATxXBjvQJAoLzc60QzvJBhwKONcA5tOexMG7837qC6qMx6cuAqCZYi-80Os/s320/ENG_MainMenu.png&quot; height=&quot;179&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
En enlace de la la aplicación es&lt;br /&gt;
&lt;a href=&quot;http://apps.microsoft.com/windows/app/konverter/7e919e40-267e-4648-82c1-de705bcecfa7&quot; style=&quot;background-color: white; color: #1155cc; font-family: arial, sans-serif; font-size: 13px;&quot; target=&quot;_blank&quot;&gt;http://apps.microsoft.com/&lt;wbr&gt;&lt;/wbr&gt;windows/app/konverter/&lt;wbr&gt;&lt;/wbr&gt;7e919e40-267e-4648-82c1-&lt;wbr&gt;&lt;/wbr&gt;de705bcecfa7&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Comentar que la aplicación ya está en su versión 1.2, corregida un problema con las conversiones de longitud. Además, si usas la aplicación de antivirus Avast! comprobar si no bloquea la aplicación porque se queda siempre en el splash inicial. Revisad esto, y disfrutad de la aplicación.&lt;br /&gt;
&lt;br /&gt;
Pero recuerda, que tienes que usar la Tienda Microsoft en tu Windows 8 para poder instalarla.&lt;br /&gt;
&lt;br /&gt;
Espero tus comentarios.&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/2005171022145994556/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2013/01/w8-konverter-mi-primera-aplicacion-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2005171022145994556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/2005171022145994556'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2013/01/w8-konverter-mi-primera-aplicacion-en.html' title='[W8] Konverter - Mi primera aplicación en Windows 8'/><author><name>Francisco López</name><uri>http://www.blogger.com/profile/10395491901095238685</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_rLLt_GnQZrE/SDpYvNqHmrI/AAAAAAAAABs/7FrBWac1MLw/S220/6598304ed.9859113,1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8FGb5oRmVnc5_UDU7CG1dFmrpcZM5oX7sA-g7bB2tr82Q7iHZlGTLAu7WL9qohyphenhyphenB9uOIH3gAkAgLBLPRcZATxXBjvQJAoLzc60QzvJBhwKONcA5tOexMG7837qC6qMx6cuAqCZYi-80Os/s72-c/ENG_MainMenu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-8957625035679475887</id><published>2012-06-07T22:14:00.000+02:00</published><updated>2012-06-07T22:15:03.124+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Binding"/><category scheme="http://www.blogger.com/atom/ns#" term="Dependecy Property"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight"/><category scheme="http://www.blogger.com/atom/ns#" term="UserControl"/><title type='text'>[Silverlight] Hacer binding a las propiedades de un UserControl</title><content type='html'>Hola a todos.&lt;br /&gt;
&lt;br /&gt;
Ahora voy a explicar un problema que me ha surgido hace unos&amp;nbsp;días&amp;nbsp;y me&amp;nbsp;gustaría&amp;nbsp;compartir por si alguna vez os&amp;nbsp;encontráis&amp;nbsp;en la misma situación.&lt;br /&gt;
&lt;br /&gt;
Escenario:&lt;br /&gt;
Tenemos un proyecto en Silverlight y hemos creado un &lt;i&gt;UserControl &lt;/i&gt;porque lo vamos a utilizar en mas de una vista y no vamos a duplicar el código.&lt;br /&gt;
&lt;br /&gt;
Problema 1: ¿Cómo comunico los datos de mi &lt;i&gt;UserControl &lt;/i&gt;con el exterior?&lt;br /&gt;
&lt;br /&gt;
En este caso, creamos una &lt;i&gt;Dependency Property&lt;/i&gt; por cada uno de los campos que queremos &quot;comunicar&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;private DependencyProperty UserNameProperty =&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DependencyProperty.Register(&quot;UserName&quot;, typeof(string), typeof(UserForm), new PropertyMetadata(string.Empty));&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Luego definimos una &lt;i&gt;property &lt;/i&gt;pública para enlazar esta &lt;i&gt;Dependecy Property&lt;/i&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;[System.ComponentModel.Category(&quot;User properties&quot;)]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;[System.ComponentModel.Description(&quot;User Name&quot;)]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;public string UserName&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;get { return (string)GetValue(UserNameProperty); }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;set { SetValue(UserNameProperty, value); }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Hasta aquí es lo esperado...&lt;/div&gt;
&lt;div&gt;
Pero en el &lt;i&gt;XAML &lt;/i&gt;tenemos que hacer binding contra estas propiedades, lo que hacemos es definir como &lt;i&gt;DataContext &lt;/i&gt;a si mismo.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;UserControl xmlns:sdk=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk&quot;&lt;br /&gt;    x:Class=&quot;KurroSoftware.UserControls.UserForm&quot;&lt;br /&gt;    xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;&lt;br /&gt;    xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;&lt;br /&gt;    xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;&lt;br /&gt;    xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;&lt;br /&gt;    mc:Ignorable=&quot;d&quot;&lt;br /&gt;&lt;b&gt;    DataContext=&quot;{Binding RelativeSource={RelativeSource Self}}&quot;&lt;/b&gt;&lt;br /&gt;    d:DesignHeight=&quot;27&quot; d:DesignWidth=&quot;505&quot;&amp;gt;&lt;/span&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
y nuestros campos hacemos el binding como siempre:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;TextBox x:Name=&quot;UserNameval&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HorizontalAlignment=&quot;Stretch&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VerticalAlignment=&quot;Top&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Text={Binding UserName, Mode=TwoWay}/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Si ponemos nuestro &lt;i&gt;UserControl &lt;/i&gt;en una ventana de Silverlight, y aplicamos los valores a estas propiedades, estas aparecen en nuestro control,&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;my:UserForm HorizontalAlignment=&quot;Stretch&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Name=&quot;userForm1&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VerticalAlignment=&quot;Top&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UserName=&quot;{Binding Mode=TwoWay, Path=UserName}&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Address=&quot;{Binding Mode=TwoWay, Path=Address}&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone=&quot;{Binding Mode=TwoWay, Path=Phone }&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El gran problema está en que aunque hemos definido como &lt;i&gt;TwoWay&lt;/i&gt;, esto no modifica la propiedad en nuestro &lt;i&gt;DataContext&lt;/i&gt;.&lt;/div&gt;
&lt;div&gt;
Esto tiene una sencilla explicación.&lt;/div&gt;
&lt;div&gt;
Como hemos definido en nuestro &lt;i&gt;UserControl &lt;/i&gt;el &lt;i&gt;DataContext &lt;/i&gt;a si mismo, para poder leer los valores de las propias propiedades, no existe una comunicación con el &lt;i&gt;DataContext &lt;/i&gt;de la ventana contenedora, pues para él esta definido de forma&amp;nbsp;egoísta.&lt;/div&gt;
&lt;div&gt;
Esto tiene fácil solución.&lt;/div&gt;
&lt;div&gt;
En lugar de definir el &lt;i&gt;DataContext &lt;/i&gt;y hacemos el binding en el &lt;i&gt;XAML&lt;/i&gt;, lo hacemos en el &lt;i&gt;CodeBehind&lt;/i&gt;, definiendo mediante C#.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;UserNameval.SetBinding(TextBox.TextProperty, new Binding() { Source = this, Mode = BindingMode.TwoWay, Path = new PropertyPath(&quot;UserName&quot;) });&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
El resultado es el mismo, pero el &lt;i&gt;XAML &lt;/i&gt;no esta definiendo el &lt;i&gt;DataContext&lt;/i&gt;, por lo que adoptará el de la ventana donde coloquemos el control.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Osea, que quitamos la definición del &lt;i&gt;DataContext &lt;/i&gt;del inicio y la instrucción de Binding de nuestro &lt;i&gt;TextBox&lt;/i&gt;, porque ya lo hacemos en el &lt;i&gt;CodeBehind&lt;/i&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
De esta forma existe una real comunicación de nuestro control con nuestra ventana host y sus propiedades.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El ejemplo, como siempre, a continuación en el siguiente enlace.&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://dl.dropbox.com/u/55250694/KurroSoftware.Sample.UserControls.zip&quot;&gt;KurroSoftware.Sample.UserControls.zip&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Espero tus comentarios.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/8957625035679475887/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/06/silverlight-hacer-binding-las.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8957625035679475887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8957625035679475887'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/06/silverlight-hacer-binding-las.html' title='[Silverlight] Hacer binding a las propiedades de un UserControl'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-5897187918020276911</id><published>2012-04-24T23:39:00.000+02:00</published><updated>2012-04-25T16:13:02.696+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combobox"/><category scheme="http://www.blogger.com/atom/ns#" term="Enumerado"/><category scheme="http://www.blogger.com/atom/ns#" term="Prism"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight"/><title type='text'>[Silverlight] ComboBox con datos de un enumerado</title><content type='html'>Hola a todos.&lt;br /&gt;
&lt;br /&gt;
Hoy vamos a ver como hacer un binding en un ComboBox con los valores de un enumerado.&lt;br /&gt;
La idea es que usamos el combo con valores de texto, pero después tenemos que convertir al enumerado correspondiente.&lt;br /&gt;
&lt;br /&gt;
Primero vamos a crear una función para convertir el enumerado en un array de elementos Enum.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;public Enum[] EnumToArray(Enum enumeration)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;//get the enumeration type&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;Type et = enumeration.GetType();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;//get the public static fields (members of the enum)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;System.Reflection.FieldInfo[] fi = et.GetFields(BindingFlags.Static | BindingFlags.Public);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;//create a new enum array&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;Enum[] values = new Enum[fi.Length];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //populate with the values&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; for (int iEnum = 0; iEnum &amp;lt; fi.Length; iEnum++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;values[iEnum] = (Enum)fi[iEnum].GetValue(enumeration);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //return the array&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return values;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
Luego vamos a crear un enumerado sencillo... Type1, Type2 y Type3 que es el que vamos a utilizar para rellenar el combo box.&lt;br /&gt;
Para ello vamos a crear una función en MainPage.xaml.cs invocando a esta función y usando un bucle foreach rellenamos el combo Box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;private void PopulateListBox()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Enum2ListViewViewModel viewModel = DataContext as Enum2ListViewViewModel;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;if (viewModel != null)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Enum[] enumValues = viewModel.EnumToArray(new Enum2ListViewViewModel.MyType());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;myListEnum.Items.Clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;foreach(Enum enums in enumValues)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;myListEnum.Items.Add(enums.ToString());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;// Note that the combo has strings values&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;// however, we going to update a Enum value&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Como dice el comentario, en el combo vamos a poner string, pero vamos a bindearlo contra un enumeado. ¿Donde está la magia?&lt;br /&gt;
Pues la magia está en las funciones Converter.&lt;br /&gt;
&lt;br /&gt;
Creamos una clase para convertir el valor, heredando de IValueConverter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;namespace KurroSoftware.Enum2ListView.Converters&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; public class MyTypeEnumToStringConverter: IValueConverter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return value.ToString();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return (Enum2ListViewViewModel.MyType)Enum.Parse(typeof(Enum2ListViewViewModel.MyType), value.ToString(), true);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
Como veras, usamos el Enum.Parse para convertir el string en el enumerado del tipo MyType.&lt;br /&gt;
&lt;br /&gt;
Luego en el XAML, hacemos el binding del combo de la siguiente forma&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;lt;ComboBox x:Name=&quot;myListEnum&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Grid.Column=&quot;0&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Grid.Row=&quot;0&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HorizontalAlignment=&quot;Stretch&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VerticalAlignment=&quot;Stretch&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SelectedValue=&quot;{Binding &lt;b&gt;TypeEnum&lt;/b&gt;, Converter={StaticResource MyTypeEnum}, Mode=TwoWay}&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Grid.ColumnSpan=&quot;2&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Como verás, esta accediendo directamente a la property TypeEnum que es del tipo MyEnum, pero usando el Converter, se hace la traducción string-enum.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xmlns:converter=&quot;clr-namespace:KurroSoftware.Enum2ListView.Converters&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;......&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;UserControl.Resources&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;converter:MyTypeEnumToStringConverter x:Key=&quot;MyTypeEnum&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/UserControl.Resources&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usando este pequeño truco, podemos hacer un binding directamente con el content.&lt;br /&gt;
&lt;br /&gt;
Para rizar el rizo, y como estoy acostumbrado a la&amp;nbsp;metodología&amp;nbsp;de MVVM (Model-View-ViewModel), he usado la clase CommandDelegate para que la lógica del botón que está en la vista, esté siendo ejecutada en el ViewModel, en lugar del View.&lt;br /&gt;
Esto es sencillo usando el patrón Prism (ver&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/es-es/magazine/dd943055.aspx&quot;&gt;http://msdn.microsoft.com/es-es/magazine/dd943055.aspx&lt;/a&gt;&amp;nbsp;), pero por no tener que usar todas las librerías de este patrón, he usado el CommandDelegate que publicó &lt;a href=&quot;http://www.codeproject.com/script/Membership/View.aspx?mid=6177366&quot;&gt;Kunal Chowdhury&lt;/a&gt; en CodeProject, (ver&amp;nbsp;&lt;a href=&quot;http://www.codeproject.com/Articles/79872/Step-by-Step-Guide-to-Silverlight-4-Command-Bindin&quot;&gt;Step by Step Guide to Silverlight 4 Command Binding&lt;/a&gt; )&lt;br /&gt;
&lt;br /&gt;
Bueno, pues ya sabes, el código en el siguiente enlace.&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/Enum2ComboBox.zip&quot;&gt;Enum2ComboBox.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Espero tus comentarios.&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/5897187918020276911/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/04/silverlight-combobox-con-datos-de-un.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/5897187918020276911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/5897187918020276911'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/04/silverlight-combobox-con-datos-de-un.html' title='[Silverlight] ComboBox con datos de un enumerado'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-5354694108002538724</id><published>2012-03-05T22:24:00.000+01:00</published><updated>2012-03-05T22:24:02.017+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="botones"/><category scheme="http://www.blogger.com/atom/ns#" term="dinámico"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerBuilder"/><title type='text'>[PB] Crear barra de botones de forma dinámica</title><content type='html'>&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8rTmCuryNyAykTaAU9Q6n0TcuX0WN0ufLvNBN1h3U3cCm0vP1DVn0jXPnTEW4kC4dmRBamaY5L__f9iBO0SjGgTTjpuAdrvao2ah76JjPSGdKhjxGmv1nrPhpV0VVly23k4xLYnph12l_/s1600/PB105.png&quot; /&gt;&lt;br /&gt;
Hola de nuevo... hoy, Power Builder, esta vez en PB 10.5 &lt;br /&gt;
&lt;br /&gt;
La idea de tener una barra de botones de forma dinámica me hizo idear el siguiente código.&lt;br /&gt;
&lt;br /&gt;
Podemos crear un objeto de forma dinámica directamente en nuestra window usando el comando OpenUserOject.&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;this.OpenUserObject(uo_boton)&lt;/span&gt;&lt;br /&gt;
Esta instrucción en la ventana, pondrá un objeto de usuario llamado uo_boton en la ventana, luego podemos invocar las propiedades para poner el&amp;nbsp;botón&amp;nbsp;en el sitio que queremos (X=23, Y=24, etc..)&lt;br /&gt;
&lt;br /&gt;
Pero el problema era que lo que tenia era un objeto de usuario y&amp;nbsp;quería&amp;nbsp;poner esos botones dentro del objeto de usuario... grave problema.&lt;br /&gt;
&lt;br /&gt;
La solución la&amp;nbsp;dio&amp;nbsp;nuestro amigo Microsoft, porque nos facilita las cosas usando los manejadores de los objetos.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Function ulong SetParent (ulong hWndChild, ulong hWndNewParent) Library &quot;USER32.DLL&quot;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Esta API cambia el manejador padre de un objeto dado, es decir, si tengo el Handle del objeto de usuario y el Handle del boton, puedo decirle al botón, que en lugar de tener como padre el Handle del Window, usa el Handle del objeto de usuario.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Y con todo esto, que puedo sacar de provecho?&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Pues podemos crear una barra de botones de forma totalmente dinámica, pudiendo poner las&amp;nbsp;opciones&amp;nbsp;que queremos según el usuario, la ventana, etc... estando los parámetros en una base de datos, fichero XML, o cualquier otra forma.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Primero me he creado un objeto del tipo picturebutton, y lo he llamado uo_button, luego le pondremos código al mismo.&lt;/div&gt;
&lt;div&gt;
Luego&amp;nbsp;he creado un objeto de usuario visible llamado uo_buttonbar, el cual lo voy a considerar el contenedor de botones.
&lt;/div&gt;
&lt;div&gt;
Le añado las variables de instancia de valores por defecto de los botones, la ultima posición, el array de los botones y los manejadores de los mismos.&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;uo_button&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iPb_Button[]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Integer&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;iIndex[], iLastIndex&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;window&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;iw_win&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Long&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;iHandle[]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Integer&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;iLastX = 4, iLastY = 4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Constant Integer HEIGHT_BUTTON = 88&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Constant Integer WIDTH_BUTTON = 110&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Al constructor, le indicaremos el handle del parent, osea, la ventana.&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iw_win = Parent&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
y nuestro&amp;nbsp;contenedor,&amp;nbsp;tendrá&amp;nbsp;un método para añadir el botón de forma&amp;nbsp;dinámica.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;//////////////////////////////////////////////////&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Objeto: uo_buttonbar&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;//&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Función: of_add&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;//&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Argumentos: value integer ai_id&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// value string as_picture&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// value string as_tag&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// value boolean ab_initialstate&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;//&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Retorno: integer&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;//&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Descripción: Añade un botón en la barra y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// recalcula la siguiente posición&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;//&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;//////////////////////////////////////////////////&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iLastIndex = UpperBound(ipb_button)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iLastIndex ++&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex] = Create uo_button&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].visible = True&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Después de crear el PictureButton lo ponemos sobre la&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// ventana donde esta el objeto visual de usuario.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iw_win.openUserObject(ipb_button[iLastIndex])&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Obtenemos el Handle del PictureButton.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iHandle[iLastIndex] = Handle(ipb_button[iLastIndex])&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Cambiamos el Padre del PictureButton asignandole ahora&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// como tal al uo_barra_botoenes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;SetParent( iHandle[iLastIndex], Handle(This))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Aquí continuamos con el código normal... sin&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// olvidarse de hacerlo visible.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].x = iLastX&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].y = iLastY&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].height = HEIGHT_BUTTON&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].Width = WIDTH_BUTTON&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].PictureName = as_picture&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].visible = True&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;if as_tip &amp;lt;&amp;gt; &quot;&quot; then&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ipb_button[iLastIndex].powertiptext = as_tip&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;end if&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ipb_button[iLastIndex].enabled = ab_InitialState&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iLastX = iLastX + HEIGHT_BUTTON&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iIndex[iLastIndex] = ai_Id&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Return 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
mmmmm, interesante código.. vamos a ver que hace...&lt;/div&gt;
&lt;div&gt;
Esto crea un array con los botones, y usando el SetParent, lo insertamos en el contenedor, porque el método, OpenUserObject lo inserta en la ventana (iw_win osea, el parent) pero lo movemos al contenedir (Handler(this)). Luego, lo posicionamos con respecto AL CONTENEDOR (x,y,heigh,width)&lt;/div&gt;
&lt;div&gt;
Luego calcula cual es la siguiente posición del próximo botón.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Pero, al ser un botón dinámico, como controlo cuando se ha pulsado el botón?&lt;/div&gt;
&lt;div&gt;
Para ello, vamos a controlar el handler del contenedor cuando creamos el botón.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Al objeto uo_boton, añadimos variable de instancia&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ULong iul_Handle&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Aquí, almacenaremos el handle del contenedor cuando lo estamos creando, creamos una función llamada&amp;nbsp;sethandle (unsignedlong aul_handle)&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iul_Handle = aul_Handle&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
y al evento click, le añadimos el siguiente código.&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Send(iul_Handle, 1024, Handle(this), 0)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Esto hace que invoquemos al contenedor, llamando al evento 1024 haciendo referencia al manejador del botón...&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Lo cualo????&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El evento 1024 en el contenedor es el evento definido por el usuario en power builder, asi que el contenedor vamos a crear un nuevo evento llamado&amp;nbsp;ue_buttonclick&lt;/div&gt;
&lt;div&gt;
lo definimos del tipo pbm_custom01&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrWSWI6WZ6kVsCUjI6yd9WfWxwt9cJAyvTyXPkBbAQpUmBJKads3xm-FdtDNR4evbK5pEzt16HBzkNo_ZWTjHO7PZ1AgMAKcbc9R4b0r53g4RpSATGnHnxrfpLOBNStzzSxp3zFRuq6yYq/s1600/ButtonBar01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;452&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrWSWI6WZ6kVsCUjI6yd9WfWxwt9cJAyvTyXPkBbAQpUmBJKads3xm-FdtDNR4evbK5pEzt16HBzkNo_ZWTjHO7PZ1AgMAKcbc9R4b0r53g4RpSATGnHnxrfpLOBNStzzSxp3zFRuq6yYq/s640/ButtonBar01.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
a que a veces te&amp;nbsp;habías&amp;nbsp;preguntado para que servían estos Event ID, pues el 1024 para custom01, el 1025 para custom02, etc...&lt;/div&gt;
&lt;div&gt;
En nuestro caso, vamos a recorrer el array de handler, y cuando coincida con nuestro botón, recogemos el ID que hemos añadido antes.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Recordad, en el código de of_Add, hay que añadir el código para indicarle al botón cual es el handler del contenedor.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Obtenemos el Handle del PictureButton.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;iHandle[iLastIndex] = Handle(ipb_button[iLastIndex])&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;ipb_button[iLastIndex].SetHandle(Handle(This))&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
y nuestro evento ue_buttonclick, el código para controlar el evento click de los botones.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Integer li_For, li_Ret, li_Total&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Long lHandle&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Buscamos quien tiene el Handle&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;li_Total = UpperBound(iHandle)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;For li_For = 1 TO li_Total&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if wparam = iHandle[li_for] then&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Messagebox(&quot;Pulsado&quot;, &quot;Ha pulsado el botón con el ID = &quot; + String(iIndex[li_for]) )&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Return 1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Exit&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;End if&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Return 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Interesante, no te parece?&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ya sabes, el código de ejemplo lo tienes en el siguiente enlace. El código está en Power Builder 10.5, si tienes una versión anterior, puedes usar el segundo enlace que tiene los componentes exportados.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/ButtonBar.zip&quot;&gt;ButtonBar.zip&lt;/a&gt; (Librearia PBL, PBT y PBW)&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/ButtonBar_source.zip&quot;&gt;ButtonBar_source.zip&lt;/a&gt; (Ficheros sru, sra y srw)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Si te ha gustado este truco me gustaría saberlo. :D&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/5354694108002538724/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/03/pb-crear-barra-de-botones-de-forma.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/5354694108002538724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/5354694108002538724'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/03/pb-crear-barra-de-botones-de-forma.html' title='[PB] Crear barra de botones de forma dinámica'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8rTmCuryNyAykTaAU9Q6n0TcuX0WN0ufLvNBN1h3U3cCm0vP1DVn0jXPnTEW4kC4dmRBamaY5L__f9iBO0SjGgTTjpuAdrvao2ah76JjPSGdKhjxGmv1nrPhpV0VVly23k4xLYnph12l_/s72-c/PB105.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-7150636008124064341</id><published>2012-03-02T02:01:00.000+01:00</published><updated>2012-03-02T02:01:30.896+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="sonidos"/><title type='text'>[Android] Mi primera aplicación para Android (y IV)</title><content type='html'>&lt;br /&gt;
Ahora lo vamos a poner en marcha...&lt;br /&gt;
La primera vez, necesitaremos indicar cual es &quot;emulador&quot;, por lo que depende de la versión de Android que vamos a usar. Seleccionamos el icono&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3jlvIvPJytUQ-i2wibRIPWBwsv3q2iQcxcZ6z5pZiP8VTXE58FnaP2cfhfeRSPDBlFpywaIK4GF67nUaiCgHLKN1RQ-2dIGApqToqyb6GBnF_quzO-YxwTrRGImVU0x8-NGOeoxVr9Sus/s1600/Sound_10.jpg&quot; /&gt;&amp;nbsp;y creamos un nuevo dispositivo.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh978OormowV0GjQIf0Vwb6r8WHrPDQZY1l8zLmOuUdLEDNx0smJKSIheszELkg2hqBXvMXsSKUFNQ7-OyXdf7I1CNa6VF2evUMSE0_NW16hr_QMjK_HBpSjNAPBFWUd-R4IKeyHkwCBXcV/s1600/Sound_11.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh978OormowV0GjQIf0Vwb6r8WHrPDQZY1l8zLmOuUdLEDNx0smJKSIheszELkg2hqBXvMXsSKUFNQ7-OyXdf7I1CNa6VF2evUMSE0_NW16hr_QMjK_HBpSjNAPBFWUd-R4IKeyHkwCBXcV/s1600/Sound_11.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWjVhreHx8_8k-gxRbIOYfT52kb14BHlPruUL9BmWbVH6Vu70h4rI4gkV625r8jtjUVbcE4S5ajXBA-mRGF7OTHVBrsXcG_t9SbIKmhMJ1IGaOM31_b_4oRuWF3gAcSPc9-DMQ51Sr5gdw/s1600/Sound_12.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;371&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWjVhreHx8_8k-gxRbIOYfT52kb14BHlPruUL9BmWbVH6Vu70h4rI4gkV625r8jtjUVbcE4S5ajXBA-mRGF7OTHVBrsXcG_t9SbIKmhMJ1IGaOM31_b_4oRuWF3gAcSPc9-DMQ51Sr5gdw/s640/Sound_12.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
De esta forma, cuando pongamos en marcha nuestra aplicación, le indicaremos que use el emulador &quot;DefaultDevice&quot;.&lt;br /&gt;
Cuando le demos a &quot;Run as&quot;, elegimos el ADV para acceder.... y paciencia, pues como dije en su momento, son emuladores y no van a la misma velocidad que un dispositivo Android.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGF90WTjeAwslQophe9xOp5giEjK460iXj-_mSX5srB7BlXOud5-bBYyoKHz2vTAvEMb0K8SfFu3O7A0TMZ-0RgetcfQFoy3KXG5Aw_Zlp6oQw2oRjmwsbteUVNXrgjq5BNvkpJfVFc8EN/s1600/Sound_14.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGF90WTjeAwslQophe9xOp5giEjK460iXj-_mSX5srB7BlXOud5-bBYyoKHz2vTAvEMb0K8SfFu3O7A0TMZ-0RgetcfQFoy3KXG5Aw_Zlp6oQw2oRjmwsbteUVNXrgjq5BNvkpJfVFc8EN/s1600/Sound_14.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
y cuando se ponga en marcha y se instale el paquete de la aplicación.. tendremos en marcha nuestro teléfono Android&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijFgld56_NbTG17stJfYrYe4Qfm7FTae8h4harZmwaj3c8RXyA9fsHoYQij0CzTimXDdJKt7ULySJWeSQ__ti87wbYRNbDN7lmvR7A8HWs5KVDRoedzkspJOyit2mT0RvGjyWAm2LH5Urc/s1600/Sound_15.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;496&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijFgld56_NbTG17stJfYrYe4Qfm7FTae8h4harZmwaj3c8RXyA9fsHoYQij0CzTimXDdJKt7ULySJWeSQ__ti87wbYRNbDN7lmvR7A8HWs5KVDRoedzkspJOyit2mT0RvGjyWAm2LH5Urc/s640/Sound_15.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
bonito teléfono.. :D&lt;br /&gt;
Desbloqueamos y tendremos nuestra aplicación instalada&lt;br /&gt;
&lt;br /&gt;
Nota: Te recomiendo que tengas el emulador en marcha antes de ejecutar la aplicación, porque tarda mucho en ponerse en marcha,&amp;nbsp;así&amp;nbsp;que cuando pruebes, NO CIERRES EL EMULADOR... si lo haces, te acordaras de estas palabras.&lt;br /&gt;
Otro consejo es si no cabe el emulador en pantalla porque se está ejecutando con una resolución bastante alta, no dudes en modificarlo, por ejemplo, modificar el parámetro skin, a WVGA400&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4D7hp9_1Cl7ZrFDWStdarVRUZKSJQF6RkpwHINszpFZMDBawpZ65dYcqA6xw-twe4Deu1lkVZX6lD0O4kthnD8_-TdJ1pYxoyOUpGgO1luiZHyptshiHiP9MrVtN3oTL0Gh0z0rJbI2ua/s1600/Sound_16.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;459&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4D7hp9_1Cl7ZrFDWStdarVRUZKSJQF6RkpwHINszpFZMDBawpZ65dYcqA6xw-twe4Deu1lkVZX6lD0O4kthnD8_-TdJ1pYxoyOUpGgO1luiZHyptshiHiP9MrVtN3oTL0Gh0z0rJbI2ua/s640/Sound_16.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Si hacemos click en nuestra aplicación, esta se abrirá y&amp;nbsp;aparecerán&amp;nbsp;los 3 pulsadores con sus sonidos&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNWhJQY96Wx-wii5z9HbD2DLcwaLC1wepz-v86z5Dwx767ShtJZMBuEiie7Qs0LbgY6yV8gh_JHvY3o6WM8OqvME6EfikIBvZCb-5HsL48gDNGclNaNpBILgbTjcVlL7rhLo8N6uZVc-rv/s1600/Sound_17.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNWhJQY96Wx-wii5z9HbD2DLcwaLC1wepz-v86z5Dwx767ShtJZMBuEiie7Qs0LbgY6yV8gh_JHvY3o6WM8OqvME6EfikIBvZCb-5HsL48gDNGclNaNpBILgbTjcVlL7rhLo8N6uZVc-rv/s640/Sound_17.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
tachan....!!!&lt;br /&gt;
&lt;br /&gt;
Pues como siempre...&amp;nbsp;aquí&amp;nbsp;tenéis&amp;nbsp;los enlaces, incuido el apk por si lo quieres instalar directamente en tu Android&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/Sounds.zip&quot;&gt;Sounds.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
App:&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/Sounds.apk&quot;&gt;Sounds.apk&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/7150636008124064341/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/03/android-mi-primera-aplicacion-para_02.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/7150636008124064341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/7150636008124064341'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/03/android-mi-primera-aplicacion-para_02.html' title='[Android] Mi primera aplicación para Android (y IV)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3jlvIvPJytUQ-i2wibRIPWBwsv3q2iQcxcZ6z5pZiP8VTXE58FnaP2cfhfeRSPDBlFpywaIK4GF67nUaiCgHLKN1RQ-2dIGApqToqyb6GBnF_quzO-YxwTrRGImVU0x8-NGOeoxVr9Sus/s72-c/Sound_10.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-8132572112516240427</id><published>2012-03-01T22:56:00.000+01:00</published><updated>2012-03-02T01:33:47.900+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="sonidos"/><title type='text'>[Android] Mi primera aplicación para Android (III)</title><content type='html'>Ahora vamos a crear la interface de nuestra aplicación.&lt;br /&gt;
He añadido tres iconos en los directorios&amp;nbsp;&lt;i&gt;drawable-hdpi&lt;/i&gt;,&amp;nbsp;&lt;i&gt;drawable-ldpi&lt;/i&gt; y&amp;nbsp;&lt;i&gt;drawable-mdpi&lt;/i&gt;, en cualquier resolución vamos a usar el mismo. Como observarás, el fichero R.java se ha regenerado con los nuevos iconos.&lt;br /&gt;
Hacemos doble click en main.xml, tendremos algo como esto:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3i-vKrnlISSpiKHuQEGNN7R4LAgXUYs3zX4Un7NznYVh0E5PJwvWIRwEpDyny7ytV9A01qiaNJwbkMbcseI0omXnEhTUKTrFEf_i3xSJ-nZaBxDj7oN8k4glxcKHSrZkiMUFGDVO46Ob1/s1600/Sound_07.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3i-vKrnlISSpiKHuQEGNN7R4LAgXUYs3zX4Un7NznYVh0E5PJwvWIRwEpDyny7ytV9A01qiaNJwbkMbcseI0omXnEhTUKTrFEf_i3xSJ-nZaBxDj7oN8k4glxcKHSrZkiMUFGDVO46Ob1/s640/Sound_07.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Se recomienda cambiar el tipo de versión de Android a 2.2 para que sea lo mas compatible posible con muchos modelos de Android.&lt;br /&gt;
Borraremos el TextView con el &quot;Hello World!&quot; que viene por defecto.&lt;br /&gt;
Seleccionamos la pestaña de main.xml y modificamos el &quot;LinearLayout&quot; por un &quot;ScrollView&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;&amp;lt;ScrollView xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp; android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp; android:layout_height=&quot;fill_parent&quot;&amp;gt;&lt;br /&gt;&amp;lt;/ScrollView&amp;gt;&lt;/span&gt;&lt;br /&gt;
Añadimos un &quot;TableLayout&quot; al que llamaremos &quot;ListSound&quot;&lt;br /&gt;
Luego le daremos al&amp;nbsp;botón&amp;nbsp;derecho sobre el objeto y seleccionaremos &quot;Add Row&quot;, añadiremos 3 rows, para nuestros tres sonidos.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBpsLPIVxrIxaqMb0REk9oBKsJ6DoB8v-JM9Sp8qR7qcX8P6G493K8fsIa3ALcd8EBoYbXumi2hbxTJ4rODyQdfqIGVBZI716jn9Ibt4vv1agEh3aP2iXyXSDEEgbpoUwCMLe6Julpv0Jq/s1600/Sound_08.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBpsLPIVxrIxaqMb0REk9oBKsJ6DoB8v-JM9Sp8qR7qcX8P6G493K8fsIa3ALcd8EBoYbXumi2hbxTJ4rODyQdfqIGVBZI716jn9Ibt4vv1agEh3aP2iXyXSDEEgbpoUwCMLe6Julpv0Jq/s1600/Sound_08.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Seleccionaremos &quot;ImageButton&quot; en la paleta de herramientas (Images &amp;amp; Media) y lo arrastramos dentro de cada uno de las filas, de igual forma arrastramos el objeto &quot;TextView&quot;. En cada uno de los botones, lo llamamos &quot;perroBtn&quot;, &quot;ovejaBtn&quot; y &quot;patoBtn&quot;. Modificamos el texto en cada fila.&lt;br /&gt;
Los textos deben de estar registrados en el fichero de recursos, por lo que abriremos el fichero &quot;string.xml&quot; que está en la carpeta &quot;Values&quot;, añadimos los tres textos que necesitamos&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuAt3yAwEyu5W_U9b0rHTx1dWyaCcTTB6Vpy_lLNX5g9fB7CGbkW1T8iuhDbW4_eNqbF_aFW-GKYfojbrJMcuZYM8w3eIYz5K6n3HrrNoyMU67fjyUMkvHKkaeje6PMGI1Ag8YdlewmgHT/s1600/Sound_09.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;345&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuAt3yAwEyu5W_U9b0rHTx1dWyaCcTTB6Vpy_lLNX5g9fB7CGbkW1T8iuhDbW4_eNqbF_aFW-GKYfojbrJMcuZYM8w3eIYz5K6n3HrrNoyMU67fjyUMkvHKkaeje6PMGI1Ag8YdlewmgHT/s640/Sound_09.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
entonces, cuando seleccionamos el texto, lo que realmente estamos seleccionado es la referencia a un atributo, de esta forma, podemos tener una aplicación multi-idioma, pues la referencia es la misma, solo cambia el valor según el resource que esté usando.&lt;br /&gt;
&lt;br /&gt;
Seleccionaremos el botón y modificamos la propiedad &quot;Src&quot;, pondremos el valor &quot;@drawable/ic_menu_play&quot;, y al texto le ponemos la propiedad &quot;Layout Gravity&quot; &quot;Layout gravity&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;center_vertical|center_horizontal&quot;&lt;br /&gt;
&lt;br /&gt;
Bueno.. pues la interface parece estar lista, pero solo es una fachada. Vamos a ponerle un poquito de negocio a estos botones.&lt;br /&gt;
&lt;br /&gt;
Creamos una nueva clase, al que llamaremos &quot;Sounds.java&quot;, dentro del paquete &quot;src&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1OkMbjFwq1qeqTI2RiL-Mk-OrQIwUi5OeSS77oZYBQjQYcBUf5vyMBg_jICmZf8UsZXSFD6IsfnVHPADqa4SoawNSZP55aU1Pki0ZPl196KifWHfK8qQDO055icyCrwWP-e9Y2PdMIG01/s1600/Sound_13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1OkMbjFwq1qeqTI2RiL-Mk-OrQIwUi5OeSS77oZYBQjQYcBUf5vyMBg_jICmZf8UsZXSFD6IsfnVHPADqa4SoawNSZP55aU1Pki0ZPl196KifWHfK8qQDO055icyCrwWP-e9Y2PdMIG01/s1600/Sound_13.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
La Superclass ha de ser &quot;android.app.Activity&quot; que es la que se ejecuta al iniciar una aplicación en Android.&lt;br /&gt;
Tambien tenemos que añadir el fichero de recurso.&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;import kurro.software.sounds.R;&lt;/span&gt;Como vamos a controlar botones y vamos a ejecutar sonidos, también debemos de importar las librearias de MediaPlayer e ImageButton.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;import android.media.MediaPlayer;&lt;br /&gt;import android.widget.ImageButton;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
Tambien necesitamos las librerías para el control de errores (log) y objetos de mapeo de objetos (budle)&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;import android.util.Log;&lt;br /&gt;import android.os.Bundle;&lt;/span&gt;&lt;br /&gt;
Hacemos un &quot;Override&quot; del método &quot;onCreate&quot;, porque vamos a indicarle cual es el Layout que debe de mostrar al inicio, así como el método a ejecutar cuando pulsemos los botones.&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;public void onCreate(Bundle savedInstanceState)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;try&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Invocamos al parent y ejecutamos el método onCreate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreate(savedInstanceState);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Definimos cual es el ContentView (usamos el Id almacenado en R)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setContentView(R.layout.main);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Recogemos el handler de los botones&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ibPerro = (ImageButton) findViewById(R.id.perroBtn);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ibOveja = (ImageButton) findViewById(R.id.ovejaBtn);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ibPato = (ImageButton) findViewById(R.id.patoBtn);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}catch (Exception e)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Log.d(&quot;onCreate&quot;, &quot;Error: &quot;+e.toString());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
Ahora vamos a asociar el listener del evento onClick a una función para que ejecute el sonido correspondiente. Nota que cuando vamos a asociarle el evento, automáticamente va ha hacer el override del evento.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;// Asociamos el evento onClick a la función PlaySound()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ibPerro.setOnClickListener(new View.OnClickListener() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onClick(View v) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// TODO Auto-generated method stub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Log.d(&quot;Sounds&quot;, &quot;Perro Clicked&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;playSound(R.raw.perro);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;});&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Repetimos lo mismo para los otros botones, obviamente, con su correspondiente Id de sonido.&lt;br /&gt;
La función de &lt;i&gt;playSound &lt;/i&gt;tiene el siguiente aspecto.&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;protected void playSound(int soundId) {&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;try {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Log.d(&quot;playingSound&quot;, &quot;playing sound &quot; + soundId);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if (mediaPlayer != null) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;mediaPlayer.release();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;mediaPlayer = null;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;mediaPlayer = MediaPlayer.create(this, soundId);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;mediaPlayer.start();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;} catch (Exception e) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Log.d(&quot;playSound&quot;, e.toString());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
No nos olvidemos de destruir el objeto de media player cuando cerremos la aplicación.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;protected void onDestroy() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;super.onDestroy();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// TODO Auto-generated method stub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if (mediaPlayer != null) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;mediaPlayer.release();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;mediaPlayer = null;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Antes de nada.... configurar el manifest.xml para que sepa nuestro Android como tiene que ejecutar la aplicación.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; package=&quot;kurro.software.sounds&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; android:versionCode=&quot;1&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; android:versionName=&quot;1.0&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;uses-sdk android:minSdkVersion=&quot;8&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;application android:label=&quot;@string/app_name&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; android:icon=&quot;@drawable/ic_menu_happy&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; android:description=&quot;@string/description&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;activity android:description=&quot;@string/description&quot; android:name=&quot;Sounds&quot; android:label=&quot;@string/app_name&quot; android:icon=&quot;@drawable/ic_menu_happy&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;intent-filter&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot;&amp;gt;&amp;lt;/action&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot;&amp;gt;&amp;lt;/category&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/intent-filter&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/activity&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;/manifest&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/8132572112516240427/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/03/android-mi-primera-aplicacion-para.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8132572112516240427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8132572112516240427'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/03/android-mi-primera-aplicacion-para.html' title='[Android] Mi primera aplicación para Android (III)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3i-vKrnlISSpiKHuQEGNN7R4LAgXUYs3zX4Un7NznYVh0E5PJwvWIRwEpDyny7ytV9A01qiaNJwbkMbcseI0omXnEhTUKTrFEf_i3xSJ-nZaBxDj7oN8k4glxcKHSrZkiMUFGDVO46Ob1/s72-c/Sound_07.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-4724816844822297697</id><published>2012-02-20T22:21:00.000+01:00</published><updated>2012-02-20T22:26:28.494+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="sonidos"/><title type='text'>[Android] Mi primera aplicación para Android (II)</title><content type='html'>&lt;br /&gt;
Ahora vamos a explicar que son todos estos directorios y ficheros que hay por defecto en nuestro proyecto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAlSd9rVp2h11Tse5k0oSxuVxIxDZjNxcYD2_qKTjxQ_YtpBq8jPCT3Ft-ZxYyiCPchp1oyPRq9J9h5XHPHTWyWFiyUin3KQqfdm42EfQs_64WoszYrCUxhFQKUEL4vllzNLetzVibhREU/s1600/Sound_04.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAlSd9rVp2h11Tse5k0oSxuVxIxDZjNxcYD2_qKTjxQ_YtpBq8jPCT3Ft-ZxYyiCPchp1oyPRq9J9h5XHPHTWyWFiyUin3KQqfdm42EfQs_64WoszYrCUxhFQKUEL4vllzNLetzVibhREU/s1600/Sound_04.jpg&quot; /&gt;&lt;/a&gt;Dentro de la carpeta &quot;&lt;i&gt;res&lt;/i&gt;&quot; es donde están todos los recursos.&lt;br /&gt;
&lt;i&gt;drawable-xxxx&lt;/i&gt; es donde estarán todos las imágenes de nuestro proyecto.&lt;br /&gt;
Según sea el tamaño y densidad, ahí es donde tienen que estar.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;xhdpi - Extra High density ( 960dp x 720dp )&lt;/li&gt;
&lt;li&gt;hdpi - High density ( 640dp x 480dp )&lt;/li&gt;
&lt;li&gt;mdpi - Medium density ( 470dp x 320dp )&lt;/li&gt;
&lt;li&gt;ldpi - Low density ( 426dp x 320dp )&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Para más información de estos directorios, os recomiendo que sigas el siguiente enlace&amp;nbsp;&lt;a href=&quot;http://developer.android.com/guide/practices/screens_support.html&quot;&gt;http://developer.android.com/guide/practices/screens_support.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
La carpeta &quot;Layout&quot; es donde estará nuestro formulario, la UI, la parte visible de nuestra aplicación.&lt;br /&gt;
La carpeta &quot;Values&quot; es donde estarán las variables y valores globales de nuestra aplicación, por ejemplo, versión del producto, nombre de la&amp;nbsp;aplicación, etc..&lt;br /&gt;
También tendremos un directorio llamado &quot;Raw&quot; que es donde estarán alojados los ficheros de sonido en mp3. En nuestro ejemplo, es importante porque es donde estarán los sonidos que vamos a usar en nuestra aplicación. Por defecto no se crea este directorio, por lo que hay que crearlo a mano.&lt;br /&gt;
&lt;br /&gt;
Luego tenemos el fichero R.java, este fichero está bajo el paquete &quot;Gen&quot;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGvUv8saaE4KWMx220yulQq1lBktM2urjjMqOOmH3cosOBH6hfXp26sVyHahqrJ2gp2Rimr70Dl_HW5_ci11Bnt8wTCZWTDlINeavtM7x163BWZkZhyphenhyphensE4EupyRRHDCHuKw28Ps2ri_3Nn/s1600/Sound_05.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGvUv8saaE4KWMx220yulQq1lBktM2urjjMqOOmH3cosOBH6hfXp26sVyHahqrJ2gp2Rimr70Dl_HW5_ci11Bnt8wTCZWTDlINeavtM7x163BWZkZhyphenhyphensE4EupyRRHDCHuKw28Ps2ri_3Nn/s1600/Sound_05.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjzZi_Gh_duY2G1WDCGx8AalEh17Uzailauz3mwtB6T-cazfvDh5gtbNYit5vOlRamDOXyEx-wJpTnfkxQIjl0dpqPSB3d_YOVrwhr7eb6gDZtPpzFAAfXpfITC1fERtskbBZrq2P7pmX1/s1600/Sound_06.jpg&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Como has observado, este fichero se&amp;nbsp;auto-genera&amp;nbsp;cuando modificamos, o añadimos cualquier cosa en la carpeta &quot;Res&quot; (de ahí, el nombre de R.java, vamos, se han estrujado mucho el cerebro los diseñadores, jejeje).&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Si haces cualquier cambio en este fichero, es ignorado pues cuando se compila o se modifica algo en este directorio, se elimina automáticamente pues se genera nuevamente el fichero R.Java.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Y la próxima entrada... el final, que sera cuando generemos la aplicación, la compilemos, la probemos y la instalemos en nuestro Android.&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/4724816844822297697/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/02/android-mi-primera-aplicacion-para_20.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4724816844822297697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4724816844822297697'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/02/android-mi-primera-aplicacion-para_20.html' title='[Android] Mi primera aplicación para Android (II)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAlSd9rVp2h11Tse5k0oSxuVxIxDZjNxcYD2_qKTjxQ_YtpBq8jPCT3Ft-ZxYyiCPchp1oyPRq9J9h5XHPHTWyWFiyUin3KQqfdm42EfQs_64WoszYrCUxhFQKUEL4vllzNLetzVibhREU/s72-c/Sound_04.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-519276921368070403</id><published>2012-02-14T22:53:00.002+01:00</published><updated>2012-02-14T22:53:43.649+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="sonidos"/><title type='text'>[Android] Mi primera aplicación para Android (I)</title><content type='html'>Hola a todos.&lt;br /&gt;
Hoy vamos a hacer nuestra primera aplicación para Android.&lt;br /&gt;
Para ello necesitamos los siguientes ingredientes:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Eclipse (&amp;nbsp;
&lt;a href=&quot;http://www.eclipse.org/&quot;&gt;http://www.eclipse.org&lt;/a&gt;&amp;nbsp;)&lt;/li&gt;
&lt;li&gt;ADT ( Plugin for Eclipse&amp;nbsp;
&lt;a href=&quot;http://developer.android.com/sdk/eclipse-adt.html&quot;&gt;http://developer.android.com/sdk/eclipse-adt.html&lt;/a&gt;&amp;nbsp;)&lt;/li&gt;
&lt;li&gt;Android SDK (&amp;nbsp;
&lt;a href=&quot;http://developer.android.com/sdk/index.html&quot;&gt;http://developer.android.com/sdk/index.html&lt;/a&gt;&amp;nbsp;)&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Para mas información de como empezar con el SDK de Android, visita la página&amp;nbsp;&lt;a href=&quot;http://developer.android.com/sdk/index.html&quot;&gt;http://developer.android.com/sdk/index.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Una vez instalado todo, vamos a hacer una aplicación simple, que reproduce un sonido cuando pulsamos un botón.&lt;br /&gt;
&lt;br /&gt;
Para empezar, debemos de seleccionar cual es la versión de Android vamos a usar, asi como el emulador a usar. &lt;b&gt;Nota:&lt;/b&gt; Los emuladores son eso, emuladores, asi que no esperes que vaya muy rápido ni nada por el estilo, porque son muy, pero que muy lentos.&lt;br /&gt;
&lt;br /&gt;
Primero, seleccionamos nuevo proyecto, y en el apartado &quot;Other&quot;, seleccionamos nueva aplicación Android.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI7WplCAcw4sSKWwtPdGnlIjaOIpfU6VUGK7lLhpqjFCBjOMy2jxxTsWL8X1JqoxBXjUxNUgGBN3wCiJzJVCzXhN9wEckv4AoNIbqMgBxRh5wAdbKn2jGi1deX-LDztifMXjzPT_g47Wbw/s1600/Sound_01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI7WplCAcw4sSKWwtPdGnlIjaOIpfU6VUGK7lLhpqjFCBjOMy2jxxTsWL8X1JqoxBXjUxNUgGBN3wCiJzJVCzXhN9wEckv4AoNIbqMgBxRh5wAdbKn2jGi1deX-LDztifMXjzPT_g47Wbw/s1600/Sound_01.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Le indicamos cual es el nombre de nuestro proyecto, asi como la versión de Android, en nuestro caso vamos a usar la versión 2.2 para que sea bastante compatible.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Sr5cOGuTsgI_94krZ-1SoFsqwhTzmbUSTdj2asDmMEWkQqe_80udt_96b-R45ukUmhlMa-eeOwP8nL9IhTwvenbAiHj8rv6a_lP781lsndTEHQuNm1RnBnR3G_Q5lXJCQ-s_5B9AO83R/s1600/Sound_02.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Sr5cOGuTsgI_94krZ-1SoFsqwhTzmbUSTdj2asDmMEWkQqe_80udt_96b-R45ukUmhlMa-eeOwP8nL9IhTwvenbAiHj8rv6a_lP781lsndTEHQuNm1RnBnR3G_Q5lXJCQ-s_5B9AO83R/s1600/Sound_02.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Le damos a finalizar y tendremos el siguiente paquete:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9NDb6YCYKHCtr4onMwBpY1MBjR8IJ892gC4RY9aAY4b7B7fEHgcb9IHYcae6jJAah4QnB0Ca-JGYZbmWErhwl4kSctf7beFwEgsYpfTu6n74Q94lb3yB3_qORvx2Q3us2OdBqp_f1f_hy/s1600/Sound_03.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9NDb6YCYKHCtr4onMwBpY1MBjR8IJ892gC4RY9aAY4b7B7fEHgcb9IHYcae6jJAah4QnB0Ca-JGYZbmWErhwl4kSctf7beFwEgsYpfTu6n74Q94lb3yB3_qORvx2Q3us2OdBqp_f1f_hy/s1600/Sound_03.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Luego veremos que son estas carpetas y como creamos nuestro UI... en la siguiente entrega&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/519276921368070403/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/02/android-mi-primera-aplicacion-para.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/519276921368070403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/519276921368070403'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/02/android-mi-primera-aplicacion-para.html' title='[Android] Mi primera aplicación para Android (I)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI7WplCAcw4sSKWwtPdGnlIjaOIpfU6VUGK7lLhpqjFCBjOMy2jxxTsWL8X1JqoxBXjUxNUgGBN3wCiJzJVCzXhN9wEckv4AoNIbqMgBxRh5wAdbKn2jGi1deX-LDztifMXjzPT_g47Wbw/s72-c/Sound_01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-7788410092863878332</id><published>2012-01-27T10:07:00.001+01:00</published><updated>2012-02-22T23:50:23.129+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Descarga de ejemplos"/><category scheme="http://www.blogger.com/atom/ns#" term="Internal"/><title type='text'>[INTERNAL] Codigos de ejemplos no disponibles</title><content type='html'>Hola a todos...&lt;br /&gt;
&lt;br /&gt;
Desgraciadamente, los señores del &lt;strong&gt;FBI&lt;/strong&gt; basándose en la premisa de Norteamerica de &quot;Todos son culpables, hasta que se demuestre lo contrario, y ya veremos...&quot;, han cerrado Megaupload, que era el servidor donde estaban alojados los ejemplos de este blog.&lt;br /&gt;
&lt;br /&gt;
Mientras encuentre otro sitio fiable donde poder compartir estos ficheros &lt;strong&gt;LEGALES&lt;/strong&gt;, y además, yo soy el propietario intelectual de estos ficheros, que cedo libremente a todos los usuarios, para uso y disfrute, los ejemplos no estarán disponibles para descargar.&lt;br /&gt;
&lt;br /&gt;
Intentare modificar los enlaces lo mas pronto posible para que usen correctamente. Cualquier sugerencia será bienvenida.&lt;br /&gt;
&lt;br /&gt;
Nota: También me gustaría usar algún tipo de licencia libre (GNU) o CopyLeft, si alguien puede suministrar alguna información sobre este tipo de licencias, manda comentario.&lt;br /&gt;
&lt;br /&gt;
Gracias a todos.&lt;br /&gt;
Kurro Software&lt;br /&gt;
&lt;br /&gt;
[29/01/12] Ya&amp;nbsp;están&amp;nbsp;disponibles los ficheros,&amp;nbsp;están&amp;nbsp;alojados en Rapidshare, no es la&amp;nbsp;opción&amp;nbsp;mas&amp;nbsp;rápida, pero si&amp;nbsp;están&amp;nbsp;disponibles para todos.&lt;br /&gt;
[22/02/12] Nuevamente cambiado el alojamiento de ficheros porque Rapidshare los eliminará en breve, o pagas o pasado 30 días lo borran.... Que simpáticos :D&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/7788410092863878332/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2012/01/internal-codigos-de-ejemplos-no.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/7788410092863878332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/7788410092863878332'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2012/01/internal-codigos-de-ejemplos-no.html' title='[INTERNAL] Codigos de ejemplos no disponibles'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-8069057983619996807</id><published>2011-11-01T16:25:00.000+01:00</published><updated>2012-02-22T23:47:39.642+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Geoposición"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Maps"/><title type='text'>[.NET] Usar el servicio de Google Geocoding</title><content type='html'>Hola de nuevo.&lt;br /&gt;
&lt;br /&gt;
En esta entrega vamos a ver como acceder al servicio de geoposicionamiento de Google Geocoding.&lt;br /&gt;
&lt;br /&gt;
Tal y como indica en las especificaciones de Geocoding, se puede acceder de dos formas diferentes. Una usando XML y otra usando JSON.&lt;br /&gt;
&lt;br /&gt;
La primera seria invocando la dirección directamente a la URL&amp;nbsp;&lt;a href=&quot;http://maps.google.com/maps/api/geocode/xml?address=Puerta+del+sol,1+Madrid+Spain&amp;amp;region=sp&amp;amp;sensor=false&quot;&gt;http://maps.google.com/maps/api/geocode/xml?address=Puerta+del+sol,1+Madrid+Spain&amp;amp;region=sp&amp;amp;sensor=false&lt;/a&gt;.&lt;br /&gt;
En este caso, nos devuelve la lista de posibles direcciones, junto a cada una de sus posiciones geográficas.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GeocodeResponse&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;status&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;OK&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;status&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;result&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;street_address&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;formatted_address&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Callede Peña del Sol, 1, 28034 Madrid, España&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;formatted_address&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;long_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;1&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;long_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;short_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;1&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;short_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;street_number&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;long_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Calle dePeña del Sol&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;long_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;short_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Calle dePeña del Sol&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;short_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;route&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;long_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Madrid&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;long_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;short_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Madrid&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;short_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;locality&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;political&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;long_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Madrid&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;long_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;short_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;M&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;short_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;administrative_area_level_2&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;political&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;long_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Comunidadde Madrid&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;long_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;short_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Comunidadde Madrid&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;short_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;administrative_area_level_1&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;political&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;long_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;España&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;long_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;short_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;ES&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;short_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;country&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;political&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;long_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;28034&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;long_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;short_name&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;28034&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;short_name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;postal_code&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;address_component&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;geometry&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;location&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lat&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;40.4884395&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lng&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;-3.7027410&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lng&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;location&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;location_type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;RANGE_INTERPOLATED&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;location_type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;viewport&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;southwest&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lat&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;40.4874340&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lng&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;-3.7043715&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lng&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;southwest&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;northeast&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lat&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;40.4901319&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lng&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;-3.7016736&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lng&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;northeast&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;viewport&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;bounds&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;southwest&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lat&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;40.4883964&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lng&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;-3.7034958&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lng&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;southwest&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;northeast&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lat&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;40.4891695&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;lng&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;-3.7025493&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;lng&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;northeast&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;bounds&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;geometry&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;partial_match&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;true&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;partial_match&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;result&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GeocodeResponse&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Menudo chorizo!!&lt;br /&gt;
&lt;br /&gt;
Pero, como podemos usar la opción de JSON, vamos a creare un WCF para recuperar este resultado.&lt;br /&gt;
Así, que lo primero que necesitamos crear es un DataContract para almacenar los resultados.&lt;br /&gt;
&lt;br /&gt;
Si ejecutamos la sentencia anterior, sustituyendo XML por JSON, te puedes hacer una idea de como tiene que ser nuestro interface.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;[&lt;span style=&quot;color: #2b91af;&quot;&gt;DataContract&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;GeoResponse&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;status&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; Status { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;results&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;CResult&lt;/span&gt;[] Results { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;;&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataContract&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;CResult&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;formatted_address&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; formatted_address { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;address_components&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;GeocodeAddressComponent&lt;/span&gt;[] AddressComponents{ &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataContract&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;GeocodeAddressComponent&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;long_name&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; LongName { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;;&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;short_name&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; ShortName { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;;&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;types&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;[] Type { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;;&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;geometry&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;CGeometry&lt;/span&gt; Geometry { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataContract&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;CGeometry&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;location&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;CLocation&lt;/span&gt; Location { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataContract&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;CLocation&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;lat&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;double&lt;/span&gt; Latitude { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;;&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;DataMember&lt;/span&gt;(Name= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;lng&quot;&lt;/span&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;double&lt;/span&gt; Longitude { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;;&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Ahora, definimos la función que usaremos para llamar al Geocoding.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;[&lt;span style=&quot;color: #2b91af;&quot;&gt;OperationContract&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;GeoResponse&lt;/span&gt;CallGeoWS(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; address);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Ahora, a crear la clase que implementa este interface.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Geocoding&lt;/span&gt; : &lt;span style=&quot;color: #2b91af;&quot;&gt;IGeocoding&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;GeoResponse&lt;/span&gt; CallGeoWS(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;address)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;url = &lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;.Format(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;http://maps.google.com/maps/api/geocode/json?address={0}&amp;amp;region=sp&amp;amp;sensor=false&quot;&lt;/span&gt;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #2b91af;&quot;&gt;HttpUtility&lt;/span&gt;.UrlEncode(address)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;request = (&lt;span style=&quot;color: #2b91af;&quot;&gt;HttpWebRequest&lt;/span&gt;)&lt;span style=&quot;color: #2b91af;&quot;&gt;HttpWebRequest&lt;/span&gt;.Create(url);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.Headers.Add(&lt;span style=&quot;color: #2b91af;&quot;&gt;HttpRequestHeader&lt;/span&gt;.AcceptEncoding, &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;gzip,deflate&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.AutomaticDecompression= &lt;span style=&quot;color: #2b91af;&quot;&gt;DecompressionMethods&lt;/span&gt;.GZip | &lt;span style=&quot;color: #2b91af;&quot;&gt;DecompressionMethods&lt;/span&gt;.Deflate;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;DataContractJsonSerializer&lt;/span&gt;serializer = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;DataContractJsonSerializer&lt;/span&gt;(&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt;(&lt;span style=&quot;color: #2b91af;&quot;&gt;GeoResponse&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;res = (&lt;span style=&quot;color: #2b91af;&quot;&gt;GeoResponse&lt;/span&gt;)serializer.ReadObject(request.GetResponse().GetResponseStream());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; res;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Como&amp;nbsp;veréis, la URL usada es la de Geocode, este nos devolverá el bloque en ZIP y lo descomprimimos&amp;nbsp;automáticamente, a la par que hacemos la deseralización del resultado usando el contract que hemos creado antes.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Como ves, es muy sencillo.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Solo a tener en cuenta una cosa.. La&amp;nbsp;librería&amp;nbsp;de JSON la puedes encontrar en&amp;nbsp;C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\System.Runtime.Serialization.dll&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Bueno... y&amp;nbsp;después&amp;nbsp;de todo esto, ¿Qué se puede hacer&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Pues vamos a usarlo para mostrar información de direcciones y mostrarlo en un mapa de Google Maps.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En este caso, vamos a utilizar la opción de mapas staticos de Google.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;http://maps.google.com/maps/api/staticmap?center=latitud,longitud&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Geocoding.&lt;span style=&quot;color: #2b91af;&quot;&gt;Geocoding&lt;/span&gt;gc = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; Geocoding.&lt;span style=&quot;color: #2b91af;&quot;&gt;Geocoding&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GeoResponse&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; gr;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; address = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Paseodel Prado,1,Madrid,Spain&quot;&lt;/span&gt;;&lt;span style=&quot;color: #a31515;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GeoResponse &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;geocodingResponse = gc.CallGeoWS(address);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Nos devuelve un objeto del tipo GeoResponse, que vamos a recorrer para montar un ListView.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;listViewResult.Items.Clear();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;foreach&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;(&lt;span style=&quot;color: #2b91af;&quot;&gt;GeoResponse&lt;/span&gt;.&lt;span style=&quot;color: #2b91af;&quot;&gt;CResult&lt;/span&gt;result &lt;span style=&quot;color: blue;&quot;&gt;in&lt;/span&gt; _geocodingResponse.Results)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ListViewItem&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; lv = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;ListViewItem&lt;/span&gt;(result.formatted_address,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 35.4pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lv.SubItems.Add(Coordenates_ToString(&lt;span style=&quot;color: #2b91af;&quot;&gt;Functions&lt;/span&gt;.Convert2DegressMinutesSeconds(result.Geometry.Location.Longitude,&lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;)));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 35.4pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lv.SubItems.Add(Coordenates_ToString(&lt;span style=&quot;color: #2b91af;&quot;&gt;Functions&lt;/span&gt;.Convert2DegressMinutesSeconds(result.Geometry.Location.Latitude)));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;listViewResult.Items.Add(lv);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Como habrás notado, estoy usando la función de&lt;a href=&quot;http://kurro-software.blogspot.com/2011/11/net-convertir-latitud-y-longitud-en.html&quot;&gt; conversión de Grados Minutos y segundos&lt;/a&gt; que se ha comentado anteriormente, para mostrar la posición geográfica en unidades de GPS.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
La función&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;Coordenates_ToString&lt;/span&gt;&amp;nbsp;es para formatear nuestras coordenadas.&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;private&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;String&lt;/span&gt; Coordenates_ToString(&lt;span style=&quot;color: #2b91af;&quot;&gt;Functions&lt;/span&gt;.&lt;span style=&quot;color: #2b91af;&quot;&gt;Coordenates&lt;/span&gt;coordenates)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt;(coordenates.Geo + &lt;span style=&quot;color: #a31515;&quot;&gt;&quot; &quot;&lt;/span&gt; +coordenates.Degress.ToString() + &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;º &quot;&lt;/span&gt;+ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;coordenates.Minutes.ToString() + &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&#39; &quot;&lt;/span&gt; + &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; coordenates.Seconds.ToString() + &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&#39;&#39; &quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Si quieres ver todo esto en funcionamiento, descárgate el código y el TestHarness para probarlo.&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/KurroSoftware.Geocoding.zip&quot;&gt;KurroSoftware.Geocoding.Zip&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/8069057983619996807/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2011/11/net-usar-el-servicio-de-google.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8069057983619996807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8069057983619996807'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2011/11/net-usar-el-servicio-de-google.html' title='[.NET] Usar el servicio de Google Geocoding'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-4301125707536359277</id><published>2011-11-01T15:14:00.001+01:00</published><updated>2012-02-22T23:44:58.539+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="funciones comunes"/><category scheme="http://www.blogger.com/atom/ns#" term="Geoposición"/><category scheme="http://www.blogger.com/atom/ns#" term="Grados"/><category scheme="http://www.blogger.com/atom/ns#" term="Latitud"/><category scheme="http://www.blogger.com/atom/ns#" term="Longitud"/><title type='text'>[.NET] Convertir Latitud y Longitud en Grados - Minutos y segundos</title><content type='html'>Hola a todos.&lt;br /&gt;
&lt;br /&gt;
Esta es una función para convertir un número de posición geográfica en grados, minutos y segundos.&lt;br /&gt;
&lt;br /&gt;
Como algunos pocos recordarán,una posición geográfica esta definida por latitud (Norte / Sur) y longitud (Este / Oeste) teniendo como referencia para la longitud el meridiano de Greenwich (Meridiano 0) y para la latitud la linea del Ecuador (Paralelo 0). Por lo que siempre hablaremos de posición &quot;&lt;i&gt;Grados Norte&lt;/i&gt;&quot;, o &quot;&lt;i&gt;Grados Este&lt;/i&gt;&quot;.&lt;br /&gt;
&lt;br /&gt;
Ahora es cuando entra en juego las matemáticas y la trigonometría (he de admitir que me encantan :D ). El hemisferio norte o sur solo tendría 90° Norte o Sur. Por ejemplo, El polo norte está a 90° 0&#39; 0&#39;&#39; N de latitud. La longitud podríamos considerar el 0° 0&#39; 0&#39;&#39; (estamos en el polo norte, por lo que es un solo punto, no hay longitud).&lt;br /&gt;
&lt;br /&gt;
En cambio, si nos movemos alrededor de la tierra por la linea de Ecuador, la latitud será 0° 0&#39; 0&#39;&#39; (ni al norte, ni al sur) pero de Este a Oeste nos moveremos en un rango de 180°. Desde el Meridiano de Greenwich al&amp;nbsp;Meridiano&amp;nbsp;de cambio de fecha (el 180). Por ejemplo, la ciudad de Calacalí, en Ecuador, E 70° 30&#39; 47&#39;&#39; - N 0° 0&#39; 0&#39;&#39; (por algo es llamada la ciudad en la mitad del mundo).&lt;br /&gt;
&lt;br /&gt;
Después&amp;nbsp;de esta breve clase de geografía, vamos a poner en práctica estos conocimientos con las nuevas tecnologías.&lt;br /&gt;
&lt;br /&gt;
En algunas aplicaciones de geoposicionamiento (Latitude de Google, Loopt de Apple, etc..), estas posiciones son dadas en un numero con (mas o menos) 8 decimales. Signo + o -, esto significa que esta al Este u Oeste (si es Longitud) o Norte o Sur (si es Latitud).&lt;br /&gt;
&lt;br /&gt;
Ejemplo:&lt;br /&gt;
Puerta del Sol de Madrid.&lt;br /&gt;
Latitud: 40.4166846&lt;br /&gt;
Longitud: -3.7025638&lt;br /&gt;
&lt;br /&gt;
Lo que tenemos que hacer es convertir esta numeración en Grados Minutos y Segundos.&lt;br /&gt;
&lt;br /&gt;
1) Los grados serán la parte entera&lt;br /&gt;
2) Los minutos serán la diferencia de la parte decimal multiplicado por 60&lt;br /&gt;
3) Los segundos será lo que queda multiplicado por 60&lt;br /&gt;
&lt;br /&gt;
Ahora lo vemos en código:&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;double absValue = Math.Abs(Math.Round(position * 1000000));&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;int sign = Math.Sign(position);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Int Degress = (int)Math.Floor(absValue / 1000000);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Int Minutes = (int)Math.Floor(((absValue / 1000000) - Math.Floor(absValue / 1000000)) * 60);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Decimal Seconds = (Decimal)Math.Floor(((((absValue / 1000000) - Math.Floor(absValue / 1000000)) * 60) - Math.Floor(((absValue / 1000000) - Math.Floor(absValue / 1000000)) * 60)) * 100000) * 60 / 100000;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Pero vamos a ser un poco mas sofisticados. Como es una función para calcular posiciones geográficas, vamos a usar una estructura para contener esta información:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;struct&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Coordenates&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; Degress;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; Minutes;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;decimal&lt;/span&gt; Seconds;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;String&lt;/span&gt; Geo; &lt;span style=&quot;color: green;&quot;&gt;// N,S,E,W&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El valor Geo tendrá el valor de Norte, Sur, Este y (W)Oeste. Por lo que tenemos que tener algún parámetro para saber si es Latitud o Longitud. Empezamos a definir nuestra función:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 13px;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 13px;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 13px;&quot;&gt;Coordenates&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;Convert2DegressMinutesSeconds(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 13px;&quot;&gt;double&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;position,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 13px;&quot;&gt;bool&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;isLong)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Vamos a sobrecargar esta función para que por defecto, lo que vamos a convertir es una Latitud.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 13px;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 13px;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 13px;&quot;&gt;Coordenates&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;
Convert2DegressMinutesSeconds(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 13px;&quot;&gt;double&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt; position)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;// By
default, it is a Latitude (North / South)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; Convert2DegressMinutesSeconds(position, &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
y como había dicho antes, si es positivo, y es latitud, estamos hablando de Norte.
&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-bottom-style: none; border-collapse: collapse; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #d9d9d9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 69.2pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;Signo&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #d9d9d9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;Posición&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #d9d9d9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;isLong&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 69.2pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Positivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Norte&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
False&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 69.2pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Negativo&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Sur&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
False&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 69.2pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Positivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Este&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
True&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 69.2pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Negativo&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Oeste&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-top-color: initial; border-top-style: none; border-top-width: initial; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 63.8pt;&quot; valign=&quot;top&quot; width=&quot;85&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
True&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Esta sería la función final.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Coordenates&lt;/span&gt;
Convert2DegressMinutesSeconds(&lt;span style=&quot;color: blue;&quot;&gt;double&lt;/span&gt; position, &lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; isLong)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #2b91af;&quot;&gt;Coordenates&lt;/span&gt;
ret = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Coordenates&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;//
Negative: North&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;//
Positive: South&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;// if
isLong = true&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;//
Negative: East&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;//
Positive: West&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;double&lt;/span&gt;
absValue = &lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Abs(&lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Round(position
* 1000000));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;
sign = &lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Sign(position);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;ret.Degress = (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;)&lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Floor(absValue
/ 1000000);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;ret.Minutes = (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;)&lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Floor(((absValue
/ 1000000) - &lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Floor(absValue / 1000000))
* 60);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;ret.Seconds = (&lt;span style=&quot;color: #2b91af;&quot;&gt;Decimal&lt;/span&gt;)&lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Floor(((((absValue
/ 1000000) - &lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Floor(absValue / 1000000))
* 60) - &lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Floor(((absValue / 1000000) - &lt;span style=&quot;color: #2b91af;&quot;&gt;Math&lt;/span&gt;.Floor(absValue / 1000000)) * 60)) * 100000) *
60 / 100000;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;
(isLong)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;
(sign &amp;gt; 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ret.Geo = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;W&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ret.Geo = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;E&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;
(sign &amp;gt; 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ret.Geo = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;N&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ret.Geo = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;S&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ret;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
¿A que es bonita?&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Como siempre, la función la puedes encontrar en el siguiente enlace.&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/KurroSoft.Common.zip&quot;&gt;KurroSoftware.Common.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/4301125707536359277/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2011/11/net-convertir-latitud-y-longitud-en.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4301125707536359277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/4301125707536359277'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2011/11/net-convertir-latitud-y-longitud-en.html' title='[.NET] Convertir Latitud y Longitud en Grados - Minutos y segundos'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-6509125190018857244</id><published>2011-10-15T14:11:00.001+02:00</published><updated>2011-10-15T14:11:56.987+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Impresora virtual"/><category scheme="http://www.blogger.com/atom/ns#" term="PDF"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>[SYS] - Instalar una impresora PDF virtual</title><content type='html'>Hola de nuevo.&lt;br /&gt;
&lt;br /&gt;
Muchas veces nos hemos visto obligado a convertir un documento en PDF y es un fastidio si no tenemos la licencia correspondiente de Adobe para editar y crear nuestros propios PDF.&lt;br /&gt;
&lt;br /&gt;
Estas son las instrucciones que encontré hace mucho tiempo de como crear una impresora PDF virtual. El enlace es el siguiente:&amp;nbsp;&lt;a href=&quot;http://www.aitoroliveira.com/hazlotumismo/impresorapdf.php&quot;&gt;http://www.aitoroliveira.com/hazlotumismo/impresorapdf.php&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Es muy&amp;nbsp;útil, sobre todo si no tienes impresora o quieres mandar algún documento por email.&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/6509125190018857244/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2011/10/sys-instalar-una-impresora-pdf-virtual.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/6509125190018857244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/6509125190018857244'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2011/10/sys-instalar-una-impresora-pdf-virtual.html' title='[SYS] - Instalar una impresora PDF virtual'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-3800542863175710702</id><published>2011-10-15T01:31:00.000+02:00</published><updated>2012-02-22T23:46:34.687+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GUID"/><category scheme="http://www.blogger.com/atom/ns#" term="VB"/><title type='text'>[VB] - Generar GUID</title><content type='html'>Esta si es buena...&lt;br /&gt;
Como se nota que VB es un lenguaje con &quot;solera&quot;, es decir, con años pero con robustez. Pero le pasa como al abuelo Cebolleta, tiene experiencia pero para los nuevos tiempos... ains.. le falta algo.&lt;br /&gt;
&lt;br /&gt;
Hoy en dia no sabriamos hacer nada sin un buen GUID, sobre todo si lo que queremos es identificar de forma unica y constante algun registro, objeto u otro componente.&lt;br /&gt;
&lt;br /&gt;
Usando SQL podemos generar un GUID en un santiamen a traves de la instrucción &lt;span style=&quot;color: magenta; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;NEWID()&lt;/span&gt;, podemos crear un nuevo GUID en .NET usando la clase GUID.. pero... como lo hacemos con Visual Basic 6?&lt;br /&gt;
&lt;br /&gt;
Para empezar, vamos a ver en que se compone un GUID&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Que es un GUID?&lt;/b&gt;&lt;br /&gt;
Su significado es Globally Unique Identifier, osea Identificador globalmente único. Y su misión es la de proporcionar un identificador, de forma que es practicamente imposible que existan dos iguales en el mundo.&lt;br /&gt;
Se compone de una palabra de 4 bytes, 3 palabras de 2 bytes y una de 6 bytes.&lt;br /&gt;
Originalmente fue una idea de Microsoft para identificar sus objetos OLE, estos se denominan CLSID.&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
{C802231C-140D-4D91-BEFF-0B9DC2A2877B}&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;¿Como hacemos esta maravilla de identificador?&lt;/b&gt;&lt;br /&gt;
Para ello vamos a usar el método coCreateGUID de la libreria OLE32.DLL y crearemos un Type con la configuración de un GUID (ya sabes, 4-2-2-2-6)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: &#39;Courier New&#39;;&quot;&gt;Private Type&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; newGUID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;Data1 &lt;span style=&quot;color: navy;&quot;&gt;As Long&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;Data2 &lt;span style=&quot;color: navy;&quot;&gt;As Integer&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;Data3 &lt;span style=&quot;color: navy;&quot;&gt;As Integer&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;Data4(7) &lt;span style=&quot;color: navy;&quot;&gt;As Byte&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: &#39;Courier New&#39;;&quot;&gt;End Type&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;
Un momento.... hemos dicho 4-2-2-2-6, entonces ¿Por qué hacemos una estructura de 4 (Long), 2 (Integer), 2 (Integer) y Array(7) Byte (osea, 8 Bytes)?&lt;br /&gt;
&lt;br /&gt;
Muy facil, realmente el 3er grupo de 2 bytes es parte del ultimo grupo de 6 Bytes, solo que va separado de este último grupo, es un poco lioso pero en resumidas cuenta, el último grupo lleva los bytes correspondiente al último grupo de 2 Bytes y el grupo de 6 Bytes.&lt;br /&gt;
{Data1 - Data2 - Data3 - 2Bytes de Data4 - 6Bytes de Data4}&lt;br /&gt;
¿A que ahora queda un poco mas claro?&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
Luego invocamos a la función coCreateGUID para rellenar este tipo&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: &#39;Courier New&#39;;&quot;&gt;Private Declare Function&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; CoCreateGuid &lt;span style=&quot;color: navy;&quot;&gt;Lib&lt;/span&gt; &quot;OLE32.DLL&quot; (pGuid As newGUID) &lt;span style=&quot;color: navy;&quot;&gt;As Long&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Esta función devuelve 0 si se ha procesado correctamente, y rellenará los valores. Solo tenemos que volver a convertirlos en una cadena&amp;nbsp; &lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;String &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: &#39;Courier New&#39;;&quot;&gt;Dim&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; udtGUID &lt;span style=&quot;color: navy;&quot;&gt;As&lt;/span&gt; newGUID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;Dim &lt;/span&gt;GetGUID &lt;span style=&quot;color: navy;&quot;&gt;As &lt;/span&gt;String &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: &#39;Courier New&#39;;&quot;&gt;If&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; (CoCreateGuid(udtGUID) = 0) &lt;span style=&quot;color: navy;&quot;&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;GetGUID = _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;String(8 - Len(Hex$(udtGUID.Data1)), &quot;0&quot;) &amp;amp; Hex$(udtGUID.Data1) &amp;amp; &quot;-&quot; &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;String(4 - Len(Hex$(udtGUID.Data2)), &quot;0&quot;) &amp;amp; Hex$(udtGUID.Data2) &amp;amp; &quot;-&quot; &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;String(4 - Len(Hex$(udtGUID.Data3)), &quot;0&quot;) &amp;amp; Hex$(udtGUID.Data3) &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(0) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(0)) &amp;amp; &quot;-&quot; &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(1) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(1)) &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(2) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(2)) &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(3) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(3)) &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(4) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(4)) &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(5) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(5)) &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(6) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(6)) &amp;amp; _&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;IIf((udtGUID.Data4(7) &amp;lt; &amp;amp;H10), &quot;0&quot;, &quot;&quot;) &amp;amp; Hex$(udtGUID.Data4(7))&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: &#39;Courier New&#39;;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Esta función la puedes descargar en el siguiente enlace&lt;/div&gt;
&lt;div class=&quot;sbsNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/CreateGUID.zip&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;CreateGUID.zip&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/3800542863175710702/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2011/10/vb-generar-guid.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/3800542863175710702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/3800542863175710702'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2011/10/vb-generar-guid.html' title='[VB] - Generar GUID'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-6597672479284873951</id><published>2011-10-14T00:01:00.000+02:00</published><updated>2015-12-22T10:54:48.233+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="desencriptar"/><category scheme="http://www.blogger.com/atom/ns#" term="encriptar"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>[SQL] - Encriptar y desencriptar contraseñas</title><content type='html'>Hay veces que nos complicamos la vida de una forma complicada e intentamos volver a inventar la&amp;nbsp;pólvora, la rueda y todo a la vez.&lt;br /&gt;
&lt;br /&gt;
La encriptación de contraseñas es una de esas cosas que la complicamos. Podemos usar las funciones que tiene SQL Server 2008 y posterior.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Para este ejemplo, vamos a usar las funciones ENCRYPTBYPASSPHRASE y DECRYPTBYPASSPHRASE. Para ello vamos a necesitar una palabra clave que es la que vamos a usar como patrón. Veamos como se las gasta esta función.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SELECT &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;ENCRYPTBYPASSPHRASE&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;KurroSoftware&#39;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&#39;MyPassword&#39;&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
Esta función esta usando la palabra KurroSoftware para su algoritmo de encriptación. El resultado es el siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;0x01000000B8C73A18B8157E470A120864E04D58B8BB12C1E38B2C3BF36A5768883925821C64120CC0E5309A39&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Esta claro, no?&lt;br /&gt;
&lt;br /&gt;
Pues usando lo mismo pero en sentido contrario es como funciona la función DECRYPTBYPASSPHRASE, es decir, usa la palabra clave y el valor binario:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;DECLARE &lt;/span&gt;@Var AS &lt;span style=&quot;color: blue;&quot;&gt;VARBINARY&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;8000&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET &lt;/span&gt;@Var = 0x01000000B8C73A18B8157E470A120864E04D58B8BB12C1E38B2C3BF36A5768883925821C64120CC0E5309A39&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SELECT &lt;span style=&quot;color: magenta;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DECRYPTBYPASSPHRASE&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;KurroSoftware&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,@Var&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;/span&gt; AS VARCHAR&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;MAX&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Esto nos devuelve, la clave desencriptada.&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
MyPassword&lt;/div&gt;
&lt;br /&gt;
Pues ahora a jugar con estas funciones. Yo propongo las siguientes funciones de usuario.&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;CREATE FUNCTION&lt;/span&gt; [dbo].[fn_EncryptPassword(@Password &lt;span style=&quot;color: blue;&quot;&gt;AS VARCHAR&lt;/span&gt;(100))]&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;RETURNS VARBINARY&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;8000&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;BEGIN&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;DECLARE &lt;/span&gt;@Encrypted &lt;span style=&quot;color: blue;&quot;&gt;AS VARBINARY&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;8000&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;SET &lt;/span&gt;@Encrypted = &lt;span style=&quot;color: magenta;&quot;&gt;ENCRYPTBYPASSPHRASE&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;KurroSoftware&#39;&lt;/span&gt;,@Password&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;RETURN &lt;/span&gt;@Encrypted&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;END&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;CREATE FUNCTION&lt;/span&gt; [dbo].[fn_DecryptPassword(@Password &lt;span style=&quot;color: blue;&quot;&gt;AS VARBINARY&lt;/span&gt;(8000))]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;RETURNS NVARCHAR&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;100&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;AS&lt;/span&gt;&lt;br style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;BEGIN&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;DECLARE &lt;/span&gt;@Decrypted &lt;span style=&quot;color: blue;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;100&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;SET &lt;/span&gt;@Decrypted = &lt;span style=&quot;color: magenta;&quot;&gt;DECRYPTBYPASSPHRASE&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;KurroSoftware&#39;&lt;/span&gt;,@Password&lt;span style=&quot;color: #999999;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;RETURN &lt;/span&gt;@Decrypted&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;END&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Si quieres mas información sobre estas dos funciones, usa los siguientes enlaces:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;ENCRYPTBYPASSPHRASE &lt;/b&gt;&lt;/span&gt;- &lt;a href=&quot;http://technet.microsoft.com/en-us/library/ms190357.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/ms190357.aspx&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;DECRYPTBYPASSPHRASE &lt;/b&gt;&lt;/span&gt;- &lt;a href=&quot;http://technet.microsoft.com/en-us/library/ms188910.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/ms188910.aspx&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/6597672479284873951/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2011/10/sql-encriptar-y-desencriptar.html#comment-form' title='15 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/6597672479284873951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/6597672479284873951'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2011/10/sql-encriptar-y-desencriptar.html' title='[SQL] - Encriptar y desencriptar contraseñas'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-128754389386970196</id><published>2011-10-12T15:41:00.000+02:00</published><updated>2012-02-22T23:48:31.621+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Num2Txt"/><category scheme="http://www.blogger.com/atom/ns#" term="Números a letras"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerBuilder"/><title type='text'>[PB] - Convertir Numero en Letra</title><content type='html'>¿Alguna vez has necesitado crear un proceso que tenga que traducir números a letras?&lt;br /&gt;
Por ejemplo, para un proceso de emisión de cheques.&lt;br /&gt;
&lt;br /&gt;
Pues esta es la rutina que necesitas&lt;br /&gt;
En este caso, vamos a desarrollar un traductor en dos idiomas, es castellano y en catalán.&lt;br /&gt;
&lt;br /&gt;
Para ello vamos a usar la función GlobalReplace que viene con las PFC&#39;s, pero si no las usas, no importa porque la he&amp;nbsp;extraído&amp;nbsp;para este ejemplo.&lt;br /&gt;
&lt;br /&gt;
1- Creamos un objeto de usuario no visual autoinstanciable, por ejemplo lo llamamos ncst_num2txt&lt;br /&gt;
&lt;br /&gt;
2- Definimos las siguientes variables de instancia&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;private String is_cifra[],is_centenas[]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3- Creamos las funciones de of_GloblalReplace y otra para sobrecargar por defecto la opción de IgnoreCase (Esto lo puedes encontrar en la PFCs)&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;public function string of_GlobalReplace (string as_Source, string as_Old, string as_New, boolean ab_IgnoreCase);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Function: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;of_GlobalReplace&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Access: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;public&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Arguments:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_Source&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;The string being searched.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_Old&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;The old string being replaced.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_New&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;The new string.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp;ab_IgnoreCase&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;A boolean stating to ignore case sensitivity.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Returns: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;string&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;as_Source with all occurrences of as_Old replaced with as_New.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;If any argument&#39;s value is NULL, function returns NULL.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Description: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Replace all occurrences of one string inside another with&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;a new string.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Revision History&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Version&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;5.0 &amp;nbsp; Initial version&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Copyright © 1996 Powersoft Corporation. &amp;nbsp;All Rights Reserved.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Any distribution of the PowerBuilder Foundation Classes (PFC)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;source code by other than Powersoft is prohibited.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Long&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ll_Start, ll_OldLen, ll_NewLen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String ls_Source&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//Check parameters&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;If IsNull(as_source) or IsNull(as_old) or IsNull(as_new) or IsNull(ab_ignorecase) Then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string ls_null&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;SetNull(ls_null)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Return ls_null&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;End If&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//Get the string lenghts&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ll_OldLen = Len(as_Old)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ll_NewLen = Len(as_New)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//Should function respect case.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;If ab_ignorecase Then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_old = Lower(as_old)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_source = Lower(as_source)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_source = as_source&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;End If&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//Search for the first occurrence of as_Old&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ll_Start = Pos(ls_Source, as_Old)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Do While ll_Start &amp;gt; 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// replace as_Old with as_New&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_Source = Replace(as_Source, ll_Start, ll_OldLen, as_New)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//Should function respect case.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;If ab_ignorecase Then&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_source = Lower(as_source)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_source = as_source&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;End If&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// find the next occurrence of as_Old&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ll_Start = Pos(ls_Source, as_Old, (ll_Start + ll_NewLen))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Loop&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Return as_Source&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end function&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;public function string of_GlobalReplace (string as_Source, string as_Old, string s_New);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Function: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;of_GlobalReplace&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Access: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;public&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Arguments:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_Source&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;The string being searched.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_Old&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;The old string being replaced.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;as_New&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;The new string.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Returns: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;string&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;as_Source with all occurrences of as_Old replaced with as_New.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;If any argument&#39;s value is NULL, function returns NULL.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Description: &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Replace all occurrences of one string inside another with&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;a new string.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Revision History&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Version&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;5.0 &amp;nbsp; Initial version&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Copyright © 1996 Powersoft Corporation. &amp;nbsp;All Rights Reserved.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Any distribution of the PowerBuilder Foundation Classes (PFC)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;source code by other than Powersoft is prohibited.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Integer&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;li_Start, li_OldLen, li_NewLen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//Check parameters&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;If IsNull(as_source) or IsNull(as_old) or IsNull(as_new) Then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string ls_null&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;SetNull(ls_null)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Return ls_null&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;End If&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//The default is to ignore Case&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;as_Source = of_GlobalReplace (as_source, as_old, as_new, True)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Return as_Source&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end function&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
4 - Definimos la función of_GetCifra(integer ai_numero) return String&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;private function string of_getcifra (integer ai_numero);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Función:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;of_getcifra&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Argumentos:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;integer ai_numero&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Retorno:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Descripción: Devuelve el número en letra&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historial de revisiones&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Autor:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;FLH&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Fecha&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Versión&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;15/07/2004&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.0 &amp;nbsp; Versión inicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_CurrItm&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Integer&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;li_numero, li_pos&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;IF ai_numero &amp;lt;= 20 THEN&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_CurrItm = is_cifra[ai_numero]&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Del 1 al 20 coincide con la matriz&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ELSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;li_numero = ai_numero - 30&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CHOOSE CASE li_numero&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE IS &amp;lt; 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;li_numero = li_numero * -1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;li_pos = Int(li_numero / 10) + 21&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;li_pos = 21&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE ELSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;li_pos = Int(li_numero / 10) + 21&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_CurrItm = is_cifra[li_pos]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;END IF&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;RETURN ls_CurrItm&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end function&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5 - Definimos la función of_trio(String as_trio, String as_codidiom) return String, esta&amp;nbsp;función&amp;nbsp;evalúa&amp;nbsp;de 3 en 3 las cifras (cien, diez, etc..)&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;private function string of_trio (string as_trio, string as_codidiom);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Función:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;of_trio&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Argumentos:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string as_trio&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string as_codidiom&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Retorno:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Descripción: Traduce un número de 1, 2 o 3 cifras en letras&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historial de revisiones&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Autor:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;FLH&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Fecha&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Versión&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;15/07/2004&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.0 &amp;nbsp; Versión inicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_cif&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_ciento, ls_cientas, ls_and, ls_y&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Integer&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;li_cif1, li_cif2, li_cif3&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_cif &amp;nbsp;= &#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;li_cif1 = Integer(LEFT(as_trio,1))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;li_cif2 = Integer(MID(as_trio,2,1))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;li_cif3 = Integer(MID(as_trio,3,1))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Choose Case as_codidiom&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case &#39;ESPA&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_ciento = &#39;cien&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_and = &#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_y = &#39; y &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case &#39;CATA&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_ciento = &#39;cent&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_and = &#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_y = &#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end choose&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// Primera cifra. (Centenas)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;CHOOSE CASE li_cif1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CASE 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if li_cif2 = 0 and li_cif3 = 0 then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;ls_cif = ls_ciento&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;ls_cif = is_centenas[li_cif1] + &#39; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;end if&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CASE IS &amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_cif = is_centenas[li_cif1] + &#39; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// Segunda cifra (Decenas)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;CHOOSE CASE li_cif2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CASE 3 TO 9&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Eliminamos las cifras que empiezan por 1 y 2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CHOOSE CASE li_cif3&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CASE 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// Decenas exactas&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ls_cif = ls_cif + ls_and + of_GetCifra(li_cif2 * 10) + &#39; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CASE IS &amp;gt; 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ls_cif = ls_cif + ls_and + of_GetCifra(li_cif2 * 10) + ls_y&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CASE 2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// En este caso, tenemos que tener en cuenta que 20 ( Veinte ) es diferente que Veinti&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CHOOSE CASE li_cif3&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CASE 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// Veinte exacto&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ls_cif = ls_cif + ls_and + is_cifra[29] + &#39; &#39;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// Veinte&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CASE IS &amp;gt; 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// Igual que en el resto de números&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ls_cif = ls_cif + ls_and + of_GetCifra(li_cif2 * 10)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CASE 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Esta forma tiene otra gestión&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Debemos de indicarle la 3º cifra&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_cif = ls_cif + ls_and + of_GetCifra((li_cif2 * 10) + li_cif3) + &#39; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// Tercera cifra (Unidad)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;IF li_cif3 &amp;gt; 0 THEN&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// Tenemos que tener en cuenta que las deceneas ( 10 ) ya están gestionadas&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;IF li_cif2 &amp;lt;&amp;gt; 1 THEN&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_cif =&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_cif + of_GetCifra(li_cif3)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;END IF&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;END IF&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;RETURN ls_cif&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end function&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
6- Y por último definimos la función de traducción con la parametrización de las palabras según idioma. of_num2txt (decimal adc_numero, string as_codidiom) return String&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;public function string of_num2txt (decimal adc_numero, string as_codidiom);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Función:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;of_num2txt&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Argumentos:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;decimal adc_numero&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string as_codidiom&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Retorno:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;string&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Descripción: Convierte un número en texto&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historial de revisiones&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Autor:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;FLH&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Fecha&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Versión&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;15/07/2004&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.0 &amp;nbsp; Versión inicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_texto, ls_decimal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_numero, ls_billones, ls_millardo, ls_millones, ls_miles, ls_centenas&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Integer&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;li_for&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;dec&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ldec_residuo&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_txt_billon, ls_txt_millon, ls_txt_miles, ls_txt_un&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_txt_billones, ls_txt_millones, ls_txt_cien, ls_conjuncion, ls_and&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Boolean&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;lb_decimal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;lb_decimal = FALSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// Si tiene parte decimal ponemos &#39;con&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ldec_residuo = adc_numero - (truncate(adc_numero,0))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;if ldec_residuo &amp;gt;= 0.01 then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;adc_numero = truncate(adc_numero,0)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;lb_decimal = true&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// si tiene decimales SIEMPRE trataremos solo dos decimales&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ldec_residuo = Truncate((ldec_residuo * 100),0)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end if&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Choose case as_codidiom&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case &#39;ESPA&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_conjuncion = &#39;con&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_billon = &#39;billón&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_millon = &#39;millón&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_billones = &#39;billones&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_millones = &#39;millones&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_miles = &#39;mil&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_cien&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; = &#39;cien&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_un = &#39;un&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_and = &#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[1] &amp;nbsp;= &quot;uno&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[2] &amp;nbsp;= &quot;dos&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[3] &amp;nbsp;= &quot;tres&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[4] &amp;nbsp;= &quot;cuatro&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[5] &amp;nbsp;= &quot;cinco&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[6] &amp;nbsp;= &quot;seis&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[7] &amp;nbsp;= &quot;siete&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[8] &amp;nbsp;= &quot;ocho&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[9] &amp;nbsp;= &quot;nueve&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[10] = &quot;diez&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[11] = &quot;once&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[12] = &quot;doce&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[13] = &quot;trece&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[14] = &quot;catorce&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[15] = &quot;quince&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[16] = &quot;dieciseis&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[17] = &quot;diecisiete&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[18] = &quot;dieciocho&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[19] = &quot;diecinueve&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[20] = &quot;veinti&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[21] = &quot;treinta&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[22] = &quot;cuarenta&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[23] = &quot;cincuenta&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[24] = &quot;sesenta&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[25] = &quot;setenta&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[26] = &quot;ochenta&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[27] = &quot;noventa&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[29] = &quot;veinte&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Cargamos las centenas&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[1] = &#39;ciento&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[2] = &#39;doscientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[3] = &#39;trescientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[4] = &#39;cuatrocientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[5] = &#39;quinientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[6] = &#39;seicientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[7] = &#39;setecientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[8] = &#39;ochocientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[9] = &#39;novecientos&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case &#39;CATA&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_conjuncion = &#39;amb&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_billon = &#39;bilió&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_millon = &#39;milió&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_billones = &#39;bilions&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_millones = &#39;milions&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_miles = &#39;mil&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_cien&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; = &#39;cent&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_txt_un = &#39;un&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ls_and = &#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[1] &amp;nbsp;= &quot;u&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[2] &amp;nbsp;= &quot;dos&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[3] &amp;nbsp;= &quot;tres&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[4] &amp;nbsp;= &quot;quatre&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[5] &amp;nbsp;= &quot;cinc&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[6] &amp;nbsp;= &quot;sis&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[7] &amp;nbsp;= &quot;set&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[8] &amp;nbsp;= &quot;vuit&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[9] &amp;nbsp;= &quot;nou&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[10] = &quot;deu&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[11] = &quot;onze&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[12] = &quot;dotze&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[13] = &quot;tretze&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[14] = &quot;catorze&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[15] = &quot;quinze&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[16] = &quot;setze&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[17] = &quot;disset&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[18] = &quot;divuit&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[19] = &quot;dinou&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[20] = &quot;vint-i-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[21] = &quot;trenta-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[22] = &quot;quaranta-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[23] = &quot;cinquanta-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[24] = &quot;seixanta-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[25] = &quot;setanta-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[26] = &quot;vuitanta-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[27] = &quot;noranta-&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_cifra[29] = &quot;vint&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Cargamos las centenas&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[1] = &#39;cent&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[2] = &#39;dos-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[3] = &#39;tres-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[4] = &#39;quatre-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[5] = &#39;cinc-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[6] = &#39;sis-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[7] = &#39;set-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[8] = &#39;vuit-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;is_centenas[9] = &#39;nou-cents&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return &#39;No definido idioma &#39; + as_codidiom&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end choose&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_numero = String(adc_numero,&#39;000000000000000&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_billones = LEFT(ls_numero,3)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_millardo = MID(ls_numero,4,3)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_millones = MID(ls_numero,7,3)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_miles = MID(ls_numero,10,3)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_centenas = MID(ls_numero,13,3)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_texto = &#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;FOR li_for = 1 TO 5&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CHOOSE CASE li_for&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Construccion de los billones&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CHOOSE CASE Integer(ls_billones)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = ls_txt_un + &#39; &#39; + ls_txt_billon&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE is &amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = of_trio(ls_billones, as_codidiom) + &#39; &#39; + ls_txt_billones&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE 2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Construcción de los millardos&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CHOOSE CASE Integer(ls_millardo)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + ls_txt_miles&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE is &amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + of_trio(ls_millardo, as_codidiom) + &#39; &#39; + ls_txt_miles&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE 3&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Construcción de los millones&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CHOOSE CASE Integer(ls_millones)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + ls_txt_un + &#39; &#39; + ls_txt_millon&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE is &amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + of_trio(ls_millones, as_codidiom) + &#39; &#39; + ls_txt_millones&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE ELSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;// Si ha habido millardos pero no ha habido millones, ha&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;// de aparecer la palabra millones&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;if Integer(ls_millardo) &amp;gt; 0 then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + ls_txt_millones&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;end if&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE 4&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Construcción de los miles&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;CHOOSE CASE Integer(ls_miles)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + ls_txt_miles&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;CASE is &amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;ls_texto = ls_texto + &#39; &#39;+ of_trio(ls_miles, as_codidiom) + &#39; &#39; + ls_txt_miles&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;CASE 5&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Construcción de las centenas&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + of_trio(ls_centenas, as_codidiom)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;END CHOOSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;NEXT&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;if lb_decimal then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// Ponemos la parte decimal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ls_texto = ls_texto + &#39; &#39; + ls_conjuncion + &#39; &#39; + of_num2txt(ldec_residuo,as_codidiom)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end if&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_texto = of_GlobalReplace(ls_texto,&#39; &amp;nbsp;&#39;,&#39; &#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Return ls_texto&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;end function&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Una vez creado nuestro objeto solo tendremos que llamarlo de la siguiente forma&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ncst_num2txt lncst_num2txt&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Decimal ldec_numero, ls_idioma&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;String ls_texto&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_idioma = &#39;ESPA&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ldec_numero = 1234.56&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_texto = lncst_num2txt.of_num2txt(ldec_numero,ls_idioma)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;MessageBox(&quot;Num2Txt&quot; + String(ldec_numero) + &quot; en castellano&quot; ls_texto)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_idioma = &#39;CATA&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ls_texto = lncst_num2txt.of_num2txt(ldec_numero,ls_idioma)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;MessageBox(&quot;Num2Txt &quot; + String(ldec_numero) + &quot; en catalán&quot; ,ls_texto)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Espero que os sea&amp;nbsp;útil&lt;br /&gt;
&lt;br /&gt;
Por si lo&amp;nbsp;queréis&amp;nbsp;descargar, aquí&amp;nbsp;tenéis&amp;nbsp;el enlace....&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/55250694/ncst_num2txt.rar&quot;&gt;ncst_num2txt.rar&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/128754389386970196/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2011/10/pb-convertir-numero-en-letra.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/128754389386970196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/128754389386970196'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2011/10/pb-convertir-numero-en-letra.html' title='[PB] - Convertir Numero en Letra'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3286377949329059467.post-8984479391553911040</id><published>2011-10-11T22:32:00.000+02:00</published><updated>2011-10-15T13:17:59.554+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Presentacion"/><title type='text'>[INIT] - IDENTIFICATION DIVISION</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkojMILcWxww_cipl-mx_JF0jt2Buirr8lZMgHn1S5xuaAPNHqhWukGXjoBwiQERF8jOVhEmeDTY2Pc7uKrRZSACGPITfUdSKUlJVQdI6Dw4OzZinupXgSXkAx_W1UODcSBQuSYB8h-dHj/s1600/inicio.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkojMILcWxww_cipl-mx_JF0jt2Buirr8lZMgHn1S5xuaAPNHqhWukGXjoBwiQERF8jOVhEmeDTY2Pc7uKrRZSACGPITfUdSKUlJVQdI6Dw4OzZinupXgSXkAx_W1UODcSBQuSYB8h-dHj/s320/inicio.png&quot; width=&quot;293&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hola a todos:&lt;br /&gt;
&lt;br /&gt;
Creo que por fin, después de haber visto cientos de  blogs, páginas y sitios donde el hombre ha pasado jamas, me he decidido  a abrir este blog para compartir mis conocimientos con otras personas.&lt;br /&gt;
Tengo  muchas cosas que he ido aprendiendo a lo largo de estos años y van  siendo hora de empezar a guardarlas en un sitio para que otros lo puedan  consultar.&lt;br /&gt;
&lt;br /&gt;
La idea de este blog es compartir conocimientos en  programación en varios lenguajes de programación, así como intentar  hacer un punto de encuentro entre programadores sin ánimo de lucro.&lt;br /&gt;
&lt;br /&gt;
...  Si, ya sé que hay muchos sitios, y muy profesionales que hacen lo  mismo, no pienso imitarlos ni tan siquiera mejorarlos, simplemente... me  lo está pidiendo el cuerpo.&lt;br /&gt;
&lt;br /&gt;
Bueno, compañeros de aventuras, aquí empezamos y espero no terminar nunca.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;IDENTIFICATION DIVISION.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;PROGRAM-ID TrucosDeProgramacion.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;AUTHOR KurroSoft.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;INSTALLATION Blogspot.com.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;DATE-WRITTEN 2011-10-11.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;DATE-COMPILED 2011-10-11.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;REMARKS A disfrutar.
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Un saludo a todos&lt;br /&gt;
Francisco López&lt;br /&gt;
&lt;br /&gt;
P.D. El título es un homenaje a ese lenguaje de programación que le tuve mucho odio hace muchísimo tiempo&lt;div class=&quot;blogger-post-footer&quot;&gt;Colabora con nuestros patrocinadores...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kurro-software.blogspot.com/feeds/8984479391553911040/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://kurro-software.blogspot.com/2011/10/procedure-division.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8984479391553911040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3286377949329059467/posts/default/8984479391553911040'/><link rel='alternate' type='text/html' href='http://kurro-software.blogspot.com/2011/10/procedure-division.html' title='[INIT] - IDENTIFICATION DIVISION'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06047893905324185605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkojMILcWxww_cipl-mx_JF0jt2Buirr8lZMgHn1S5xuaAPNHqhWukGXjoBwiQERF8jOVhEmeDTY2Pc7uKrRZSACGPITfUdSKUlJVQdI6Dw4OzZinupXgSXkAx_W1UODcSBQuSYB8h-dHj/s72-c/inicio.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>