Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
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 October 25th, 2011, 05:52 AM
Registered User
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBA classes in referenced mdb's or accdb's

Is there a way round the following?

You can have classes in a referenced mdb or accdb file (Tools > References) and you can use them in a normal way within that referenced db (i.e. you can declare variables as instances of such a class). But you can't use them in any normal kind of way from the VBA code in the calling access database (i.e. you CANNOT declare variables as instances of such a class, and neither will Intellisense work).

This is a severe shortcoming in programming with classes in VBA. Has anyone found a way round it?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Datafiles referenced in the book. George Slamowitz BOOK: Knight's 24-Hour Trainer: Microsoft SQL Server 2008 Integration Services 2 March 18th, 2011 06:33 AM
referenced entities bcogney XML 7 April 21st, 2006 11:04 AM
referenced entities bcogney XSLT 0 April 20th, 2006 02:37 PM
0x00000000 referenced memory cannot be read! otarboy Beginning VB 6 0 November 17th, 2004 02:10 AM
Is vb supports office xp access mdb's? phpsharma Pro VB 6 3 February 16th, 2004 10:18 AM

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