• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Anybody good with VB.NET ?

So this is my current concentration in school in Visual Studio.NET 2003 It's a windows app in Visual Basic.NET

I made a simple program that called a module I made.

Inside the module I had options for a group box with radio buttons.

The project was named firstBat, and I changed a label based onthe radio buttons (called displayLbl), so inside the module you see this.

[B]Select Case HelloLanguage
   Case "English"
      firstBat.displayLbl.Text = "text in english"
   Case "Español"
      [/B][B]firstBat.displayLbl.[/B][B]Text = "text in spanish"
   Case "Deutsch"
      [/B][B]firstBat.displayLbl.[/B][B]Text = "text in german"
   Case Else
      [/B][B]firstBat.displayLbl.[/B][B]Text = "Error/Error/Fehler"
End Select
But for some reason it was saying that firstBat.displayLbl was wrong. Does this have to do with renaming Form1 ? I renamed it but I think Visual Studio still decided to go and generate code with Form1 in mind, not firstBat ... what is going on!?
What have you assigned HelloLanguage, is it a variable and if so of what type? Have you edited the autocode generated by the .NET environment as this is a no.. no....

Never change any of the autocode generated by the .NET environment unless you are 100% sure what you are doing!

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
What a long strange trip it's been. =)

Forum statistics

Latest member