How do I switch tabs in a Windows form control? and how do I retriwve assembly info (version,filename,etc) in a label control?
Printable View
How do I switch tabs in a Windows form control? and how do I retriwve assembly info (version,filename,etc) in a label control?
Here's some stuff for the second part of the question. Can you explain a bit more what you're wanting to do with the Tab switching? I'm not sure I understand what you're asking.
VB Code:
lblVersionNumber.Text = Application.ProductVersion.ToString lblFramework.Text = ".NET " & LCase(GetText("version")) & ":" lblFrameworkNumber.Text = System.Environment.Version.ToString()
from one tab to the other via a mainmenu item
Like this?
TabControl1.SelectedIndex = 1 ' or whichever tab you want to switch to