I have a problem reading data from Microsoft Access file that is zipped.
I have a .NET application that searches the network for Access files. I copied "getallfiles" routine from internet (works well). I put ".mdb" as part of search parameter, so I only get Access files. The resulting file pathnames are in a list for user to choose. The application will then use OleDbDataAdapter to read partial data from the chosen file. This works OK.
The problem is that some Access files have been zipped. So I added ".zip" to search. The program errors as unrecognized database format when trying to read zip file. How do get .NET to read data from a zipped file.
I have a .NET application that searches the network for Access files. I copied "getallfiles" routine from internet (works well). I put ".mdb" as part of search parameter, so I only get Access files. The resulting file pathnames are in a list for user to choose. The application will then use OleDbDataAdapter to read partial data from the chosen file. This works OK.
The problem is that some Access files have been zipped. So I added ".zip" to search. The program errors as unrecognized database format when trying to read zip file. How do get .NET to read data from a zipped file.