<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Visual Studio / Visual Studio IDE</title><link>http://blogs.clearscreen.com/dtax/category/98.aspx</link><description>Visual Studio / Visual Studio IDE</description><managingEditor>Jesús Jiménez</managingEditor><dc:language>es-ES</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>Jesús Jiménez</dc:creator><title> TFS Code Comment Checking Policy (CCCP)</title><link>http://blogs.clearscreen.com/dtax/archive/2007/11/12/9749.aspx</link><pubDate>Mon, 12 Nov 2007 11:04:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2007/11/12/9749.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/9749.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2007/11/12/9749.aspx#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/9749.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/9749.aspx</trackback:ping><description>&lt;p&gt;I'm relatively new to Team Foundation Server, and I'm discovering a lot of community projects than are very useful for me a for my team when developing using TFS.&lt;/p&gt;
&lt;p&gt;One of the things I read about was the Checking Policies. In one of the last events we had in the Madrid .Net User Group, &lt;a href="http://www.lfraile.net/"&gt;Luis Fraile (MVP Team System)&lt;/a&gt;, talked us about VSTS extensibility, but I don't have enough experince with this environment to create my own policies.&lt;/p&gt;
&lt;p&gt;One thing I consider very important is that all code that are in the repository are commented out and browsing CodePlex I found &lt;a href="http://www.codeplex.com/TFSCCPolicy"&gt;CCCP ( TFS Code Comment Checking Policy)&lt;/a&gt;. It's a tiny application that installs smoothly and that allow the TFS Admin to add a policy that checks if the code is commented when a TFS User is checking-in some changes to the repository. It works for C# and VB and allow the administrator to select what items are going to be checked: class, methods, properties or by accessor: public, private or protected.&lt;/p&gt;
&lt;p&gt;I'm still testing it but it's a very good approach to ensure that all code of the repository has comments.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/9749.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>I'm relatively new to Team Foundation Server, and I'm discovering a lot of community projects than are very useful for me a for my team when developing using TFS.</p>
<p>One of the things I read about was the Checking Policies. In one of the last events we had in the Madrid .Net User Group, <a href="http://www.lfraile.net/">Luis Fraile (MVP Team System)</a>, talked us about VSTS extensibility, but I don't have enough experince with this environment to create my own policies.</p>
<p>One thing I consider very important is that all code that are in the repository are commented out and browsing CodePlex I found <a href="http://www.codeplex.com/TFSCCPolicy">CCCP ( TFS Code Comment Checking Policy)</a>. It's a tiny application that installs smoothly and that allow the TFS Admin to add a policy that checks if the code is commented when a TFS User is checking-in some changes to the repository. It works for C# and VB and allow the administrator to select what items are going to be checked: class, methods, properties or by accessor: public, private or protected.</p>
<p>I'm still testing it but it's a very good approach to ensure that all code of the repository has comments.<br /></p>
<p> </p><img src ="http://blogs.clearscreen.com/dtax/aggbug/9749.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>Resharper 2.0 is Out !!</title><link>http://blogs.clearscreen.com/dtax/archive/2006/05/31/3054.aspx</link><pubDate>Wed, 31 May 2006 15:09:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2006/05/31/3054.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/3054.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2006/05/31/3054.aspx#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/3054.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/3054.aspx</trackback:ping><description>&lt;p&gt;I know that I've stayed off for a long time, and probably I'll stay some time more. I've a lot things to do and the blogsphere isn't one of my principal purposes. Reading that you'll think "And.. Why is he posting now???" My reply to this question is that Resharper 2.0 is now out.. I've just read it at &lt;a href="http://www.jetbrains.com/resharper/"&gt;jetbrain's web&lt;/a&gt; and I got excited.. &lt;/p&gt;
&lt;p&gt;For those who didn't know what Resharper is, it's a Visual Studio Addin that increases  your productivity by adding a lot of features to Visual Studio. Error Highlighting and Quick-Fixes, Advanced Coding Assistance, Numerous Refeactorings, Navigation And Search, Unit Testing, ASP.Net Editing, NAnt and MS Build Scripts Editing...&lt;/p&gt;
&lt;p&gt;I'm going to test Resharper 2.0 VS2003 version and I'll write here my  opinion in few days.&lt;/p&gt;
&lt;p&gt;Remember: &lt;a href="http://www.jetbrains.com/resharper"&gt;Resharper Homepage&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/3054.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>I know that I've stayed off for a long time, and probably I'll stay some time more. I've a lot things to do and the blogsphere isn't one of my principal purposes. Reading that you'll think "And.. Why is he posting now???" My reply to this question is that Resharper 2.0 is now out.. I've just read it at <a href="http://www.jetbrains.com/resharper/">jetbrain's web</a> and I got excited.. </p>
<p>For those who didn't know what Resharper is, it's a Visual Studio Addin that increases  your productivity by adding a lot of features to Visual Studio. Error Highlighting and Quick-Fixes, Advanced Coding Assistance, Numerous Refeactorings, Navigation And Search, Unit Testing, ASP.Net Editing, NAnt and MS Build Scripts Editing...</p>
<p>I'm going to test Resharper 2.0 VS2003 version and I'll write here my  opinion in few days.</p>
<p>Remember: <a href="http://www.jetbrains.com/resharper">Resharper Homepage</a><br /></p><img src ="http://blogs.clearscreen.com/dtax/aggbug/3054.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>T-SQL intellisense with Sql Assist</title><link>http://blogs.clearscreen.com/dtax/archive/2006/02/03/2752.aspx</link><pubDate>Fri, 03 Feb 2006 21:37:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2006/02/03/2752.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/2752.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2006/02/03/2752.aspx#Feedback</comments><slash:comments>32</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/2752.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/2752.aspx</trackback:ping><description>&lt;p&gt;How many of you writes SQL Queries against SQL Server every day at work?&lt;br /&gt;How many of you doesn't remember exactly the type, length, or even the name of a column when writing T-SQL queries?&lt;br /&gt;How many of you haven't ever said 'Why intellisense isn't implemented in SQL Query Analyzer'?&lt;/p&gt;
&lt;p&gt;While I was reading some outdated posts in my RSS Bandit I found a tool that answers all the questions before. It's called SqlAssist and it seems that it will be one of my 'must to have' tools for working every day. Usually I use to use Visual Studio for all my development tasks and I love shortcut keys and intellisense. I think it reduces the amount of time I spend coding every day. Because that the starting questions of this post are in my mind when I'm working with database issues, coding stored procedures, triggers or just a simple query.&lt;/p&gt;
&lt;p&gt;I don't like to write anything about things I haven't tested myself, so I downladed SqlAssist and I tried it. First of all, I haven't metioned that SqlAssist it's a Visual Studio 2003/2005 Add-in that has capabilities such: Run scripts in multiple databases, Insert T-SQL Templates, T-SQL Intellisense, Format T-SQL queries and a bunch of other cool features that I haven't used and I hope to discover early.&lt;/p&gt;
&lt;p&gt;One of the coolest features of this product is Intellisense, at least for me. As I said before, sometimes I can't remember the types or names of the columns and I'm sure that this feature will make me save a lot of time. Imagine that you're writing just a simple query, you type "SELECT * FROM" and Viola! you press Ctrl+J (I haven't reassigned Ctrl+Space to ListMembers feature yet, so I'm using Ctrl+J) and it displays a list with all members, tables, views, stored procedures, all that you need to write a query.&lt;br /&gt;&lt;br /&gt;&lt;img src="/dtax/files/SqlAssist_Screenshot_01.gif" tooltip="Sql Assist" /&gt;&lt;br /&gt;1.- Sql Assist intellisense.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you write a table's name and hit the dot key it works like Visual Studio, all members that belongs to the table will appear showing info of the member too, I mean, if you write Employees.Something, "Something" is showed with his properties such as data column type, length, allow nulls, etc..&lt;br /&gt;&lt;br /&gt;&lt;img src="/dtax/files/SqlAssist_Screenshot_02.gif" tooltip="Sql Assist" /&gt;&lt;br /&gt;2.- Sql Assist intellisense show columns with their names and properties.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You also can execute queries pressing F5 and get the results in the SQL Output window. And you can insert T-SQL code using the Insert Template feature.&lt;br /&gt;&lt;br /&gt;&lt;img src="/dtax/files/SqlAssist_Screenshot_03.gif" tooltip="Sql Assist" /&gt;&lt;br /&gt;3.- Sql Assist formated query, SQL Output of executed query and insert template dialog. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Sql Assist also includes inline help for stored procedures, system functions and user functions.&lt;br /&gt;&lt;br /&gt;&lt;img src="/dtax/files/SqlAssist_Screenshot_04.gif" tooltip="Sql Assist" /&gt;&lt;br /&gt;4.- Inline help.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you can see it's a cool Add-in for Visual Studio. I highly recommend you to install it if you work querying SQL Server databases and development with Visual Studio. This way it's all in the same environment and you won't speend time switching from one window to another.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Related links:&lt;br /&gt;&lt;a href="http://www.roundpolygons.com/"&gt;Round Polygons Web site (Makers of SqlAssist)&lt;/a&gt;&lt;br /&gt;Sql Assist download for &lt;a href="http://www.roundpolygons.com/sqlassistversion/SqlAssistVS2003Setup.msi"&gt;Visual Studio 2003&lt;/a&gt; and &lt;a href="http://www.roundpolygons.com/sqlassistversion/SqlAssistVS2005Setup.msi"&gt;Visual Studio 2005&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.roundpolygons.com/Documentation/tabid/96/Default.aspx"&gt;Sql Assist documentation&lt;/a&gt;&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/2752.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>How many of you writes SQL Queries against SQL Server every day at work?<br />How many of you doesn't remember exactly the type, length, or even the name of a column when writing T-SQL queries?<br />How many of you haven't ever said 'Why intellisense isn't implemented in SQL Query Analyzer'?</p>
<p>While I was reading some outdated posts in my RSS Bandit I found a tool that answers all the questions before. It's called SqlAssist and it seems that it will be one of my 'must to have' tools for working every day. Usually I use to use Visual Studio for all my development tasks and I love shortcut keys and intellisense. I think it reduces the amount of time I spend coding every day. Because that the starting questions of this post are in my mind when I'm working with database issues, coding stored procedures, triggers or just a simple query.</p>
<p>I don't like to write anything about things I haven't tested myself, so I downladed SqlAssist and I tried it. First of all, I haven't metioned that SqlAssist it's a Visual Studio 2003/2005 Add-in that has capabilities such: Run scripts in multiple databases, Insert T-SQL Templates, T-SQL Intellisense, Format T-SQL queries and a bunch of other cool features that I haven't used and I hope to discover early.</p>
<p>One of the coolest features of this product is Intellisense, at least for me. As I said before, sometimes I can't remember the types or names of the columns and I'm sure that this feature will make me save a lot of time. Imagine that you're writing just a simple query, you type "SELECT * FROM" and Viola! you press Ctrl+J (I haven't reassigned Ctrl+Space to ListMembers feature yet, so I'm using Ctrl+J) and it displays a list with all members, tables, views, stored procedures, all that you need to write a query.<br /><br /><img src="/dtax/files/SqlAssist_Screenshot_01.gif" tooltip="Sql Assist" /><br />1.- Sql Assist intellisense.<br /><br /><br />If you write a table's name and hit the dot key it works like Visual Studio, all members that belongs to the table will appear showing info of the member too, I mean, if you write Employees.Something, "Something" is showed with his properties such as data column type, length, allow nulls, etc..<br /><br /><img src="/dtax/files/SqlAssist_Screenshot_02.gif" tooltip="Sql Assist" /><br />2.- Sql Assist intellisense show columns with their names and properties.<br /><br /><br />You also can execute queries pressing F5 and get the results in the SQL Output window. And you can insert T-SQL code using the Insert Template feature.<br /><br /><img src="/dtax/files/SqlAssist_Screenshot_03.gif" tooltip="Sql Assist" /><br />3.- Sql Assist formated query, SQL Output of executed query and insert template dialog. </p>
<p><br />Sql Assist also includes inline help for stored procedures, system functions and user functions.<br /><br /><img src="/dtax/files/SqlAssist_Screenshot_04.gif" tooltip="Sql Assist" /><br />4.- Inline help.<br /><br /><br />As you can see it's a cool Add-in for Visual Studio. I highly recommend you to install it if you work querying SQL Server databases and development with Visual Studio. This way it's all in the same environment and you won't speend time switching from one window to another.<br /><br /><br /><br />Related links:<br /><a href="http://www.roundpolygons.com/">Round Polygons Web site (Makers of SqlAssist)</a><br />Sql Assist download for <a href="http://www.roundpolygons.com/sqlassistversion/SqlAssistVS2003Setup.msi">Visual Studio 2003</a> and <a href="http://www.roundpolygons.com/sqlassistversion/SqlAssistVS2005Setup.msi">Visual Studio 2005</a><br /><a href="http://www.roundpolygons.com/Documentation/tabid/96/Default.aspx">Sql Assist documentation</a></p><img src ="http://blogs.clearscreen.com/dtax/aggbug/2752.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>Can't reset Visual Studio 2005 Settings</title><link>http://blogs.clearscreen.com/dtax/archive/2005/11/21/2568.aspx</link><pubDate>Mon, 21 Nov 2005 01:12:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2005/11/21/2568.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/2568.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2005/11/21/2568.aspx#Feedback</comments><slash:comments>52</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/2568.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/2568.aspx</trackback:ping><description>&lt;p&gt;I installed almost all betas that Microsoft publish of Visual Studio 2005 and when I installed the final version some of the IDE settings were broken such as  "&lt;em&gt;keyborad settings&lt;/em&gt;".&lt;br /&gt;&lt;br /&gt;Using "&lt;em&gt;Import and Export settings&lt;/em&gt;" from the Tools menu we can reset the IDE settings of our environment. As I said before I installed all the previous versions and I think they leave some corrupt or unrecognizable settings that the final version can read. Becuase that when I try to reset the settings of my environment this message was thrown :&lt;br /&gt;&lt;br /&gt;&lt;font color="#ff0000"&gt;&lt;em&gt;Your settings were reset, but there were some errors.&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;&lt;em&gt;Error 1:  Reset was interrupted by the user.&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;In my case means that the keyboard settings weren't reseted and they still empty. I searched for an answer to my problem and finally I find it in the &lt;a href="http://forums.microsoft.com/msdn/"&gt;MSDN Forums&lt;/a&gt;. The solution that works for me was to &lt;font color="#008000"&gt;delete the contents of C:\Documents and Settings\&amp;lt;* user *&amp;gt;\Application Data\Microsoft\VisualStudio\8.0&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I hope it helps!&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/2568.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>I installed almost all betas that Microsoft publish of Visual Studio 2005 and when I installed the final version some of the IDE settings were broken such as  "<em>keyborad settings</em>".<br /><br />Using "<em>Import and Export settings</em>" from the Tools menu we can reset the IDE settings of our environment. As I said before I installed all the previous versions and I think they leave some corrupt or unrecognizable settings that the final version can read. Becuase that when I try to reset the settings of my environment this message was thrown :<br /><br /><font color="#ff0000"><em>Your settings were reset, but there were some errors.</em></font></p>
<p><font color="#ff0000"><em>Error 1:  Reset was interrupted by the user.</em></font></p>
<p>In my case means that the keyboard settings weren't reseted and they still empty. I searched for an answer to my problem and finally I find it in the <a href="http://forums.microsoft.com/msdn/">MSDN Forums</a>. The solution that works for me was to <font color="#008000">delete the contents of C:\Documents and Settings\&lt;* user *&gt;\Application Data\Microsoft\VisualStudio\8.0</font></p>
<p>I hope it helps!</p><img src ="http://blogs.clearscreen.com/dtax/aggbug/2568.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>Consuming Web Services with NeoSwiff (C# to Flash Compiler)</title><link>http://blogs.clearscreen.com/dtax/archive/2005/10/01/2456.aspx</link><pubDate>Sat, 01 Oct 2005 18:54:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2005/10/01/2456.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/2456.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2005/10/01/2456.aspx#Feedback</comments><slash:comments>50</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/2456.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/2456.aspx</trackback:ping><description>&lt;p&gt;I’ve retaken the C# to Flash addin and compiler, NeoSwiff, and although this compiler stills in beta I’ve learned few things that can help you if you are looking for information about this issue. &lt;/p&gt;
&lt;p&gt;1.- The UI.&lt;/p&gt;
&lt;p&gt;This addin doesn’t provide an UI designer as Visual Studio that has for their WinForms applications. I don’t remember where I read a tip for creating the NeoSwiiff applications UI. The tip consists in creating all the UI with the WinForms UI designer, because that we may have a WinForms project into our NeoSwiff solution.&lt;/p&gt;
&lt;p&gt;Just copy all the declarations and definitions of all controls that the designer has created in the codebehind of your form and paste it into the .ccs NeoSwiff file. The way that NeoSwiif uses for rendering the controls is the same that WinForms and this is because this works and it will help us a lot. &lt;/p&gt;
&lt;p&gt;We can also create the events of the form’s buttons clicking twice, like ever, and copy the declaration of the events too. Really we ever write this, the designers do this work for us. &lt;/p&gt;
&lt;p&gt;The rest of the application’s development should be as you use to do it, but in NeoSwiff we have less classes than in .Net Framework.&lt;br /&gt;Testing the beta environment I’ve developed a tiny application that connects to a Web Service using System.Net.XmlRequest class, as the NeoSwiff guys teach me to do, and generates a request with a ISBN code and retrieve the book information via Web Service. &lt;/p&gt;
&lt;p&gt;The application is just a sample on how to use this great tool and how give better user-experience to the user.&lt;br /&gt;&lt;br /&gt;I talked with the guys from NeoSwiff and I asked about the implementation of Web Services without System.Web.Service that isn't implemented in their framework. They tell that I can use System.Net.WebRequest or System.Net.XmlRequest for my purposes. I know that parse the XML from a request isn't the more elegant way to do that but at the moment is the only way.&lt;/p&gt;
&lt;p&gt;I created my XmlRequest and the hadler that will handle the request state:&lt;/p&gt;&lt;pre&gt;XmlRequest oReq= &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;new&lt;/span&gt; XmlRequest();
oReq.StateChanged += &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;new&lt;/span&gt; EventHandler(OnStateChanged);
   
&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;bool&lt;/span&gt; bResult= oReq.Start(&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #ededed"&gt;"http://www.webservicex.net/isbn.asmx/GetISBNInformation?Code="&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;+&lt;/span&gt; tbISBN.Text);&lt;/pre&gt;&lt;pre&gt;Then when the request starts I check if the state is:&lt;/pre&gt;&lt;pre&gt;XmlRequestState.Success&lt;/pre&gt;
&lt;p&gt;And finally I parsed the Xml of the response. As I said before this isn't a complex example, only just request and parse the respone.&lt;/p&gt;
&lt;p&gt;You can test ISBN Lookup App &lt;a href="http://blogs.clearscreen.com/dtax/files/isbn_lookup.html"&gt;HERE&lt;/a&gt; and download the source code &lt;a href="http://blogs.clearscreen.com/dtax/files/isbn_lookup_solution.zip"&gt;HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And now some links:&lt;br /&gt;&lt;a href="http://www.webservicex.net/isbn.asmx"&gt;ISBN &amp;amp; EAN WebService&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.globfx.com/products/neoswiff/"&gt;NeoSwiff Home page&lt;/a&gt;&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/2456.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>I’ve retaken the C# to Flash addin and compiler, NeoSwiff, and although this compiler stills in beta I’ve learned few things that can help you if you are looking for information about this issue. </p>
<p>1.- The UI.</p>
<p>This addin doesn’t provide an UI designer as Visual Studio that has for their WinForms applications. I don’t remember where I read a tip for creating the NeoSwiiff applications UI. The tip consists in creating all the UI with the WinForms UI designer, because that we may have a WinForms project into our NeoSwiff solution.</p>
<p>Just copy all the declarations and definitions of all controls that the designer has created in the codebehind of your form and paste it into the .ccs NeoSwiff file. The way that NeoSwiif uses for rendering the controls is the same that WinForms and this is because this works and it will help us a lot. </p>
<p>We can also create the events of the form’s buttons clicking twice, like ever, and copy the declaration of the events too. Really we ever write this, the designers do this work for us. </p>
<p>The rest of the application’s development should be as you use to do it, but in NeoSwiff we have less classes than in .Net Framework.<br />Testing the beta environment I’ve developed a tiny application that connects to a Web Service using System.Net.XmlRequest class, as the NeoSwiff guys teach me to do, and generates a request with a ISBN code and retrieve the book information via Web Service. </p>
<p>The application is just a sample on how to use this great tool and how give better user-experience to the user.<br /><br />I talked with the guys from NeoSwiff and I asked about the implementation of Web Services without System.Web.Service that isn't implemented in their framework. They tell that I can use System.Net.WebRequest or System.Net.XmlRequest for my purposes. I know that parse the XML from a request isn't the more elegant way to do that but at the moment is the only way.</p>
<p>I created my XmlRequest and the hadler that will handle the request state:</p><pre>XmlRequest oReq= <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white">new</span> XmlRequest();
oReq.StateChanged += <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white">new</span> EventHandler(OnStateChanged);
   
<span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white">bool</span> bResult= oReq.Start(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #ededed">"http://www.webservicex.net/isbn.asmx/GetISBNInformation?Code="</span> <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white">+</span> tbISBN.Text);</pre><pre>Then when the request starts I check if the state is:</pre><pre>XmlRequestState.Success</pre>
<p>And finally I parsed the Xml of the response. As I said before this isn't a complex example, only just request and parse the respone.</p>
<p>You can test ISBN Lookup App <a href="http://blogs.clearscreen.com/dtax/files/isbn_lookup.html">HERE</a> and download the source code <a href="http://blogs.clearscreen.com/dtax/files/isbn_lookup_solution.zip">HERE</a><br /><br />And now some links:<br /><a href="http://www.webservicex.net/isbn.asmx">ISBN &amp; EAN WebService</a><br /><a href="http://www.globfx.com/products/neoswiff/">NeoSwiff Home page</a></p><img src ="http://blogs.clearscreen.com/dtax/aggbug/2456.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>C# to Flash (SWF)</title><link>http://blogs.clearscreen.com/dtax/archive/2005/09/06/2403.aspx</link><pubDate>Tue, 06 Sep 2005 15:43:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2005/09/06/2403.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/2403.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2005/09/06/2403.aspx#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/2403.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/2403.aspx</trackback:ping><description>&lt;p&gt;Some time ago I read about a C# compiler that outputs a SWF movie writing C# code. This product is a Visual Studio Addin that uses this compiler and creates new prject types.This issue surprised me and I'm trying to do some SWF application whit this addin.&lt;/p&gt;
&lt;p&gt;The addin that I'm talking about is called &lt;a href="http://www.globfx.com/products/neoswiff/"&gt;Neoswiff&lt;/a&gt; and it stills in beta.&lt;br /&gt;&lt;br /&gt;I hope I can post soon here the code to show you how to work with this compiler.&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/2403.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>Some time ago I read about a C# compiler that outputs a SWF movie writing C# code. This product is a Visual Studio Addin that uses this compiler and creates new prject types.This issue surprised me and I'm trying to do some SWF application whit this addin.</p>
<p>The addin that I'm talking about is called <a href="http://www.globfx.com/products/neoswiff/">Neoswiff</a> and it stills in beta.<br /><br />I hope I can post soon here the code to show you how to work with this compiler.</p><img src ="http://blogs.clearscreen.com/dtax/aggbug/2403.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>Desinstalando versiones anteriores de Visual Studio 2005</title><link>http://blogs.clearscreen.com/dtax/archive/2005/07/15/2202.aspx</link><pubDate>Fri, 15 Jul 2005 10:10:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2005/07/15/2202.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/2202.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2005/07/15/2202.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/2202.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/2202.aspx</trackback:ping><description>&lt;p&gt;Navegando por la MSDN he llegado hasta &lt;a href="http://lab.msdn.microsoft.com/vs2005/uninstall/"&gt;esta página&lt;/a&gt; donde explica como desinstalar versiones de Visual Studio 2005 anteriores para hacer una instalación limpia de la Beta 2.&lt;br /&gt;&lt;br /&gt;Además nos ofrecen &lt;a href="http://go.microsoft.com/fwlink/?linkid=47065"&gt;esta utilidad&lt;/a&gt; que nos facilitara el proceso.&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/2202.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>Navegando por la MSDN he llegado hasta <a href="http://lab.msdn.microsoft.com/vs2005/uninstall/">esta página</a> donde explica como desinstalar versiones de Visual Studio 2005 anteriores para hacer una instalación limpia de la Beta 2.<br /><br />Además nos ofrecen <a href="http://go.microsoft.com/fwlink/?linkid=47065">esta utilidad</a> que nos facilitara el proceso.</p><img src ="http://blogs.clearscreen.com/dtax/aggbug/2202.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>¿Cuanto sabes de Visual Studio 2005 y SQL Server 2005?</title><link>http://blogs.clearscreen.com/dtax/archive/2005/06/08/1873.aspx</link><pubDate>Wed, 08 Jun 2005 12:47:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2005/06/08/1873.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/1873.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2005/06/08/1873.aspx#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/1873.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/1873.aspx</trackback:ping><description>&lt;p&gt;Ayer vi que en la MSDN, en el apartado de Learning, hay una serie de tests para medir tu conocimiento sobre distintas materias. Estos tests son clavados (en estilo) a las certificaciones y aparte de tests sobre Windows XP, Windows 2003, SQL Server, Exchange Server, Seguridad, Visual Studio 2003 y otros temas, curiosamente hay de &lt;a href="http://assessment.learning.microsoft.com/test/home.asp#15"&gt;Visual Studio 2005&lt;/a&gt;  con dos tests y de &lt;a href="http://assessment.learning.microsoft.com/test/home.asp#14"&gt;SQL Server 2005&lt;/a&gt; con tres tests.&lt;br /&gt;&lt;br /&gt;· What's New in Microsoft® Visual Studio® 2005&lt;br /&gt;· What's New in ASP.NET 2.0&lt;br /&gt;· Introducing Microsoft® SQL Server™ 2005 for Database Administrators&lt;br /&gt;· Introducing Microsoft® SQL Server™ 2005 for Database Developers&lt;br /&gt;· Introducing Microsoft® SQL Server™ 2005 for Business Intelligence Developers&lt;br /&gt;&lt;br /&gt;Yo hice el de ASP.NET 2.0 y saque un mediocre 60%, aunque teniendo en cuenta que aún no me he peleado en un proyecto real con esta tecnología no esta nada mal. Lo que me parecio bastante bien es que hacen "estudio" personalizado de que deberias reforzar según tu resultado del test y te indican que MOCs incluyen el temario que necesitas.&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/1873.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>Ayer vi que en la MSDN, en el apartado de Learning, hay una serie de tests para medir tu conocimiento sobre distintas materias. Estos tests son clavados (en estilo) a las certificaciones y aparte de tests sobre Windows XP, Windows 2003, SQL Server, Exchange Server, Seguridad, Visual Studio 2003 y otros temas, curiosamente hay de <a href="http://assessment.learning.microsoft.com/test/home.asp#15">Visual Studio 2005</a>  con dos tests y de <a href="http://assessment.learning.microsoft.com/test/home.asp#14">SQL Server 2005</a> con tres tests.<br /><br />· What's New in Microsoft® Visual Studio® 2005<br />· What's New in ASP.NET 2.0<br />· Introducing Microsoft® SQL Server™ 2005 for Database Administrators<br />· Introducing Microsoft® SQL Server™ 2005 for Database Developers<br />· Introducing Microsoft® SQL Server™ 2005 for Business Intelligence Developers<br /><br />Yo hice el de ASP.NET 2.0 y saque un mediocre 60%, aunque teniendo en cuenta que aún no me he peleado en un proyecto real con esta tecnología no esta nada mal. Lo que me parecio bastante bien es que hacen "estudio" personalizado de que deberias reforzar según tu resultado del test y te indican que MOCs incluyen el temario que necesitas.</p><img src ="http://blogs.clearscreen.com/dtax/aggbug/1873.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>$exception en Visual Studio 2003 </title><link>http://blogs.clearscreen.com/dtax/archive/2005/04/12/1357.aspx</link><pubDate>Tue, 12 Apr 2005 23:12:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2005/04/12/1357.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/1357.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2005/04/12/1357.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/1357.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/1357.aspx</trackback:ping><description>&lt;p&gt;Usualmente no suelo programar en entornos Winforms y es por eso por lo que hago este post.&lt;/p&gt;
&lt;p&gt;Imaginad que estáis depurando la aplicación que estáis desarrollando y Ooopss !!, una excepción !!, yo automáticamente, por inercia cierro la ventana que nos sale con el error pero como es un acto reflejo no he leido la excepción que habia saltado. Antes hubiera llegado hasta el mismo punto donde se produjo la excepción y hubiera prestado mas atención a la ventanita o hubiera puesto un Try Catch para capturar el error y ver que pasaba.&lt;/p&gt;
&lt;p&gt;Gracias a un post de &lt;a href="https://blogs.msdn.com/shaykatc/default.aspx"&gt;Shaykatc&lt;/a&gt; he descubierto $exception, que es una funcionalidad que añadieron en Visual Studio 2003. Lo único que hace $exception es capturar la excepción que ha saltado y guardarla en la ventana de debug Locals donde se puede averiguar todo lo que queramos de la excepción, el Message, la InnerException, el Source..&lt;/p&gt;
&lt;p&gt;Espero que ha alguno al menos le evite tener que lanzar la aplicación de nuevo sin saber que pasó la ultima vez. ;-)&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/1357.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>Usualmente no suelo programar en entornos Winforms y es por eso por lo que hago este post.</p>
<p>Imaginad que estáis depurando la aplicación que estáis desarrollando y Ooopss !!, una excepción !!, yo automáticamente, por inercia cierro la ventana que nos sale con el error pero como es un acto reflejo no he leido la excepción que habia saltado. Antes hubiera llegado hasta el mismo punto donde se produjo la excepción y hubiera prestado mas atención a la ventanita o hubiera puesto un Try Catch para capturar el error y ver que pasaba.</p>
<p>Gracias a un post de <a href="https://blogs.msdn.com/shaykatc/default.aspx">Shaykatc</a> he descubierto $exception, que es una funcionalidad que añadieron en Visual Studio 2003. Lo único que hace $exception es capturar la excepción que ha saltado y guardarla en la ventana de debug Locals donde se puede averiguar todo lo que queramos de la excepción, el Message, la InnerException, el Source..</p>
<p>Espero que ha alguno al menos le evite tener que lanzar la aplicación de nuevo sin saber que pasó la ultima vez. ;-)</p><img src ="http://blogs.clearscreen.com/dtax/aggbug/1357.aspx" width = "1" height = "1" /></body></item><item><dc:creator>Jesús Jiménez</dc:creator><title>Selección a medida en Visual Studio 2003 / 2005</title><link>http://blogs.clearscreen.com/dtax/archive/2005/03/17/1166.aspx</link><pubDate>Thu, 17 Mar 2005 00:47:00 GMT</pubDate><guid>http://blogs.clearscreen.com/dtax/archive/2005/03/17/1166.aspx</guid><wfw:comment>http://blogs.clearscreen.com/dtax/comments/1166.aspx</wfw:comment><comments>http://blogs.clearscreen.com/dtax/archive/2005/03/17/1166.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blogs.clearscreen.com/dtax/comments/commentRss/1166.aspx</wfw:commentRss><trackback:ping>http://blogs.clearscreen.com/dtax/services/trackbacks/1166.aspx</trackback:ping><description>&lt;p&gt;A la hora de programar siempre hay tareas que pueden llegar a ser muy pesadas, muchas veces se corta y se pega (mas de lo que se debería). &lt;/p&gt;
&lt;p&gt;Pues bien hoy he descubierto un pequeño truquillo en Visual Studio 2003, Visual Studio 2005 y parece que aplicable a todas las herramientas que usan el IDE de Office, ya que he probado con Word y también va, que puede servir de ayuda a la hora de hacer este tipo de cosas.&lt;/p&gt;
&lt;p&gt;Todo consiste en mantener pulsada la tecla ALT mientras seleccionamos el texto que queramos y obtendremos el mismo resultado que cuando desde Windows queremos seleccionar varios archivos.&lt;br /&gt;&lt;br /&gt;&lt;img src="/dtax/files/rectangle_select.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;Espero que esto sirva de ayuda  alguien, ya no solo a la hora de programar sino a la de usar Word o alguna aplicación del paquete de Office.&lt;/p&gt;&lt;img src ="http://blogs.clearscreen.com/dtax/aggbug/1166.aspx" width = "1" height = "1" /&gt;</description><body xmlns="http://www.w3.org/1999/xhtml"><p>A la hora de programar siempre hay tareas que pueden llegar a ser muy pesadas, muchas veces se corta y se pega (mas de lo que se debería). </p>
<p>Pues bien hoy he descubierto un pequeño truquillo en Visual Studio 2003, Visual Studio 2005 y parece que aplicable a todas las herramientas que usan el IDE de Office, ya que he probado con Word y también va, que puede servir de ayuda a la hora de hacer este tipo de cosas.</p>
<p>Todo consiste en mantener pulsada la tecla ALT mientras seleccionamos el texto que queramos y obtendremos el mismo resultado que cuando desde Windows queremos seleccionar varios archivos.<br /><br /><img src="/dtax/files/rectangle_select.JPG" /><br /><br />Espero que esto sirva de ayuda  alguien, ya no solo a la hora de programar sino a la de usar Word o alguna aplicación del paquete de Office.</p><img src ="http://blogs.clearscreen.com/dtax/aggbug/1166.aspx" width = "1" height = "1" /></body></item></channel></rss>