Solitaire
Well-known member
Today I introduced the MessageBox.Show method in my course. We are using the VB 2010 Express version. The demo sample I used worked perfectly. I had converted it from VB 2008 at home, and it was still using .NET 3.5.
But when I started a new exercise with my students, the MessageBox.Show() didn't work. (This was a Windows Forms application, NOT a Console app.) After typing the dot, the Show method did not appear in the intellisense box, and an error came up saying that Show was not a member of MessageBox. More than half my students had the same error. We were forced to use the MsgBox function instead.
I vaguely recall having had the same issue in school when VB 2008 first came out. Is the current problem some kind of bug in .NET 4.0 that wasn't corrected and needed a patch?
I don't have access to the network, nor are teachers given admin rights to the computers, so I can't make any upgrades on my own.
My installation at home works just fine, probably because I had all upgrades installed.
Please advise before I attempt to notify the IT staff at the school.
But when I started a new exercise with my students, the MessageBox.Show() didn't work. (This was a Windows Forms application, NOT a Console app.) After typing the dot, the Show method did not appear in the intellisense box, and an error came up saying that Show was not a member of MessageBox. More than half my students had the same error. We were forced to use the MsgBox function instead.
I vaguely recall having had the same issue in school when VB 2008 first came out. Is the current problem some kind of bug in .NET 4.0 that wasn't corrected and needed a patch?
I don't have access to the network, nor are teachers given admin rights to the computers, so I can't make any upgrades on my own.
My installation at home works just fine, probably because I had all upgrades installed.
Please advise before I attempt to notify the IT staff at the school.