[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How do I connect with Simply Accounting Pro 2010 database from C#?

Posted on 2010-08-24
2
Medium Priority
?
832 Views
Last Modified: 2013-12-17
Hi ,
We need to connect with Simply Accounting Pro 2010 database (even if it is sample database) from .Net (C#).
We want to get table list and other stuff that is less important now, without ability to connect with db (first).

We are in a very critical time and fast solution will be very welcomed.

Best regards
0
Comment
Question by:appdec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 33508730
What database is simply accouting pro 2010 using ? Is it mysql, sqlserver, ...
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 2000 total points
ID: 33508738
Probably you can find an sdk in the following folder: The SDK contains a sample with many examples. Look under c:\program files\Simply accounting 2010 SDK\sample

If it's a sage database, try this:
For those of you who are trying to create a link from a .NET application to Sage. Here's how I did it:

Dim con As New Odbc.OdbcConnection("Driver={Sage Line 50 v14};DIR=D:\SAGEDatabase\COMPANY.003\ACCDATA;UseDataPath=No;UID=manager;PWD=mypassword")

Dim cmd As Odbc.OdbcCommand = con.CreateCommand

cmd.CommandText = "SELECT ACCOUNT_REF FROM SALES_LEDGER WHERE ACCOUNT_REF LIKE 'SA%'"
       
Try
  con.Open()
  lbl.Text = cmd.ExecuteScalar
Catch ex As Exception
  lbl.Text = ex.Message
  Exit Sub
Finally
  con.Close()
End Try
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question