There is nothing special way to use it. It's like you asking how to use the notepad in windows.
Just design your resource using the resource editor. and save it where your project source files are. and add it to the project. and add it as a resource ( just go to the file view and right click resource files -> add files to the folder) .then you can see a resource tab on your workspace slide. Then again go to the file view slide and just compile the resource named with extension ".rc" and it will generate a file called "resource.h" in the directory where you save the resource script file( your source file folder).
then include that resource helder file using ,
and you can use the symbol ID's that you given when the time you created resources.
If string resource is needed ( for example for a WNDCLASS.lpszMenuName ) use MAKEINTRESOURCE macro to conver it to a string.
you can assign any number you want, as long as all the numbers in the RC file are unique. Put a lot of space between control types, such as start icons with 100, menus with 200, dialogs with 1000, etc. The reason is to make it easy to add new items of the same type without having to renumber everything and still keep the numbers organized by type.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...