I tried trimming more fat from both the VBA macro and my program. The VBA macro works, and I cannot determine what is missing from my program.
using System;
using System.Windows.Forms;
using AccpacCOMAPI;
namespace AccpacWorkspace
{
public class CreateInvoice
{
public...
I have been tasked with converting a slew of VB6 apps to C#, and am having trouble creating an AP invoice batch. I get an "HRESULT E_FAIL" error when the program reaches "NewAPInvoicebatch.RecordCreate(tagViewRecordCreateEnum.VIEW_RECORD_CREATE_NOINSERT)" on line 52.
I copied the code from a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.