![]() |
#1
|
||||
|
||||
![]()
hi all,
it was workin on x5, codes are like that; cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & ExcelAdi & ";" & "Extended Properties=""Excel 8.0; HDR=YES;""" but now in x6 x64 v. (x64 win 7 based machine) not workin. any idea? regards |
#2
|
|||
|
|||
![]()
It's my understanding Microsoft's Jet Engine is not supported in x64. I'm not that familiar with its use in VBA, but in other languages it can only be used when apps that are built as 32 Bit.
There are alternatives in .NET, but I am not familiar with what VBA supports. May be wrong but my guess is it will work fine in the 32 Bit version of X6 along with the 32 Bit version of office. |
#3
|
||||
|
||||
![]()
hi Steve,
thnx for interesting. i will try over x64 ![]() |
#4
|
|||
|
|||
![]()
You might take a look at this link...
http://www.altova.com/Access-Databas...bit-64bit.html I can say that you will need to work with x64 to x64 Excel. Not really a way for a 64 Bit app to connect to a 32 Bit one. |
#5
|
||||
|
||||
![]()
Using 64bit CorelDRAW and 64bit Excel you can use:
Code:
cnn.Open "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=D:\Temp\Sample.xlsx;" & _ "Extended Properties=""Excel 8.0; HDR=YES;""" |
#6
|
||||
|
||||
![]()
Thnx dear friend, i will try over it. Thnx for interest.
![]() |
#7
|
|||
|
|||
![]()
The only real bummer about this is, if a user has a 32 Bit version of office installed, it has to uninstalled for the 64 Bit OLEDB driver to work or even be installed. The only way around this I have found is by using SQL Server.
|
#8
|
||||
|
||||
![]() Quote:
couldn't find provider. may not installed correctly (surely i changed the excel address in your code. my corel v x6 and machine W7 x64) Dim cnn As New ADODB.Connection cnn.Open "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=c:\Tunc\Knorr.xlsx;" & _ "Extended Properties=""Excel 8.0; HDR=YES;""" |
#9
|
||||
|
||||
![]() Quote:
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working with Excel | nic | CorelDRAW/Corel DESIGNER VBA | 3 | 03-05-2010 09:00 |
msgbox over network connection... | bprice | CorelDRAW/Corel DESIGNER VBA | 4 | 29-08-2008 07:20 |
Embedding 2007 EXCEL | Flow_FX | Feature requests/wishlist | 0 | 27-03-2008 13:35 |
Excel worksheet | Seelenquell | CorelDRAW/Corel DESIGNER VBA | 2 | 02-02-2004 09:28 |
connection string - access database | diwin | CorelDRAW/Corel DESIGNER VBA | 2 | 23-11-2003 19:52 |