September 2007 - Posts
Bueno esto es una tontería para los más expertos, pero para gente que este empezando a trabajar con el visual stdio puede llevar un rato encontrar el como activar los números de linea del código que aparecen a la izquierda y que son muy útiles para la depuración.
Primero en la barra de menu ir a Herramientas, luego dentro de herramientas ir a opciones y te saldrá el siguiente cuadro de dialogo...

Dentro de esta ventana tienes que ir a Editor de Texto, luego Todos los lenguajes y finalmente tienes que seleccionar en Mostrar Números de línea.
Es una opción que inicialmente en mi visual studio 2005 venía desactivada y supongo que le habrá pasado a más gente. Esta es la razón principal del post. Espero que os sea útil.
________________________________________________________________________
IN ENGLISH ...
For the most experts this post has nonsense, but for the visual studio begginers could spend a while till find how swith on the option of display line numbers which appear at the left of the document which you are working and they are so usefull for debug.
First of all at the menu bar click Tools, then click options and the dialog box which is in this post picture will appear.In the dialog box you have to go to text editor, then to all languages and finally go to Show and check the line number option.
Is an option that in my visual studio 2005 was uncheck and I guess that it happens to more people, this is the main reason of this post. I hope it will be helpful.
sorry for my english
Aquí os dejo un link a una interesante noticia sobre como en Japón en ciertos puestos de trabajo ya hay robots en lugar de personas y como el envejecimiento de la población hace que cada vez se valore más esta opción y se esté investigando más.
http://www.20minutos.es/noticia/279808/0/japon/robots/ancianos/
Aquí otra noticia acerca de robots agricultores :
http://www.20minutos.es/noticia/278839/0/robots/recogen/fruta/
La verdad es que lo de los robots no está recién inventado, sin embargo cada vez salen con más frecuencia avances y cosas nuevas al respecto.
Algo con lo que se hace prácticas en la Universidad de Castilla la Mancha por ejemplo es programar los robots de la RoboCup (simulaciones), una forma entretenida :
http://es.wikipedia.org/wiki/Robocup
Sitio oficial Robocup: http://www.robocup.org/

Cuando leo / veo cosas así, además de la importancia que tiene la red de redes en cuanto a las comunicaciones actuales se refiere, creo que no me equivoqué escogiendo la carrera de informática, todo un mundo de posibilidades ante nosotros...
http://www.microsiervos.com/archivo/hackers/geeks-dominaran-el-mundo.html
Some days ago I told to a friend about my new blog, a "technical" one, If some one had told me some months ago about this I had smiled and had seen it imposible. Now my interest about te blog is growing up, even my post aren't to deep (I post almost all the things that I found in my way) I hope these post help someone.
Like labloguera.net is an open blog technical community and could apply to join us whatever person who wants share knowledge and his/her dairy with the technologies I told my friend Antonio that He should apply to get a blog.
He did and he has a new blog (in spanish)...
http://labloguera.net/blogs/vieja/default.aspx
godfather a blogger!! THAT The community grows up Continue!!
sorry for my english
En
Español ...
Hace un par de días le comentaba a mi amigo Antonio lo contento que estaba con mi blog nuevo, un blog "técnico", si me lo llegan a decir hace unos meses me habría reido y lo habría visto imposible. Ahora cada vez me pico más con el blog, y aunque mis aportaciones no son excesivamente profundas (ya que voy posteando casi cualquier cosilla con la que me voy topando) si que espero que le vaya sirviendo a alguien de ayuda.
Bueno pues partiendo de la base que la bloguera es una comunidad de blogs técnica a la que puede acceder cualquier persona con ganas de compartir sus conocimientos y su día a día con las nuevas tecnologías le dije a Antonio que se apuntara que somos unos cuantos los que publicamos por aquí y que estaría muy bien que compartiera sus conocimientos con nosotros.
Y ya tiene nuevo blog!!
http://labloguera.net/blogs/vieja/default.aspx
Perfil de Antonio .-
Ingeniero Técnico en Informática de Gestión (Facultad de Albacete, Castilla la Mancha ALBACETE RULES)
Rama Principal : Java
Actualmente : Trabajando en Inglaterra para un banco español.
Anécdotas :
Aprobó Cálculo de Ingeniería Informática en Albacete estudiando solo la noche de antes!!
Uno de los mejores jugadores de Praetorians a nivel mundial (hace un par de añetes)
Administrador de www.territorioenemigo.com
Vamos todo un crack!
Apadrina un blogger!! Que la comunidad siga creciendo!
Al próximo que me gustaría engañar que participará con nosotros es Ruben, también estudió en Albacete y bueno le encanta cualquier tipo de framework, le vuelve loco linux, y disfruta con la informática como un crio con una piruleta. Todo un GEEK en potencia.
First Vista told me that the protection data Manager of Vista had
closed the msn, I tried to give permisions to the msn, but It told me
that msn can not give permisions because is a microsoft program and It
has permisions. But where was the fucking error?
Almost I got crazy when I found the solution, just install a parse ...
Where I found the information (the link is in spanish) :
http://foros.emagister.com/tema-solucion_problema_dep_en_w_vista_y_no_dejar_ejecutar_messenger-13440-391945.htm
There are a link in the forum to one .exe, just download and exec it and your problems with the msn live will end.
The link to the .exe parse ...
www.acerpanam.com/synapse/data/7117/documents/eDSMSN81patch.exe
Sorry for my english
Error y solución en Windows Vista con el messenger en portatiles y equipos
Acer.
Primero
Vista me decía que el Gestor de protección de datos de windows vista me
cerraba la aplicación, entonces traté de darle permisos al messenger,
pero me decía que el messenger no se le pueden dar permisos, ya que
como es un programa de microsoft windows vista le dará permisos el
solito. Pero donde estaba el problema?
Casi me vuelvo loco, cuando finalmente encontré la solución, solo instalando un parche ...
Donde encontré la información:
http://foros.emagister.com/tema-solucion_problema_dep_en_w_vista_y_no_dejar_ejecutar_messenger-13440-391945.htm
Hay un enlace en el foro a un ejecutable, te lo bajas ejecutas y fin de los problemas, el msn live comienza a funcionar
El link al parche .exe :
www.acerpanam.com/synapse/data/7117/documents/eDSMSN81patch.exe
IN ENGLISH ...
In a web service which was working I had to change the .cs file because I had changed the code, and after change it in the iis when I called the webservice url, happens the error in line xx <connectionStrings/>
Finally I solved it changing the permisions of the folder in the IIS and giving all the permisions again less the examine permision. The problems of permisions usually give a lot of headhaches :D ...
sorry for my english
EN ESPAÑOL ...
Problemas publicando Web Service Error<connectionStrings/> en IIS
En un web service que estaba funcionando tenía que cambiar el archivo .cs ya que lo había modificado, y después de modificarlo al llamar a la url del web service que comenzó a salir el error en linea XX <connectionStrings/>
Al final lo solucioné cambiando los permisos de la carpeta en el IIS y volviendole a dar todos los permisos menos el de examinar. Los problemas de permisos, que suelen dar mucho quebraderos de cabeza.
ALGO CURIOSO que encontré mientras buscaba que podía estar pasando.
Como hacer un web service con el editor de notas, en elguille.net ...
http://www.elguille.info/NET/ASPNET/crearServicioWeb.aspx
Un link a un foro en el que se explica Como publicar un web service en el IIS:
http://www.baleareson.net/forums/t/183.aspx

Que no se enface ninguna mujer informática, no he puesto un hombre con el pantallazo porque no lo he encontrado, pero se que estais hay.
Espero que os haya gustado, PASAR UN BUEN LUNES!!
I hope You have liked it :D, HAVE A NICE MONDAY !!
Navegando me encontré :
Una mezcla de gañan y Calico Electrónico, les ha salido algo raro, te ries un poco pero tampoco es para hacer club de fans :D. EL GURU ANTICIPATOR :D
http://www.microsoft.com/spain/technet/guru/

La verdad es que tiene su puntillo, pero tampoco es gran cosa :D
Aunque es un añadido más a la cantidad de cosas que hacen al respecto, por ejemplo google no hace tanto a nivel universitario y a nivel profesional creo que tampoco.
Tenemos por ejemplo :
- Los Clubs .net
- Los University Tours
- Buscando un IT HEROE, el siguiente link es a un post que os explica mejor en que consiste el asunto, en España creo que esta campaña no está :
http://comunidadnetjuarez.org/blogs/comunidad/archive/2007/09/05/buscando-un-it-heroe.aspx
- La Imagine Cup, link a la pagina del equipo ganador del 2007 que fueron a participar a Corea, de Granada, buena gente ...
http://imaginecup.com/MyStuff/MyTeam.aspx?TeamID=6535
- Los MVP Most valuable profesional
- Los MVS Most Valuable student: http://student-partners.com/
Estos dos últimos son bastante parecidos una para profesionales y otro para estudiantes, concedidos debidos a la aportación individual a la comunidad de alguno de los productos de microsoft, gente que no trabaja para microsoft, una muy buena táctica ya que consigue que profesionales de IT le dediquen tiempo extra a la tecnología Microsoft, aunque en la mayoría de los casos es por progresar laboralmente o aumentar conocimientos, lo de MVP,MVS supone un PLUS DE MOTIVACIÓN.
y seguro que me dejo mil cosas por el camino. Si me encuentro algo interesante ya os iré comentando.
Después indagando un poquito más ...
Opinion acerca del marketing de microsoft en español :
http://www.jesusda.com/blog/index.php?id=97
Esta opinión es desde otro punto de vista, ya que por lo poco que he leido en su blog es muy linuxero :D.
La guerra Windows-Linux, la cantidad de discursiones que genera :D, yo por ahora me abstengo, al saber poco es mejor no opinar para no errar.
These days I am working with a webservice which has to work creating, deleting file and folders. In this post i will try to explain how I worked with the elements about File and folders which are in the .net framework.
About Files:
You can work with File or FileInfo both in System.IO . Since my point of view depending what do you need to do is better use one or another. File is for work with files in a quick way, just make an action and forget it, the most of the methods needs the url file and they return void, a quick action like :
File.AppendAllText("c:/error.txt",
"Text to add in the file error.txt");
This line create the file error.txt if it doesn't exist and append the text. there are more methods you can just look it in the VStudio's intellisense. And one advantage is that you don't need to create a File object to work with it, because is a static class.
And the second way FileInfo is maybe a better way if you will work more than once with the same file, if you need give it permissions, or do more than one action, because first you have to create the object:
FileInfo file = new FileInfo("UrlFILE");
and then you can make till I saw more or less the same actions than with File but without put the url each time.
With Directories is more or less the same
, the .net framework has Directory y DirectoryInfo
they have the same use than File and FileInfo, but with the differents with Files.
For example Directory.Copy doesn't Exist, so We had to make our own directory library, for example the Copy method is :
public void CopyDirectory(string url_source,string
url_destine,bool overwrite)
{
if(overwrite)
Directory.Delete(url_destine,true);
if(!Directory.Exists(url_destine))
Directory.CreateDirectory(url_destine);
string path_file_destine = string.Empty;
foreach (string file in Directory.GetFiles(url_source))
{
path_file_destine= url_destine+Path.GetFileName(file);
File.Copy(file, path_file_destine);
}
foreach (string
sub_dir in Directory.GetDirectories(url_source))
CopyDirectory(sub_dir+"/",
dir_Destino+Path.GetFileName(sub_dir)+"/",overwrite);
}
When you can't delete a Directory sometimes is because you are working with it, or another program is working with it or because some file or directory which is in the Directory has ReadOnly permissions, to change a file permissions:
File.SetAttributes("path_file", FileAttributes.Normal);
and for change the Attributes to a directory you need to use DirectoryInfo, it isn't in Directory
Sorry for my English
Luego cuando tenga un rato, lo pongo también en español.