<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from ASP to ASP.NET</title><link>http://forums.asp.net/29.aspx</link><description>Discuss moving from classic ASP to ASP.NET. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Migrating VB 6 to VB Net</title><link>http://forums.asp.net/thread/3255142.aspx</link><pubDate>Wed, 24 Jun 2009 11:40:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3255142</guid><dc:creator>paudstuff</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3255142.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=29&amp;PostID=3255142</wfw:commentRss><description>&lt;p&gt;We found that migration from vb to .net was made simple by the use of software we found on the web.&lt;/p&gt;&lt;p&gt;The best site is probably www.newcode.com, they offer a free trial and assessment so you know what you need before you have to buy.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Migrating VB 6 to VB Net</title><link>http://forums.asp.net/thread/2426663.aspx</link><pubDate>Mon, 16 Jun 2008 20:32:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2426663</guid><dc:creator>cathal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2426663.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=29&amp;PostID=2426663</wfw:commentRss><description>&lt;p&gt;one of the vb.net forums @ &lt;a href="http://forums.msdn.microsoft.com/en/Forums/"&gt;http://forums.msdn.microsoft.com/en/Forums/&lt;/a&gt;&amp;nbsp;is probably a better option, there are some excellent commercial tools out there such as those @ &lt;a href="http://www.vbmigration.com/"&gt;http://www.vbmigration.com/&lt;/a&gt;&amp;nbsp;(they also blogged about a free analyzer @ &lt;a href="http://www.vbmigration.com/Blog/post/2008/06/VB6-Bulk-Analyzer%2c-a-command-line-tool-to-explore-multiple-VB-projects.aspx"&gt;http://www.vbmigration.com/Blog/post/2008/06/VB6-Bulk-Analyzer%2c-a-command-line-tool-to-explore-multiple-VB-projects.aspx&lt;/a&gt;&amp;nbsp;that might be worth a look)&lt;/p&gt;
&lt;p&gt;As for the &amp;quot;free&amp;quot; tools, if you&amp;#39;re running vs.net 2005/vs.net 2008, the following should get you there with a bit of effort:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1 style="MARGIN:12pt 0cm 3pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="5"&gt;Tools required&lt;/font&gt;&lt;/span&gt;&lt;/h1&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Mandatory&lt;/font&gt;&lt;/p&gt;
&lt;ul style="MARGIN-TOP:0cm;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Visual Basic 6 (usually installed as part of Visual studio)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Visual Basic 2005 (usually installed as part of visual studio 2005) &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Recommended&lt;/font&gt;&lt;/p&gt;
&lt;ul style="MARGIN-TOP:0cm;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font face="Times New Roman" size="3"&gt;Visual Basic 6 code advisor – download from &lt;/font&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=a656371a-b5c0-4d40-b015-0caa02634fae&amp;amp;displaylang=en"&gt;&lt;font face="Times New Roman" size="3"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=a656371a-b5c0-4d40-b015-0caa02634fae&amp;amp;displaylang=en&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Step 1: Prepare code for migration&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; 
&lt;ul style="MARGIN-TOP:0cm;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Open the project in VB6.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Remove any files not required for the migration. In some cases, the removal of these will cause the project to stop compiling so you may want to leave them in for now (to test your changes), and ignore any fixit’s for those classes &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Ensure that the code advisor addin is loaded (under the ‘Add-ins’ menu item there should be a ‘code advisor’ item)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Use that menu item and set the code advisor scope to ‘active project’&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Now select ‘add fix-its’&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;View the fix-it report. This will list all the issues, their positions and also an explanation of what the issue is.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Now step through the project via the ‘find next fix-it function’, and investigate the suggested changes. Replace/remove code as necessary. Where code cannot be replaced with a function that will map to a .net function, comment out the offending code and make a note that you will need to rewrite that function after the migration e.g. the App.LogEvent code will need to be rewritten. In some cases, particularly the ‘Late Binding of Variant or Object’ warning, no change will be required e.g. a function might return either a recordset or an integer, so it needs to use a generic object &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Once finished, select ‘remove fix-its’&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l3 level1 lfo2;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Re-run the advisor again to ensure that you have made all necessary changes&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;b&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Step 2: Migrate code&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; 
&lt;ul style="MARGIN-TOP:0cm;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Open the project in vs.net 2005 &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Select all the default options for the migration wizard&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font face="Times New Roman" size="3"&gt;Once the migration is finished you will have a large number of UPGRADE_WARNINGS. These will typically fall into a few categories, so investigate each category and generate a fix for it. In some cases, it is better to retrospectively make the fix in the VB6 and then migrate the code again e.g. changing a return type from “Object” to a strongly-typed variable may fix a number of UPGRADE_WARNINGS. The case that typically requires most evaluation is the “Use of Null/IsNull” warning. See &lt;/font&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbup1049.asp"&gt;&lt;font face="Times New Roman" size="3"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbup1049.asp&lt;/font&gt;&lt;/a&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt; for details. Note: When in doubt leave the warning in, you will need to test this later when&amp;nbsp; you have calling code (i.e. the asp.net layer)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;To try and preserve a com-interop path the migration wizard will automatically add the InteropServices attribute at the class level, please remove this i.e. &amp;lt;System.Runtime.InteropServices.ProgId(&amp;quot;clsHeader_NET.clsHeader&amp;quot;)&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;b&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Step 3: Post migration fixes&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; 
&lt;ul style="MARGIN-TOP:0cm;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Once the to-do’s have been done, perform a Build (build-&amp;gt;build solution)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Now, check the source of each error and warning in turn, and fix if necessary&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Add any new code as replacement for functions stubbed as part of step 1.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l2 level1 lfo3;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Remove any ‘&amp;#39;UPGRADE_WARNINGS:’ comment lines (if possible)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;b&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Step 4: Remove COM-interop (optional)&lt;/font&gt;&lt;/font&gt;&lt;/b&gt; 
&lt;ul style="MARGIN-TOP:0cm;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l1 level1 lfo4;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Select the project, and then click ‘show all files’&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l1 level1 lfo4;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Expand the references node, and remove any com-interop items i.e. click on each in turn, and any that has ‘ActiveX’ as it’s file type is to be removed.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l1 level1 lfo4;tab-stops:list 36.0pt;"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Recompile the code, and fix any issues. In most cases this will require rewrites for .net functionality. &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;</description></item><item><title>Migrating VB 6 to VB Net</title><link>http://forums.asp.net/thread/2426627.aspx</link><pubDate>Mon, 16 Jun 2008 20:08:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2426627</guid><dc:creator>Buddypup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2426627.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=29&amp;PostID=2426627</wfw:commentRss><description>&lt;p&gt;I couldnt find a forum that matched exactly&amp;nbsp;to this question but .. Reportedly there was a Microsoft tool called either the &amp;quot;Migration Tool&amp;quot; or VB6 to VB Net that automated the conversion of VB6 to VB .Net. Now I understand it was made available in some Professional editions back in 03 . I do volunteer programming for non-profits and there is an app written in VB 6 that provides a Telnet server and client. I have seen numerous requests for a Telnet server and client in VB Net at a price that one can afford. Is the Migration Tool available somewhere for us simple people? &lt;/p&gt;
&lt;p&gt;Appreciate the help anyone can give me.&lt;/p&gt;
&lt;p&gt;If there is a better matching forum, I would gladly post this question there.&lt;/p&gt;
&lt;p&gt;Buddypup&lt;/p&gt;</description></item></channel></rss>