Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Rapid Application Development with VB.NET 2.0
Subject:   Issues with Visual Studio 2005
Date:   2008-03-19 12:33:14
From:   Mitomste
Most of the code from this article runs fine but a few items did not when I built the project from scratch and in fact the downloadable code will not run un-altered in VS2005. An example -
This:
lbClips.DataSource = My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.CurrentDirectory, False, "*.wav")


Must be changed to this:
lbClips.DataSource = My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.CurrentDirectory, FileIO.SearchOption.SearchTopLevelOnly, "*.wav")


In addition,
My.Computer.Info.MachineName is underlined with the error 'MachineName' is not a member of 'Microsoft.VisualBasic.Devices.ComputerInfo'.


Are there known issues with using Visual Studio 2005? These seemingly minor issues are annoying.