21. myth the sooner we start, the better, therefore let’s run the Upgrade Wizard, remove all compilation errors, debug the .net code, do some tests, fix bugs, polish the UI, create the setup, write the manual, and tell the boss we’re ready to ship
23. truth nearly all migration projects fail miserably if they weren’t planned accurately ( like any software project... )
24. what you need, what you have a goal what goes to .NET, what stays in VB6 architectural changes target language, 3rd-party controls a migration tool (if any) a deadline a team VB & .NET expertise, familiarity with the code base, migration skills
25.
26.
27. myth all .NET language are equally powerful, therefore it doesn’t really matter whether we select VB.NET or C# in our migration projects
29. C# challenges Variants Null propagation in expressions ActiveX EXE components Gosub, VarPtr, StrPtr, ObjPtr optional parameters (fixed in 2010) late binding (almost fixed in 2010) error handling
30. C# challenges On Error Resume Next DoSomething(x) If CheckExpr(x) Then DoSomethingElse(x) try { DoSomething(x); } catch (Exception ex) { SetError(ex); } bool test; try { test = CheckExpr(x); } catch (Exception ex) { SetError(ex); } try { if (test) DoSomethingElse(x); } catch (Exception ex) { SetError(ex); }
31. myth (revised) all .NET language are equally powerful, therefore it doesn’t really matter whether we select VB.NET or C# in our migration projects ...unless you are paid by the hour
35. a support library can dramaticallyreduce compile and runtime errors closely mimic VB6 behavior and UI hide the complexity of .NET produce concise and neater code optimize your app for size/speed simplify bug fixes offer interoperability with VB6 apps ... (read more reasons here)
41. To learn more about your VB6 applications, run VB6 Analyzer on your source code and send us the generated text file.
42. You will receive a detailed report on your VB6 applications and how VB Migration Partner can help you to quickly and effectively migrate it to .NET.www.vbmigration.com/getfreeadvice.aspx