Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
| Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 19th, 2003, 03:59 PM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access XP VBA compatibility issues w/ Access 2000

I created an application for formatting Excel spreadsheets and uploading them all with the click of a single button within Access. The application works fine in Access XP, but my users with Access 2000 receive the error "Compile error: User-defined type not defined" Clicking on the "Debug" button highlights the following:

Dim fd As FileDialog

The user has selected the reference to the Excel 9.0 Object library, but still receives this error. Anybody know what the problem might be?

Brett Burgess
Internet Consulting, PHP, MySQL, VBA
 
Old August 19th, 2003, 04:14 PM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found the answer on the MSDN website. The FilePicker object was introduced in the Office 10.0 Object Library. Any users with object libraries older than 10.0 (practically all) will be unable to use an application that utilizes the FilePicker object.

Brett Burgess
Internet Consulting, PHP, MySQL, VBA




Similar Threads
Thread Thread Starter Forum Replies Last Post
2002 Access VBA compatibility with older versions dislocatedgi Pro VB.NET 2002/2003 3 July 21st, 2006 12:34 PM
HELP - Access 2000 Runtime w Windows XP Compiled.. chasidim Access 2 April 3rd, 2006 11:06 AM
ADE file in Access 2000 <---> Access XP ginoitalo Access 3 April 14th, 2004 09:06 PM
Issues Connecting to an Access 2000 Database... Jonny ADO.NET 1 February 11th, 2004 09:54 AM
Migrate Access XP to SQL Server 2000 Walden Access 1 September 21st, 2003 01:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.