Question about ACCPAC Simply Accounting 2004 PRO (2120148) for PC

2 Answers

SAGE ACCPAC ERP Datasource activating problem in C#.NET

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

Posted by on

2 Answers

Add reference (ACCPAC.Advantage & ACCPAC.Advantage.Types);

using ACCPAC.Advantage;

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)
--
Sheryar Nizar
http://www.sheryar.net

Posted on Oct 13, 2008

SHERYAR NIZAR

Posted on Aug 07, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Re if I need create odbc dsn for all workstation?


Use servername as the server in setup and it will autocreate servername32 in odbc

May 15, 2010 | ACCPAC Simply Accounting 2004 PRO...

1 Answer

Accpac System Manager 000810 CounterSale option is not opening. As soon as click on it, whole program goes off the screen.


Reinstall your software manager in your computer. First uninstall it and then restart your computer and then install a fresh copy of it. Hope this could help..Please don't forget to rate me..:-) Thanks..

Nov 07, 2009 | ACCPAC Simply Accounting 2004 PRO...

1 Answer

Code:1.425


This error occurs when the user doesn't have XML Core Services 4.0 SP2 intstalled on the local workstation. To download the service pack either go to Microsoft's website or go to google.com search engine and enter "Download XML Core Services 4.0 SP2." To intall the service pack, have an administrator login and run the downloaded file.

Jan 03, 2009 | ACCPAC Simply Accounting 2004 PRO...

1 Answer

Accpac online manual


I have ACCPAC 4.2 (windows) manuals and ACCPAC DOS 6.0 manuals.
Just pay $5.00 each, total -- the postage ($3.99 medial mail) is included.
I don't want them to go to lanfill.
George
Geofru@yahoo,com

Dec 17, 2008 | ACCPAC Simply Accounting 2005 Basic...

1 Answer

Accpac day end error


Okay what you need to do Is get the Hotfix for this software from the manufacturer of the software and they should send it to you. (You may want to check to see if you have it already). Again the hotfix is what you need in order to solve the problem.

RCF

Jun 18, 2008 | ACCPAC Simply Accounting 2004 PRO...

1 Answer

COMPANY IS MISSING!!!


try checking to see if the company exists in the database setup.
you need to make sure the company database is linked to the system database before it becomes available to use. if it is there, delete the links and recreate them

Feb 22, 2008 | ACCPAC Simply Accounting 2004 PRO...

1 Answer

Cant send invoices by Email


If it's the File Send To option you're using that doesn't work, that typically stops working because of a problem with WMS (Windows Messaging Services). Also, check in Internet Explorer, Tools, Internet Options, Programs and be sure the email program you're using is selected.

Mar 30, 2007 | ACCPAC Simply Accounting 2004 PRO...

Not finding what you are looking for?
ACCPAC Simply Accounting 2004 PRO (2120148) for PC Logo

1,534 people viewed this question

Ask a Question

Usually answered in minutes!

Top ACCPAC Business & Productivity Software Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18297 Answers

Sudeep Chatterjee
Sudeep Chatterjee

Level 3 Expert

3267 Answers

Are you an ACCPAC Business and Productivity Software Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...