GEN3RIC
OSNN Senior Addict
- Joined
- 4 Apr 2005
- Messages
- 634
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.
....
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!?
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.
....
Code:
[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
[/B]
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!?