Unidac access database connection
Posted: Mon 16 Sep 2013 10:33
I create a simple application to test UNIDAC possibilities.
Compilation environnement :
- Windows seven (x64)
- Rad studio XE
- Unidac 4.6.12
I don't have any problems on my computer and some others. But for a couple of computers there is an error during the connection when I run the same executable.
All these computers have got seven x64 as operating system with Office 2010 installed.
See below my connection function :
void __fastcall TForm1::ConnectToAccessFile(UnicodeString FileName, UnicodeString Username, UnicodeString Password)
{
FConnection = new TUniConnection(this);
FConnection->ProviderName = "Access";
FConnection->Database = FileName;
FConnection->Username = Username;
FConnection->Password = Password;
FConnection->LoginPrompt = false;
FConnection->Connected = true;
}
Is anybody have a solution?
Compilation environnement :
- Windows seven (x64)
- Rad studio XE
- Unidac 4.6.12
I don't have any problems on my computer and some others. But for a couple of computers there is an error during the connection when I run the same executable.
All these computers have got seven x64 as operating system with Office 2010 installed.
See below my connection function :
void __fastcall TForm1::ConnectToAccessFile(UnicodeString FileName, UnicodeString Username, UnicodeString Password)
{
FConnection = new TUniConnection(this);
FConnection->ProviderName = "Access";
FConnection->Database = FileName;
FConnection->Username = Username;
FConnection->Password = Password;
FConnection->LoginPrompt = false;
FConnection->Connected = true;
}
Is anybody have a solution?