problem with visualbasic 2010 coding

how to intialized the serial port1?

Initialization is the second step. You have not explained the first step - declaration.