I'd down to four references in my Access2K .adp project.
I know I can't get rid of two of them: Visual Basics for Applications
and Access 9.0 Object Library.
But, can I get rid of:
OLE Automation (stdole2.tlb)
Microsoft ActiveX Data Objects 2.1 Library (msado21.tlb)
I have used late binding to get rid of the reference to the Outlook
library. Is there something similare I can do to get rid of the two
above?
I don;t even use ActiveX components but the project doesn't compile
without it.
Thanks,
lq 9 2057
On 5 Oct 2005 14:26:58 -0700, "Lauren Quantrell" <la************ *@hotmail.com> wrote: I'd down to four references in my Access2K .adp project. I know I can't get rid of two of them: Visual Basics for Applications and Access 9.0 Object Library.
But, can I get rid of: OLE Automation (stdole2.tlb) Microsoft ActiveX Data Objects 2.1 Library (msado21.tlb)
I have used late binding to get rid of the reference to the Outlook library. Is there something similare I can do to get rid of the two above?
I don;t even use ActiveX components but the project doesn't compile without it.
Thanks, lq
I have a feeling that the OLE one is ued for internal functions such as time and date
though I could be wrong
Access must have those two references to run.
What are you hoping to accomplish by getting rid of them?
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(no e-mails, please!)
"Lauren Quantrell" <la************ *@hotmail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. . I'd down to four references in my Access2K .adp project. I know I can't get rid of two of them: Visual Basics for Applications and Access 9.0 Object Library.
But, can I get rid of: OLE Automation (stdole2.tlb) Microsoft ActiveX Data Objects 2.1 Library (msado21.tlb)
I have used late binding to get rid of the reference to the Outlook library. Is there something similare I can do to get rid of the two above?
I don;t even use ActiveX components but the project doesn't compile without it.
Thanks, lq
I'm just wondering if there's a way to use declarations and call
libraries that I'm actually using instead of using the references.
>From MSDN:
Visual Basic Language Concepts
Early and Late Binding
The Visual Basic compiler performs a process called binding when an
object is assigned to an object variable. An object is early bound when
it is assigned to a variable declared to be of a specific object type.
Early bound objects allow the compiler to allocate memory and perform
other optimizations before an application executes....
By contrast, an object is late bound when it is assigned to a variable
declared to be of type Object. Objects of this type can hold references
to any object, but lack many of the advantages of early-bound
objects....
You should use early-bound objects whenever possible, because they
allow the compiler to make important optimizations that yield more
efficient applications. Early-bound objects are significantly faster
than late-bound objects and make your code easier to read and maintain
by stating exactly what kind of objects are being used. Another
advantage to early binding is that it enables useful features such as
automatic code completion and Dynamic Help because the development
environment (IDE) can determine exactly what type of object you are
working with as you edit the code. Early binding reduces the number and
severity of run-time errors because it allows the compiler to report
errors when a program is compiled.
Sure, that's a reasonable thing to do for many references, but as far as I
know, you cannot remove all of the references, as Access itself needs them.
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(no e-mails, please!)
"Lauren Quantrell" <la************ *@hotmail.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. . I'm just wondering if there's a way to use declarations and call libraries that I'm actually using instead of using the references.
1) The references have a .builtin property. If this
property is true, they are built in, and cannot be
removed.
2) Those references are just type libraries anyway
- the actual code is built into access, not dynamically
linked.
(david)
"Lauren Quantrell" <la************ *@hotmail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. . I'd down to four references in my Access2K .adp project. I know I can't get rid of two of them: Visual Basics for Applications and Access 9.0 Object Library.
But, can I get rid of: OLE Automation (stdole2.tlb) Microsoft ActiveX Data Objects 2.1 Library (msado21.tlb)
I have used late binding to get rid of the reference to the Outlook library. Is there something similare I can do to get rid of the two above?
I don;t even use ActiveX components but the project doesn't compile without it.
Thanks, lq
So then the fewest number of references I can have for any .ADP project
in Access is four?
lq
Visual Basics for Applications
Access 9.0 Object Library.
OLE Automation (stdole2.tlb)
Microsoft ActiveX Data Objects 2.1 Library (msado21.tlb)
???
i remove OLE all the time and i dont have problems.
and just for the record; it seems like you always SHOULD use the latest
ADO.. within reason. i dont mean 2.8-- i mean 2.5--- > since that is
standard with Windows 2000 and XP it seems like a fair upgrade.
I don't use ADP's. If those references are .BuiltIn
in ADP's, then you can't remove them. In MDB's the
OLE and ADO type libraries aren't built in, and the
type libraries can be late bound if you wish to use
them. ADO is built into Access, so you have limited
use of ADO in an Access MDB without using the type
library if you wish to do so.
Because of the structure of the ADO objects, ADO without
the ADO type library is less useful than DAO without
the DAO type library.
(david)
"Lauren Quantrell" <la************ *@hotmail.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. . So then the fewest number of references I can have for any .ADP project in Access is four? lq
Visual Basics for Applications Access 9.0 Object Library. OLE Automation (stdole2.tlb) Microsoft ActiveX Data Objects 2.1 Library (msado21.tlb)
??? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: xmp333 |
last post by:
Hi All,
I am trying to hide my JavaScript source. The method I chose was to
keep all the important source in a password protected folder, and then
use a SRC="folder/script.js" to include it in my code. This way, the
script will run, but the user will be unable to view the included
code. Or so I think :).
I have tried this method, and it seems to work. However, I would like
|
by: Andreas Fromm |
last post by:
Hi,
What is the problem with the following table declaration?
CREATE TABLE persons (
id SERIAL PRIMARY KEY,
name TEXT NOT NULL,
bdate DATE,
address INTEGER REFERENCES addresses,
phonepriv INTEGER REFERENCES phones,
|
by: Michelle Collier-Moore |
last post by:
Please could someone offer some advice regarding adding references to
an Access database?
I tried to open a project a few days ago sent to me by someone whose
developer had left the company. I found that I had a reference problem
and went to the usual Tools, References place to fix it. The
References option was greyed out and as I have never seen this happen
before, after trying various things, searching here for an answer etc.
gave up!!
|
by: Melanie |
last post by:
In AccessXP(A2000 mode), how do I make the change of references from ADO to
DAO3.6 permanent?
I go into references and uncheck ADO then scroll down to DAO3.6 and check it. I
close references and reopen and DAO3.6 is in the list at the top and checked.
Then I open my database and close it. When I go and look at references, ADO is
back and checked and DAO3.6 is back in the list unchecked. BTW, the database was
designed with DAO3.6 checked...
|
by: Brian Henry |
last post by:
My main project really only has one reference in it that is needed outside
of the System references. It references a DLL Class Library which has
references in that DLL library to other references like crystal reports and
such... I have noticed that my main project though randomly adds copies of
the referenced items in the DLL to the exe's reference list... why is it
doing this? it doesn't need the references, so why would it copy the...
| |
by: codebloatation |
last post by:
I know how to use references but i DO not get WHY they exist other than
to add to the language. Are they actually needed for anything?
|
by: el_sid |
last post by:
Our developers have experienced a problem with updating Web References in
Visual Studio.NET 2003.
Normally, when a web service class (.asmx) is created, updating the Web
Reference will utilise the disco file to update the
Corresponding proxy file and reflect the changes made to the web service.
However, the results of doing this with out params is that the results seem
|
by: jeremygetsmail |
last post by:
I've got an adp (Metrix.adp) with a reference to another adp
(InteractSQL.adp). InteractSQL sits on a server, and is refered to by
all of the clients (Metrix), which sit on the client machines (There's
also a SQL Server that sits on the server, but that's besides the point
here.). Both adp files have references to ADOX. I've got to check
Metrix has an older version of ADOX, and react appropriately. I've
written code to do this, and it...
|
by: Frederick Gotham |
last post by:
When I was a beginner in C++, I struggled with the idea of references.
Having learned how to use pointers first, I was hesitant to accept that
references just "do their job" and that's it.
Just recently, a poster posted looking for an explanation of references.
I'll give my own understanding if it's worth anything.
First of all, the C++ Standard is a very flexible thing. It gives a
mountain of freedom to implementations to do things...
|
by: igor.kulkin |
last post by:
References is a relatively basic feature of C++ language.
It might be a good thing to think of references as aliases to the
variables.
However it's good to think of references this way when you deal with
references which are local variables.
But references can also be function arguments (in fact they are more
useful this way) in which case it has to have the in-memory
representation.
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |