Keith Doyle

Keith Doyle

  • NA
  • 1
  • 0

Getting an example working...

Nov 27 2006 12:50 PM
Hi,

I've been trying to make a piece of example code from vbdotnetheaven.com that apparently was created under Beta 1 (or something not quite up to date), compile under the release VS 2005/VB.NET and I've been finding dozens and dozens of things that worked once but don't anymore, and lots of things renamed, etc.. It's been making "dll hell" look like heaven. Most of these things I've been able to work out but there's one that I haven't been able to find much info on-- I've found several examples on the web that reference MenuItems.All-- usually assigning it to something like a__1.

But, compilation returns:

error BC30456: 'All' is not a member of 'System.Windows.Forms.Menu.MenuItemCollection'.

Ok, obviously I can't use that anymore. But what did the All property do, and what would be the up-to-date equivalent?

The specific example I found by googling and is the "Database Explorer" example from this page:

http://www.vbdotnetheaven.com/Sections/Ado.NET.asp

I've since gone to the main vbdotnetheaven pages and note that the look is quite different so now I'm thinking that the above example is known to be old though it was still quite accessible via google...


BTW, I thought "beta" essentially meant that the design has frozen, and they are just looking for bugs-- I guess Microsoft has redefined that as well, eh? Methinks "Trial Balloon," would be a somewhat better term for them to use.

-- Sync

Answers (1)