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

Office apps versioning issue

Hi

I have an access app that uses word and outlook and both are referenced in
the access app. The problem is that my client have outlook 2000 and word
2000 while my development machine has outlook 2003 and word 2003. How can I
package the app for distribution so that it installs fine at clients end?

Thanks

Regards
May 3 '07 #1
4 1518
"John" <Jo**@nospam.infovis.co.ukwrote:
>I have an access app that uses word and outlook and both are referenced in
the access app. The problem is that my client have outlook 2000 and word
2000 while my development machine has outlook 2003 and word 2003. How can I
package the app for distribution so that it installs fine at clients end?
Late binding means you can safely remove the reference and only have an error when
the app executes lines of code in question. Rather than erroring out while starting
up the app and not allowing the users in the app at all. Or when hitting a mid, left
or trim function call.

You'll want to install the reference if you are programming or debugging and want to
use the object intellisense while in the VBA editor. Then,. once your app is
running smoothly, remove the reference and setup the late binding statements.

Sample code:
' Declare an object variable to hold the object
' reference. Dim as Object causes late binding.
Dim objWordDoc As Object
Set objWordDoc = CreateObject(" Word.Document")

For more information including additional text and some detailed links see the "Late
Binding in Microsoft Access" page at http://www.granite.ab.ca/access/latebinding.htm

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
May 3 '07 #2
On Thu, 3 May 2007 01:39:24 +0100, "John" <Jo**@nospam.infovis.co.uk>
wrote:

Ship it with the lowest supported version. Buy Office2000 if you have
to (I'm sure you can find a used copy on eBay).

Or, if you want to do it the hard way, use Late Binding.

Or, if you think the user can handle it, have her fix up the
References herself.

-Tom.

>Hi

I have an access app that uses word and outlook and both are referenced in
the access app. The problem is that my client have outlook 2000 and word
2000 while my development machine has outlook 2003 and word 2003. How can I
package the app for distribution so that it installs fine at clients end?

Thanks

Regards
May 3 '07 #3
On Thu, 3 May 2007 01:39:24 +0100, "John" <Jo**@nospam.infovis.co.ukwrote:
>Hi

I have an access app that uses word and outlook and both are referenced in
the access app. The problem is that my client have outlook 2000 and word
2000 while my development machine has outlook 2003 and word 2003. How can I
package the app for distribution so that it installs fine at clients end?
In addition to Tony's suggestion, you should also remember to develop to the "lowest common denominator" ... if your
target/client environment hosts only Office 2000, then you must be sure that your code will work in that environment.
Many features of Office/Access 2003 are NOT available in 2000 (the Printer object, for instance) so if you've used any
02 or 03 specific features, your application will fail on a machine running 2000, even with late binding.

Testing in the "target" environment will reveal these problems. A good pre-deployment routine would include thoroughly
testing your app on a clean machine with your "minimum requirements" in place. In this case, that would be one with
Office 2000 installed. You can use an old PC that's been wiped clean and then built to those minimums, or you can use
virtual machine software. I use vmWare, but there is also Virtual PC from MS, which is now free:

http://www.microsoft.com/windows/dow...c/default.mspx

Of course you must still have licensing for the OS and any other programs installed in VPC.
Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
May 3 '07 #4
I woudl reccomend not using Access 2000 for any reason

I mean-- you guys shouldn't be supporting old versions of Access-- it's just
not cost effective
"Scott McDaniel" <scott@NoSpam_Infotrakker.comwrote in message
news:5b********************************@4ax.com...
On Thu, 3 May 2007 01:39:24 +0100, "John" <Jo**@nospam.infovis.co.uk>
wrote:
>
Hi

I have an access app that uses word and outlook and both are referenced
in
the access app. The problem is that my client have outlook 2000 and word
2000 while my development machine has outlook 2003 and word 2003. How can
I
package the app for distribution so that it installs fine at clients end?

In addition to Tony's suggestion, you should also remember to develop to
the "lowest common denominator" ... if your
target/client environment hosts only Office 2000, then you must be sure
that your code will work in that environment.
Many features of Office/Access 2003 are NOT available in 2000 (the Printer
object, for instance) so if you've used any
02 or 03 specific features, your application will fail on a machine
running 2000, even with late binding.
>
Testing in the "target" environment will reveal these problems. A good
pre-deployment routine would include thoroughly
testing your app on a clean machine with your "minimum requirements" in
place. In this case, that would be one with
Office 2000 installed. You can use an old PC that's been wiped clean and
then built to those minimums, or you can use
virtual machine software. I use vmWare, but there is also Virtual PC from
MS, which is now free:
>
http://www.microsoft.com/windows/dow...c/default.mspx

Of course you must still have licensing for the OS and any other programs
installed in VPC.
>

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com

May 4 '07 #5

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

Similar topics

0
by: Jim Kerr | last post by:
Does makepy always respect versioning of interfaces? It appears as though makepy correctly handles versioning of objects you obtain directly, but not for objects you get via a function call. ...
0
by: SH | last post by:
We have a web site on our server and the site has got COM+ components written by us. Problem: We are trying to launch multiple websites for the same code with different URLs, but the problem is we...
2
by: PatrickSA | last post by:
Hi, Am new to web services, so apologies for the basic nature of the question - and apologies in advance if this is the wrong newsgroup. We're building a new web service and I'm looking around...
1
by: Jacques | last post by:
Hello, I'm creating an Office Add-in. The add-in works OK (I used the KB Article - 302901). The article states that you can change the add-in list of Office Apps by modifying the following...
1
by: Alberto | last post by:
Hi all. I'd like to know if the "architect" version of Visual Studio .NET includes the environment to develop Office application. Any way is it possible to devolpo Office XP apps with VS .Net or I...
5
by: John | last post by:
Hi I need to call methods from office apps from my vb.net app. Some of my clients are still on office 2000 so to maintain compatibility I can not use office 2003 PIA. Can I avoid the whole PIA...
24
by: Dave | last post by:
I understand that VS.NET is supposed to compile native Win32 apps that do not require the .Net runtime. If that's the case then there is something else from the VS200x package that is required. ...
4
by: Lyle Fairfield | last post by:
I asked this question in Microsoft.Public.Word two days ago but I have not received an answer. I believe there are Office Experts here who may be able to help. --------- "A friend has Office...
0
by: martinb2007 | last post by:
Hi everybody! From Buenos Aires. A brief explanation of the application I'm developing. Any help or discussion about welcomed. I'm developing a Documents Manager that allows to upload office and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.