473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Microsoft office 12.0 object library for Access 2003

Hi,

In my office I have Office 2003 on the PC. I created an Access
application which has a component reference to Microsoft Office 12.0
Object Library.

The problem that I am having now it that in my home PC I also have
Office 2003, but I only have Microsoft Office 11.0 Object Library in
it and not Microsoft Office 12.0 Object Library, so the application
does not work right.

I read info from the Internet and found out that the Microsoft Office
12.0 Object Library is for Office 2007.

How can I have Microsoft Office 12.0 Object Library on my Office 2003
PC and be able to call it in my Access 2003 application?

Excel 009
Jun 27 '08 #1
6 7626
You don't mention what computing your using, but if its part of office 2007,
then you going to have a copy of office 2007.

Are you really sure you need this reference?

I for the most part tend to removed MOST of the references (outlook, excel
etc), and use late binding to ensure the application functions....

It just no clear what/why you needed this reference in the first place...
How can I have Microsoft Office 12.0 Object Library on my Office 2003
PC and be able to call it in my Access 2003 application?
If you really do need that reference, then you simply have no choice, and
you will need to have office 2007 installed on that pc...

I just trying to make sure you actually need that reference...

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Jun 27 '08 #2
On May 4, 6:28*pm, "Albert D. Kallal" <PleaseNOOOsPAMmkal...@msn.com>
wrote:
You don't mention what computing your using, but if its part of office 2007,
then you going to have a copy of office 2007.

Are you really sure you need this reference?

I for the most part tend to removed MOST of the references (outlook, excel
etc), and use late binding to ensure the application functions....

It just no clear what/why you needed this reference in the first place...

*How can I have Microsoft Office 12.0 Object Library on my Office 2003
PC and be able to call it in my Access 2003 application?

If you really do need that reference, then you simply have no choice, and
you will need to have office 2007 installed on that pc...

I just trying to make sure you actually need that reference...

--
Albert D. Kallal * *(Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKal...@msn.com
Thank you, Albert. I am not quite sure if I need the 12.0 object or
not, but assume I need it, how can I install it on a PC only with
Office 2003? It seems not possible, but the 12.0 objective and Office
2003 does coexist on my application. Any idea?

Excel 009
Jun 27 '08 #3
"Excel 009" <ex***********@gmail.comwrote in message
news:ff33fa17-f52f-4afb-8794-
>Thank you, Albert. I am not quite sure if I need the 12.0 object or
not, but assume I need it, how can I install it on a PC only with
Office 2003? It seems not possible, but the 12.0 objective and Office
2003 does coexist on my application. Any idea?

Excel 009

----------

Good, if you don't know if you need it, then that reference was likely put
in by accident. I would simply remove the reference, and then do a
debug-compile to see if the code runs an compiles (and, alternatively put
office 11 reference to see if that fix..).

You are MUCH better off to see if things work without the reference then
trying to mix and match references in your software straddled between two
versions of office. You REALLY want to make efforts to avoid that kind of
train wreck, and the resulting nightmares of support problems that will
incur if you do in fact need both references. Really, just don't even think
of going down this road if it can be avoided.

It would mean that every time you need that software installed, you going to
have to install two versions of office to make it function. Your goal here
is remove that reference if possible. I don't know of ANYONE deploying
access applications that require two different office library references. It
just not done, and is not a supportable nor reliable setup.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Jun 27 '08 #4
On May 5, 8:15*pm, "Albert D. Kallal" <PleaseNOOOsPAMmkal...@msn.com>
wrote:
"Excel 009" <excelmodel...@gmail.comwrote in message

news:ff33fa17-f52f-4afb-8794-
Thank you, Albert. *I am not quite sure if I need the 12.0 object or

not, but assume I need it, how can I install it on a PC only with
Office 2003? *It seems not possible, but the 12.0 objective and Office
2003 does coexist on my application. *Any idea?

Excel 009

----------

Good, if you don't know if you need it, then that reference was likely put
in by accident. I would simply remove the reference, and then do a
debug-compile to see if the code runs an compiles (and, alternatively put
office 11 reference to see if that fix..).

You are MUCH better off to see if things work without the reference then
trying to mix and match references in your software straddled between two
versions of office. You REALLY want to make efforts to avoid that kind of
train wreck, and the resulting nightmares of support problems that will
incur if you do in fact need both references. Really, just don't even think
of going down this road if it can be avoided.

It would mean that every time you need that software installed, you going to
have to install two versions of office to make it function. Your goal here
is remove that reference if possible. I don't know of ANYONE deploying
access applications that require two different office library references. It
just not done, and is not a supportable nor reliable setup.

--
Albert D. Kallal * *(Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKal...@msn.com
Well, I hate to say it, but my department is in this very
predicament. I have a database system that unfortunately someone
higher than me offered to "share" with another division. The only
problem is, nobody asked me my opinion and I'm stuck supporting this
monster. This works great when it's in an environment where I have
some control over upgrades, etc.. But when I'm dealing with
supporting an application in which "we" have to deal with a division
that is on it's own upgrade schedule, then it becomes a nightmare.

Case in point. My department is using Windows XP (we aren't touching
Vista with a 10' pole until somebody drags us there kicking and
screaming) with Office 2007. Only problem is the division that is
sharing is using Office 2003. Fortunately, we aren't using the same
MDE. I make a MDE for us using Office 2007 and an MDE from a
machine with Office 2003 for them on a different server volume. This
is more work for us, but it does work.

Unfortunately, we have to use the Outlook library because I have
mailing code for all sorts of processes (automatic mailers based off
of specific actions...confirmation mailings, error messages sent to
the IT group if somebody encounters an error in specific processes,
several large mailings that are set up on an automation schedule).

I can't WAIT to get them off of this. My recommendation is don't use
a mixed environment if you can at ALL help it. It's a real
headache.
Jun 27 '08 #5
"Jane" <al********@missouri.eduwrote in message
news:f66bf07e-f556-4875-9791-

>Unfortunately, we have to use the Outlook library because I have
mailing code for all sorts of processes
sure, then use late binding, and it will just fine.

There's not a competent developer in the last ten years in this newsgroup
that has ever suggested to use early binding in this case.

If you use late binding in your code, you can use different versions of
outlook for your application, and it will work fine.

I have a super easy mail merge sample download that thousands of people in
this newsgroup have used for years, and they've used it with every
conceivable version of access and every conceivable version of word, and
they've NEVER had one problem or one breakage and almost ten years of usage.

It is a mount Everest, humongous, large, massive different issue you are
experiencing than the original poster. The original poster was using two
references to two different office libraries at the SAME TIME, and you are
not attempting to do anything and nearly remotely close to this.

If you simply want a use outlook automation code, you can do so with every
conceivable version of outlook and your code will not break, and you do NOT
need a reference to the outlook library to do so.

You need to use late binding, it is explained here:
http://www.granite.ab.ca/access/latebinding.htm
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com

Jun 27 '08 #6
"Albert D. Kallal" <Pl*******************@msn.comwrote:
>sure, then use late binding, and it will just fine.
As Albert knows but didn't mention late binding also works for Excel, Word and other
such.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Helene Day | last post by:
I am trying to access the Word Objects from a .NET project. I have some sample from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/WordObject.asp and I...
1
by: Rene Muench | last post by:
Hi there, I am running AccessXp and want to make use to the new filedialog object. the references are set to: VBA, MS Access 10.0 Object Library, Ole Automation, Microsoft Office 10.0 Object...
13
by: Rolf | last post by:
I have Office97Pro, Office2000Premium and OfficeXP Pro all installed. I'm creating an Access97 application for another person and need to set a reference to Microsoft Office 8.0 Object Library....
6
by: Steve | last post by:
What would happen if an Access97 database had a reference to Microsoft Office 10 library (but only used Access97 stuff) and it was run on a machine that only had Access97 and correspondingly only...
3
by: | last post by:
Hi! How to extand and access the internat Office object structure. Is there any Dev Kit for Microsoft Partners that in not available to "normal" users? Something like NOKIA back entrence!? ...
6
by: ©pEIO | last post by:
I have installed the PIA of Microsoft Office 2003 and the installation was succefully. If I add the reference of Microsoft Excel 11.0, I see that the property CopyLocal is False and the assembly...
9
by: Dean | last post by:
I wrote a simple App in Access 2003 but used the 2000 file format. The one module Requires reference to Microsoft Office 11.0 Object Library. However, the person I have the code to has Office 2003...
5
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
1
by: Sylfelin | last post by:
Hello, If I use Microsoft Outlook 12.0 Object Library (Outlook 2007) COM Object in my application, the custommer must have the outlook 2007 on his computer ? But if i use Microsoft Outlook...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.