473,395 Members | 1,763 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,395 software developers and data experts.

Microsoft Office Library Reference

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 had Microsoft Office 8
library? Would Access97 be smart enough to go to the Microsoft Office 8
library when it needed to?

Thanks,

Steve
Nov 13 '05 #1
6 3365
On Thu, 10 Feb 2005 14:07:44 GMT, "Steve" <no****@nospam.spam> wrote:

Typically yes. That's the power of OLE for you.
-Tom.

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 had Microsoft Office 8
library? Would Access97 be smart enough to go to the Microsoft Office 8
library when it needed to?

Thanks,

Steve


Nov 13 '05 #2
Tom,

Thanks! What exactly happens when Access97 sees a reference from another
version?

Steve
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:l3********************************@4ax.com...
On Thu, 10 Feb 2005 14:07:44 GMT, "Steve" <no****@nospam.spam> wrote:

Typically yes. That's the power of OLE for you.
-Tom.

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 machinethat only had Access97 and correspondingly only had Microsoft Office 8
library? Would Access97 be smart enough to go to the Microsoft Office 8
library when it needed to?

Thanks,

Steve

Nov 13 '05 #3
That's not been my experience.
If an Access 97 database has a reference to Office 8, it will run happily on
a machine with Office 10, but I haven't had any success in the opposite
scenario.
In such cases, I've had good success using late binding.

hth
- Turtle

"Tom van Stiphout" <no*************@cox.net> wrote in message
news:l3********************************@4ax.com...
On Thu, 10 Feb 2005 14:07:44 GMT, "Steve" <no****@nospam.spam> wrote:

Typically yes. That's the power of OLE for you.
-Tom.

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 machinethat only had Access97 and correspondingly only had Microsoft Office 8
library? Would Access97 be smart enough to go to the Microsoft Office 8
library when it needed to?

Thanks,

Steve

Nov 13 '05 #4
Tom,

If it is not an imposition, would you take a look at my previous post
"Commandbars Controls Collection" (back 8 posts) and see if you have any
idea why the Dim statements work in one place but not the other. Are you
saying here that if I set a reference to Microsoft Office 10 library (but
only used Access97 stuff) and dimmed Cbr as CommandBar and dimmed Ctl as
CommandBarControl that the database would run on a machine with only
Access97 (Microsoft Office 10 library )?

Steve
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:l3********************************@4ax.com...
On Thu, 10 Feb 2005 14:07:44 GMT, "Steve" <no****@nospam.spam> wrote:

Typically yes. That's the power of OLE for you.
-Tom.

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 machinethat only had Access97 and correspondingly only had Microsoft Office 8
library? Would Access97 be smart enough to go to the Microsoft Office 8
library when it needed to?

Thanks,

Steve

Nov 13 '05 #5
Turtle,

If it is not an imposition, would you take a look at my previous post
"Commandbars Controls Collection" (back 8 posts) and see if you have any
idea why the Dim statements work in one place but not the other. I'm using
late binding. Are you
saying here that if I set a reference to Microsoft Office 10 library (but
only used Access97 stuff) and dimmed Cbr as CommandBar and dimmed Ctl as
CommandBarControl that the database WOULD NOT run on a machine with only
Access97 (Microsoft Office 10 library )?

Thanks,

Steve

"MacDermott" <ma********@nospam.com> wrote in message
news:J6*****************@newsread3.news.atl.earthl ink.net...
That's not been my experience.
If an Access 97 database has a reference to Office 8, it will run happily on a machine with Office 10, but I haven't had any success in the opposite
scenario.
In such cases, I've had good success using late binding.

hth
- Turtle

"Tom van Stiphout" <no*************@cox.net> wrote in message
news:l3********************************@4ax.com...
On Thu, 10 Feb 2005 14:07:44 GMT, "Steve" <no****@nospam.spam> wrote:

Typically yes. That's the power of OLE for you.
-Tom.

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 machinethat only had Access97 and correspondingly only had Microsoft Office 8
library? Would Access97 be smart enough to go to the Microsoft Office 8
library when it needed to?

Thanks,

Steve


Nov 13 '05 #6
I would not expect a database with a reference to Microsoft Office 10
library to run on a machine with only Microsoft Office 8 library installed.

"Late binding" means more than just declaring a variable as Object.
If you're using late binding, you remove the reference to Microsoft Office
from your database's references entirely. You'd then use a syntax like
this:
Set cbr=CreateObject("Office.CommandBar") (WARNING: AIR CODE)
to instantiate your object.
Otherwise, you're not really using late binding.

HTH
- Turtle

"Steve" <no****@nospam.spam> wrote in message
news:kv***************@newsread3.news.atl.earthlin k.net...
Turtle,

If it is not an imposition, would you take a look at my previous post
"Commandbars Controls Collection" (back 8 posts) and see if you have any
idea why the Dim statements work in one place but not the other. I'm using
late binding. Are you
saying here that if I set a reference to Microsoft Office 10 library (but
only used Access97 stuff) and dimmed Cbr as CommandBar and dimmed Ctl as
CommandBarControl that the database WOULD NOT run on a machine with only
Access97 (Microsoft Office 10 library )?

Thanks,

Steve

"MacDermott" <ma********@nospam.com> wrote in message
news:J6*****************@newsread3.news.atl.earthl ink.net...
That's not been my experience.
If an Access 97 database has a reference to Office 8, it will run
happily on
a machine with Office 10, but I haven't had any success in the opposite
scenario.
In such cases, I've had good success using late binding.

hth
- Turtle

"Tom van Stiphout" <no*************@cox.net> wrote in message
news:l3********************************@4ax.com...
On Thu, 10 Feb 2005 14:07:44 GMT, "Steve" <no****@nospam.spam> wrote:

Typically yes. That's the power of OLE for you.
-Tom.
>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 had Microsoft Office 8 >library? Would Access97 be smart enough to go to the Microsoft Office 8 >library when it needed to?
>
>Thanks,
>
>Steve
>



Nov 13 '05 #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...
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....
0
by: AllenF | last post by:
I have a library (named DSG) created in C# which other programs use to build Excel spreadsheeets. This library uses the office PIAs "Microsoft.Office.Interop.Excel.dll" and also references the...
4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
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. ...
6
by: Excel 009 | last post by:
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...
4
by: =?Utf-8?B?QXJ0?= | last post by:
Hello, I saw this posting and it is the closest place to ask this question. I am simply trying to create a Word document from a VB application I am wrting with Visual Studio 2005. I cut a...
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: 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...
0
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
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: 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:
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...
0
marktang
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,...
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...
0
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...

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.