Hi jsrMN,
You meantion that you are using Ports 0:7 but in your "old" code you are using port2/line0:7. If this former is a typo then I believe the appropiate example to look at would be writedigchan which can be found.
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET2.0\Digital\Generate Values\WriteDigChan\vb
This example uses writer.WriteSingleSampleMultiLine, which will allow you to write different values to each line in the port.
I hope this helps
JaceD
Signal Sources Product Support Engineer
National Instruments