Hi! What do you mean by code it?Add TabPages? Create a TabPage objects, assign some text to the Text property and then do TabControl.Controls.Add(myTabPage) and the tabControl will have a new tabPage.And so on... dim myTabPage as New TabPAge myTabPage.Text = "Tab1" (...) myTabControl.Controls.Add(myTabPage) Never say never