hi guys,,
is there an easy assessment/overview that you could state that would give the benefits of VB.NET over VB 6 ?
thanks,
kevin
Printable View
hi guys,,
is there an easy assessment/overview that you could state that would give the benefits of VB.NET over VB 6 ?
thanks,
kevin
Class based programming.
Multiple forms can be easily managed.
Multi-threading
Expanded support for common controls, and some API functions, like window opacity, system tray notification, etc.
Database nativity. Tons less coding in most cases.
Faster (usually, not always)
Can upgrade VB6 projects. Not 100%, but not bad, either.
Little to no resize code.
Faster dev times (when you learn to use the IDE and learn the framework).
Object Oriented.
Use any .Net DLL that is created from other languages.
Little to no use of API's to do things.
Colapsible code when you use the region directives (helps manage all that code and hide the stuff you don't need to be looking at at that time).
More...
- VB6 and VB.NET almost Compatible can run on the same computer.
You can inherits child classes from base classes.
Powerful error handling .
Very easy control anchoring(4 positions)
Unified IDE (C++ , C# , VB).NET.You can debug C# code in VB.NET environment.
16-bit integer's now called short,32-bit long is now called integer.
Easier Property Procedures
No fixed-length strings.
(I like this one) Context Menus .you can bind this menu to controls very very easy)
besides what the guys'v mentioned .It so worth the upgrade.
Ħ Visual Basic in now fully part of Visual Studio - it shares the Visual Studio development environment with Microsoft Visual C++ .NET, Microsoft Visual C# .NET, and several other programming tools. Although Visual Basic .NET and Visual C++ .NET are still different programming languages, they share the same development environment.
Ħ As part of its new development environment, Visual Studio offers a new Get Started pane, which shows recently used projects and lets you open new or existing source files. Additional links in the Get Started pane provide you with access to Visual Studio Web sites, profile information, and contacts in the Visual Studio development community.
ƒ¶ The Visual Studio development environment contains several new and modified programming tools. The Project window is now called Solution Explorer, and there is a new context-sensitive help window called Dynamic Help. You¡¦ll find that the Toolbox has changed quite a bit - it's now subdivided into several functional categories, from Windows Forms to Web Forms to Data.
ƒ¶ Most of the programming tool windows have an auto hide feature to hide the tool as a tab when it isn¡¦t needed.
Ħ Projects are now saved in a different way. You give your project a name before you create it. The project itself is now spread over several files and folders - even more than in VB6. In Visual Basic 6, programs that were made of multiple projects were called project groups; now they are called solutions.
Ħ The Visual Studio .NET development provides a few different menus and toolbars with which you can build your own programs. For example, VB6 included Format, Run and Add-Ins menus, which aren't included in VB.NET. Most of the commands have been relocated - you'll find many of the Run menu commands on the Debug menu.
Ħ The CommandButton control is named the Button control in VB.NET, and many of its properties and methods have changed. For example, the Caption property is now named the Text property.
Ħ Some of the properties and methods for the Label control are new or have changed. For example, the Caption property is now named the Text property, and the TextAlign property has more alignment options than the previous Alignment property.
Ħ The Image control has been removed Visual Studio. To display pictures, use the PictureBox control.
Ħ Visual Studio .NET code contains more compiler-generated statements than you saw in Visual Basic 6. In particular, Visual Basic .NET adds to the top of each form a block of code labelled "Windows Forms Designer generated code," which defines important form characteristics and shouldn't be modified. (Add your own program code below this code block.)
Ħ Visual Studio can create two types of executable files for your project, a debug build and a release build. Debug builds contain debugging information and are used when testing and debugging your program. Release builds are optimized and smaller and are used when you complete your program.
Ħ A new control named DateTimePicker helps you prompt the user for date and time information. The new LinkLabel control is designed to display and manage Web links on a form.
Ħ The OptionButton control has been replaced with a new RadioButton control.
Ħ The Frame control has been replaced with a new GroupBox control.
Ħ The Listlndex property in the ListBox control has been replaced by a property called Selectedindex. The same change was made to the ComboBox control.
Ħ There is no longer an Image control. You use the PictureBox control instead.
Ħ Images are added to picture box objects using the System.Drawing.lmage.FromFile method (not the LoadPicture function).
Ħ Web browsers and other applications are now started using the System.Diagnostics.Process.Start method.
Ħ ActiveX controls are added to the Toolbox in a new way and are "wrapped" by Visual Studio so that they can be used in Visual Basic NET applications.
Ħ Menus are no longer created using the Visual Basic 6 Menu Editor tool. Instead, you create a main menu object on your form using the MainMenu control, and then customize the object using property settings and the Menu Designer. However, menu choices are still processed with program code.
Ħ Standard dialog boxes are no longer created using the CommonDialog control_ Instead, you use one of seven Windows Forms controls that add standard dialog boxes to your project. These controls include OpenFileDialog, SaveFileDialog, FontDialog, ColorDialog, PrintDialog, PrintPreviewDialog, and Page SetupDialog.
----------------------------------------------------------
Just a few things from a long list of What's New from the nex addition to the VBCodeBook.NET.
:D
Top ten reason's why to upgrade to vb.net (from microsoft)
http://msdn.microsoft.com/vbasic/pro...en/upgrade.asp