vb.net 2005 enhancement and Modern Software Development WebCast Series
2004-06-24 21:15
627 查看
http://msdn.microsoft.com/vbasic/default.aspx?pull=/library/en-us/dnvs05/html/vbnet2005_preview.asp
My
For example, to play an audio file in Visual Basic 2005, rather than using DirectX or Win32 API calls, you could write this simple single line of code:My.Computer.Audio.Play("C:/Beep.wav") The My also adds functionality that returns many of the RAD features of Visual Basic 6 to the .NET development platform. For example, Visual Basic developers historically accessed forms by name, relying on the runtime engine to maintain a collection of all the available form classes. Using the new My.Forms object, developers can write code to open and interact with an instance of a form class created as part of a solution, like the following:My.Forms.HelpForm.Show() In addition, My supplies functionality that otherwise requires substantial code. For example, the following code demonstrates how you can use a single line of code to ping a computer:If My.Computer.Network.Ping("http://www.microsoft.com") Then MessageBox.Show("Microsoft's site is available.") End IfEdit and Continue
Quick development turnaround time has always been the hallmark of developing in Visual Basic, and programmerswho miss the edit and continue feature in Visual Basic 6 can rejoice—it's back! In Visual Basic 2005,
you can make changes to your code during debugging, back up the code instruction pointer if you want,
and re-execute lines of code with the modified content. While in Break mode, you can modify code or fix bugs;
almost any code modification will work. (Of course, some modifications force you to switch back to design mode
and rebuild the project and there's no way around it.) This change for Visual Studio 2005 has huge numbers of
Visual Basic developers cheering!
Modern Software Development
http://msdn.microsoft.com/vbasic/community/webcasts/modern/default.aspx
相关文章推荐
- A Developer's Guide to SQL Server 2005 (Microsoft .NET Development Series) by Bob Beauchemin
- Add-in and Automation Development In VB.NET 2003 (8)
- Borland Delphi 2005 ( support .net freamwork and asp.net web app for delphi .net)
- SQL Server 2005 webcast Series [English]
- Visual Web Development 2005开发ASP.NET使用小技巧
- [VB.NET]在vb.net 2005 中如何新建web网站
- Website, Web software and Mobile solutions Development Service Provider in China
- Pro VB 2005 and the .NET 2.0 Platform, Second Edition
- Pro .NET 2.0 Windows Forms and Custom Controls in VB 2005
- How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
- AddIn And Automation Development In VB.NET 2003 (2)
- Addin and Automation Development In VB.NET 2003 (3)
- Add-in and Automation Development In VB.NET 2003 (5)
- Beginning Web Development, Silverlight, and ASP.NET AJAX: From Novice to Professional
- Add-in and Automation Development in VB.NET 2003 (6-7)
- Atlas Web Site Template (December 2005 Release) And ASP.NET "Atlas" Wiki
- AddIn And Automation Development In VB.NET 2003 (1)
- vb.net 2005 web客户端异步下载文件
- How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
- Beginning DotNetNuke 4.0 Website Creation in VB 2005 with Visual Web Developer 2005 Express: From No