Question about ACCPAC Simply Accounting 2004 PRO (2120148) for PC
I am trying to create new Accpac window in C#.NET,added all reference and dll as we do for visual basic 6.0. When activating AccpacDatasource for FieldEditcontrol,I am getting this error "Error HRESULT E_FAIL has been returned from a call to a COM component." Working fine in visual basic 6.0,but not in VB.NET or C#.NET.
can anyone help me regarding this. Thanks in advance.
my datasource activation code : this is same as we will give in visual basic 6.0
if (axAccpacDataSource1.Active == false)
newds.DBLink = mDBLINK;
axAccpacDataSource1.DBLink = newds.DBLink;
axAccpacDataSource1.Active = true;
where newds is,
AccpacDataSrc.AccpacDataSource newds = new AccpacDataSrc.AccpacDataSource();
I had customized Accpac windows as calling the (Accpac .ocx file) in .NET ,thats working fine and feel better than using vb 6.0
Add reference (ACCPAC.Advantage & ACCPAC.Advantage.Types);
private ACCPAC.Advantage.Session session;
private DBLink mDBLinkCmpRW;
session = new ACCPAC.Advantage.Session();
session.Init("", "XX", "XX1000", "55A");
session.Open("ADMIN", "ADMIN", "SAMINC", DateTime.Today, 0);
mDBLinkCmpRW = session.OpenDBLink(ACCPAC.Advantage.DBLinkType.Company, ACCPAC.Advantage.DBLinkFlags.ReadWrite);
This is how you can connect to DATABASE OF ACCPAC (55a)
Posted on Oct 13, 2008
Posted on Aug 07, 2008
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Posted on Jan 02, 2017
Tips for a great answer:
Jun 11, 2014 | ACCPAC Simply Accounting 2004 PRO...
May 15, 2010 | ACCPAC Simply Accounting 2004 PRO...
Nov 07, 2009 | ACCPAC Simply Accounting 2004 PRO...
Oct 13, 2009 | ACCPAC Fax/Voice/Mobileserve for PC
Aug 31, 2009 | ACCPAC Simply Accounting 2004 PRO...
Jan 03, 2009 | ACCPAC Simply Accounting 2004 PRO...
Oct 04, 2008 | ACCPAC Fax/Voice/Mobileserve for PC
Mar 30, 2007 | ACCPAC Simply Accounting 2004 PRO...
Mar 26, 2013 | ACCPAC Simply Accounting 2004 PRO...
1,549 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: