G
Guest
I have a VB 6 program that I have saved an audio file to using DAO and the
appendchunk as is shown at http://support.microsoft.com/kb/103257/EN-US/. ; I
have it working fine in that app (it saves to an access database and I can
save the data back to a file using getchunk and everything works correctly).
The issue is that I am now trying to access the database in VB.NET 2003
through an OleDBDataAdapter (Jet 4.0 connection) and can't get it to work
properly. After running my code, the file is there, but can't get it to play
in any audio player, and the file size of the file is double that of the file
I saved to the database in the VB 6 app.
I am using code that is shown at
http://www.dotnet247.com/247reference/a.aspx?u=http://support.microsoft.com/?kbid=317016 and I am using an OleDBDataAdapter to access the database.
Does anyone know how to save data from an OLE field in an access database in
ADO.NET in VB.NET using OleDBDataAdapter when the data in the OLE field was
originally recorded by a VB program using DAO and the appendchunk function?
Or does anyone know the opposite, a better way using DAO only and VB6 to
save an MP3 file to an OLE field in an access database using a method that I
can easily save the data to a MP3 file in the same VB6 app and the VB.NET app
I have which uses an OleDBDataAdapter?
appendchunk as is shown at http://support.microsoft.com/kb/103257/EN-US/. ; I
have it working fine in that app (it saves to an access database and I can
save the data back to a file using getchunk and everything works correctly).
The issue is that I am now trying to access the database in VB.NET 2003
through an OleDBDataAdapter (Jet 4.0 connection) and can't get it to work
properly. After running my code, the file is there, but can't get it to play
in any audio player, and the file size of the file is double that of the file
I saved to the database in the VB 6 app.
I am using code that is shown at
http://www.dotnet247.com/247reference/a.aspx?u=http://support.microsoft.com/?kbid=317016 and I am using an OleDBDataAdapter to access the database.
Does anyone know how to save data from an OLE field in an access database in
ADO.NET in VB.NET using OleDBDataAdapter when the data in the OLE field was
originally recorded by a VB program using DAO and the appendchunk function?
Or does anyone know the opposite, a better way using DAO only and VB6 to
save an MP3 file to an OLE field in an access database using a method that I
can easily save the data to a MP3 file in the same VB6 app and the VB.NET app
I have which uses an OleDBDataAdapter?