A quick note to my self and for all of you that currently learning Visual Basic programming language using Visual Studio (Visual Basic.NET). On this note, I want to show you how to remove existing TabPages on a TabControl. Also I will insert the existing TabPages programmatically.
As you can see, I have a TabControl1 and there is one TabPage called TabPage_Collar. The code above will remove TabPage_Collar from TabControl1. Please note that this method will not delete any controls in the tabpage. It only hiding it actually.
The code above will insert TabPage_Collar to TabControl1.