Error code = -2147220472


System.Runtime.InteropServices.COMException was caught
  ErrorCode=-2147220472
  HResult=-2147220472
  Message=Could not start QuickBooks.
  Source=QBXMLRP2.RequestProcessor.2
  StackTrace:
       at QBFC12Lib.IQBSessionManager.BeginSession(String qbFile, ENOpenMode openMode)
       at exportQuickBooksSalesOrders.Export.GetSalesOrders(String OrderNumber) in C:\Users\beau.BOOKENDZ\documents\visual studio 2012\Projects\exportQuickBooksSalesOrders\exportQuickBooksSalesOrders\Export.vb:line 26
  InnerException:

If you are seeing this error Quickbooks (QBW32.EXE) is not currently attached to the database...