MSComm32 is for serial port communications only. If you are using VB.NET do this:
1. Create a new Windows Form
2. Add the MSComm32 COM/OCX Control to your "Windows Forms" by right clicking on the Toolbox and choosing "Customize Toolbox..."
3. Select and add the "Microsoft Communications Control"
4. Draw the new control onto your form (Telephone icon)
If you are deploying your application, you will have to implement a registration of the object in your installation program.
A better solution is to use one of the many serial port classes written for VB which require no registration, such as: http://www.codeworks.it/net/VBNetRs232.htm
For parallel port access with Windows 2K or XP use inpout32.dll. Or search this forum for parallel port. There have been many discussions about this in the last few weeks.
Why do you want to use MSCOMM in VS2005. Since you have the full power of the .NET 2.0 framework at your fingertips, why not use the System.IO.Ports namespace: