borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Increase Stack Size VB6)Next Topic (report) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Could not decrypt file ??? ERROR
Poster Message
hazee
Level: Trainee

Registered: 08-05-2005
Posts: 2

icon Could not decrypt file ??? ERROR

Hi guys!!

trying to connect passowrd protected EXCEL file with ADO and getting the following error.

Microsoft JET Database Engine
Could not decrypt file.

Following is the CODE.


cnnExcel.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
           "Data Source=c:\inetpub\wwwroot\6\db\book1.xls;Jet OLEDB:Database Password=hello;" & _
           "Extended Properties=""Excel 8.0;HDR=Yes"" "


I am using it in ASP.
Any idea ???? How to solve ...

Regards.

08-05-2005 at 11:17 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Could not decrypt file ??? ERROR
Previous Topic (Increase Stack Size VB6)Next Topic (report) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder