If I create an MDE from an Access 2002 MDB, will the references "stick" when
the MDE is installed on other workstations?
For example:
I've created an MDB that requires certain References to be selected (in the
References dialogue of the Visual Basic editor window). If I convert this
MDB into an MDE (from Tools >> Database Utilities >> Convert Database), will
those references remain selected if I Zip the MDE and email to someone, and
then they install it on their workstation? Assuming they have Access 2002,
how will they modify the References for their installation, since this is an
MDE? Or, will they not need to modify any References?
Thanks in advance... 3 1614
The references will stick, but the problem is that how do you know the
target pc has those actual refs?
In the case of stuff like word, Excel, Outlook etc, you can (and should)
remove the references and use late binding anyway. That way, if one of the
features (say, outlook) is not installed, your application will NOT break,
and continue to function.
So, for automation of the other office applications, you usually can, and
should use late binding.
However, yes, your references do stick, and stay in the mde. The challenge
is making sure that the target pc has those other library's. And, when
possible as mentioned, use late binding, so when even one thing is missing,
your applction can still function.
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada ka****@msn.com http://www.attcanada.net/~kallal.msn
well, I suppose that's both good news and bad news.
The mdb in question does use references to Word, Excel and Outlook.
This may be a dumb question... but how do I implement late binding?
"Albert D. Kallal" <NO************@msn.com> wrote in message
news:ehElb.150882$pl3.119904@pd7tw3no... The references will stick, but the problem is that how do you know the target pc has those actual refs?
In the case of stuff like word, Excel, Outlook etc, you can (and should) remove the references and use late binding anyway. That way, if one of the features (say, outlook) is not installed, your application will NOT break, and continue to function.
So, for automation of the other office applications, you usually can, and should use late binding.
However, yes, your references do stick, and stay in the mde. The challenge is making sure that the target pc has those other library's. And, when possible as mentioned, use late binding, so when even one thing is
missing, your applction can still function. -- Albert D. Kallal (MVP) Edmonton, Alberta Canada ka****@msn.com http://www.attcanada.net/~kallal.msn
"deko" <dj****@hotmail.com> wrote in message
news:Jv*****************@newssvr29.news.prodigy.co m... well, I suppose that's both good news and bad news.
The mdb in question does use references to Word, Excel and Outlook.
This may be a dumb question... but how do I implement late binding?
The above is a good question. http://www.vb-helper.com/tutorial_of...utomation.html
The most often cited reason to use early binding (ie: set ref in the
references) is one of performance. However, it is the load time, and the
launching of the application that is the performance hit, not the execution
of a few lines of vba code.
If you have complete control over the versions of word, and outlook and
excel, then you most certainly CAN use early binding. However, if you want
some version independence, or you want to be able to assume that one of the
office parts are NOT installed, then late binding is the ticket.
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada ka****@msn.com http://www.attcanada.net/~kallal.msn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tom |
last post by:
The motivation for references seems clear: stop people from using nasty
pointers when all they really want is a reference to an object.
But C++ references are so inadequate that I'm still using...
|
by: hardwareman |
last post by:
Hi All,
I've read that I should use references instead of pointers, and as I do
have some suspicious casts floating around in my code, I thought it a
good idea to remove them. Ultimate...
|
by: JD |
last post by:
I'm trying to add a custom utility.mde reference to an application
from code using the standard Application.References.AddFromFile code.
IT has worked really well with A2K for a couple of years but...
|
by: hufaunder |
last post by:
I often find myself in the situation where at a customers site I have
to do some quick debugging or program changes. Obvioiusly, I do not
want to install VS2005 on their system. Is there a ways to...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |