Hi Missa,
Install the B1 SDK and have a look at the sample under your installation
By default, it should be under :
C:\Program Files (x86)\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\05.OrderAndInvoice
Unless you changed the installation folder.
Regards
Edy