Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accpac Linkage with .NET

Status
Not open for further replies.

RajenderMakhija

Programmer
Joined
Aug 21, 2007
Messages
2
Location
IN
How cani link accpac company in .net using macro

when linkit with Vb.Net it give me this error

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 29:
Line 30: Dim session1 As ACCPAC.Advantage.Session
Line 31: session1.Init("", "AS", "AS1000", "53B")
Line 32: session1.Open("ADMIN", "123", "SAMPLE", System.DateTime.Now, 0)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top