asked on
Private Sub SetRibbonTab()
Dim ribcontrol As RibbonControl = ComponentManager.Ribbon
ribcontrol.ActiveTab = "Home"
End Sub
ASKER
Private Sub CreateRibbon()
'declare a ribboncontrol object
Dim ribCntrl As RibbonControl = ComponentManager.Ribbon
'create a ribbontab
Dim ribTab As New RibbonTab()
'set a few properties
ribTab.Title = "AU2009"
ribTab.Id = "AU2009"
'add the tab to the ribbon
ribCntrl.Tabs.Add(ribTab)
'set as active tab
ribTab.IsActive = True
End Sub
ASKER
ASKER
Visual Basic .NET (VB.NET) is an object-oriented programming language implemented on the .NET framework, but also supported on other platforms such as Mono and Silverlight. Microsoft launched VB.NET as the successor to the Visual Basic language. Though it is similar in syntax to Visual Basic pre-2002, it is not the same technology,
TRUSTED BY
http://forums.autodesk.com/t5/NET/How-to-Load-CUI-File-Ribbon-Tabs-And-Make-Visible-via-NET/m-p/3049040
a user had uploaded a sample code file that shows the switching of ribbon tabs