How to save data to Access database file!  
Author Message
BinZhang





PostPosted: Tue May 22 10:07:52 CDT 2007 Top

Visual Studio C++ >> How to save data to Access database file!

Hi All,
Good afternoon,

I am working on winamp general purpose pluggin "gen_whatsplaying " project
downloaded from the site www.schaffrath.net
I compiled and build the project successfully using platform SDK Feb 2003
and Speech SDK5.1.

Now the winamp plugins "gen_whatsplaying" interface saving
the data related to songs currently being played by Winamp to a specified
text file.
such as time the song starts playing, name of the song currently being
played etc.
depending on the parameters specified in the pluggin's template file.

Now, I want to save the data directly to a MSAccess database file, which is
currently being saved in a text file, such as time the song starts playing,
name of the song currently being played etc.depending on the parameters
specified in the pluggin's template file. e.g. "6:23:39 PM- D:\shaan\03 WOH
PEHLI BAAR.mp3" this information I want to store in two different field of
Access database table.
please let me know how do I do that? Do I need to use ADO and other library
to get the connectivity with MSAccess db first? Let me know if you have any
idea about it.
I really appreciate yours help and kind cooperation with me.

Thanks,
shyam

Visual Studio325  
 
 
William





PostPosted: Tue May 22 10:07:52 CDT 2007 Top

Visual Studio C++ >> How to save data to Access database file!

> I want to store in two different field of
> Access database table. please let me know how do I do that? Do I need to
> use ADO and other library
> to get the connectivity with MSAccess db first?

You can use raw ODBC, or ADO, or ADO.Net in the presence of the BCL or the
MFC classes CDatabase and CRecordSet ...

Google is your friend.

Regards,
Will