Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to read MSDE table using MS VC++ 2005 Express

Author  Topic 

jps3318
Starting Member

1 Post

Posted - 2009-02-20 : 10:49:09
I installed a 3rd party application on my system, and now an icon appears in the system tray that identifies itself as:
"Microsoft SQL Server Service Manager
Version 8.00.2039"

Information I need to process is being written, by the 3rd party application, to the SQL Server Database it installed. I can read the data from the command line using OSQL, but now I need to read the data using a C++ application. I've been using MS Visual C++ 2005 Express Edition for my application needs on windows, but I don't see a way to read from this MSDE.

Before attempting to write any code, (in the MS Visual C++ IDE) I selected tools, Connect to database, Microsoft SQL Server Database File, Selected the *.MDF file from the 3rd party app, and clicked test connection. I get a "26 - Error Locating Server/Instanc Specified".

One problem I have is figuring what vintage of software I'm suppose to use to solve this problem. I'm running Windows XP Pro, and the MSDE version (stated above) came with a 3rd party app. I can't change these two versions. Everything else I can change, but I not sure where to go from here.




   

- Advertisement -