Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Connectiong to an Excel Workbook with MSDASQL provider

just check that the correct driver is available on the
host machines.

-----Original Message-----
Hi All,

I have a big problem right now. I have developed an
apllication in Excel VBA. I have the following codes for
connecting to another Excel Sheet

Set cnConn = New Connection
With cnConn
.Provider = "MSDASQL"
.ConnectionString = "Driver={Microsoft

Excel
Driver (*.xls)};" & _
"DBQ=" & sEmpFilePath & ";"
.CursorLocation = adUseClient
.Open
End With

This works find on my development machine which is under
win 2000. When I deploy the application under win 2000

it
still works fine but under win 98 I get the following
error:
Error Number: 3706
Description: Provider Cannot be found. It may not be
properly installed.

Any hint how to get this resolved?

thanks you all.
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is microsoft strong cryptographic provider encryption good enough kutchbhi Excel Discussion (Misc queries) 0 January 10th 10 08:17 AM
how can i get in contact with a template provider?? Jan Excel Discussion (Misc queries) 1 April 30th 09 05:52 PM
OleDB Provider for Excel 2007 Binary (.xlsb) Rafael Excel Discussion (Misc queries) 1 December 19th 08 05:57 PM
OLE DB provider cannot connect to Excel 2007 with 400 columns kei Excel Discussion (Misc queries) 0 April 3rd 08 02:57 AM
"OLE DB Provider for Microsoft Directory Services" eraggi Excel Discussion (Misc queries) 1 August 21st 07 11:08 PM


All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"