Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 08:59 PM
Junior Member
 
Join Date: May 2008
Posts: 5
Default MS Access Dependencies

I'm hoping someone can help me. I'm using an Access database with my SWFKit Pro 2.2 application and everything is working great. My question is what .dll's ect? Should I include in the attachments to ensure that the Jet 4.0 drivers are installed on every end user's computer?

This is the provider I'm using:

Microsoft.Jet.OLEDB.4.0

I read the database tutorial on using Firebird. What .dll's are required for Access?

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 05-18-2008, 04:15 PM
Senior Member
 
Join Date: Jan 2008
Posts: 123
Default Re: MS Access Dependencies

Does this help ?

The runtime library has only one file, the 'fbembed.dll', which can be downloaded from the FireBird official site, or get from the deployment package. We must rename it to 'gds32.dll' for the FireBird ODBC Driver requires it to be 'gds32.dll'. The odbc driver contains three dlls, to install it, just register the 'OdbcJdbcSetup.dll', which is one of the three dlls.
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 01:36 AM
Junior Member
 
Join Date: May 2008
Posts: 5
Default Re: MS Access Dependencies

Thank you for your reply. Unfortunately, that's for the Firebird database drivers. I'm wondering what dependencies are needed for the MS Access database drivers.
Reply With Quote
  #4 (permalink)  
Old 05-19-2008, 03:22 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: MS Access Dependencies

You don't need the firebird driver, but need the Jet OLEDB provider, which can be downloaded from http://msdn.microsoft.com/en-us/data/aa937730.aspx. In swfkit, you connect to databases with the Microsoft ADO components. For every type of database, a specific oledb driver is needed. For example, Access needs Jet, Mysql needs myodbc, etc.
Reply With Quote
  #5 (permalink)  
Old 05-19-2008, 05:01 PM
Junior Member
 
Join Date: May 2008
Posts: 5
Default Re: MS Access Dependencies

I know that. I am wondering what .dll files to package with the program in case the end user doesn't have MS Access. I need the Jet filenames that are required for distribution. Like in the Firebird tutorial it listed what .dlls were needed. I need the list for Access.
Reply With Quote
  #6 (permalink)  
Old 05-19-2008, 10:01 PM
Junior Member
 
Join Date: May 2008
Posts: 5
Default Re: MS Access Dependencies

Do I just need the odbcjt32.dll file, or do I need more than that packaged with it?
Reply With Quote
  #7 (permalink)  
Old 05-20-2008, 11:41 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: MS Access Dependencies

No, you cannot just pack the dlls. You will have to run the setup file of the jet engine provided by Microsoft.
Reply With Quote
  #8 (permalink)  
Old 05-22-2008, 03:11 AM
Junior Member
 
Join Date: May 2008
Posts: 5
Default Re: MS Access Dependencies

Thanks for the reply. Apparently, the drivers are installed by default since Windows XP SP2, so it's probably not even necessary unless one is targetting older computers. I think what I'll do is detect whether they are there before running a db connections, and then prompt the install if they're not. Appreciate the help, thanks.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT. The time now is 05:14 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.