Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #107.40K
~616 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for emilyp

Hello. I'm using Visual C++6.0, and Windows XP. I am trying to connect to a database. I want to add some records to it, reading the values out of edit boxes. Here is my Code: [code=cpp] CDialog::EnableConnections(); ::CoInitialize(NULL); _ConnectionPtr con; con.CreateInstance(__uuidof(Connection)); con->Open(L"Provider=Microsoft.Jet.OLEDB.4.0;DataSource=C:\\Documents and Settings\\204504519\\Desktop\\webcam.mdb",_bstr_t (""),_bstr_t(""),adOpenUnspecified); _CommandPtr cmd; cmd.CreateInstance(__uuidof(Command)); cmd->ActiveConnection = …

Member Avatar for iravishekhar
-1
545
Member Avatar for eranga262154

Hi all, Can you guys explain how can I connect a SQL database to a C++ application(actually my application is a MFC) through ADO.Net I've use Visual Studio .Net 2003 and SQL Server 2005 Express edition(because I work on WinXP) If you guys have a simple example, its better to …

0
71