473,790 Members | 3,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1540
"John" <Jo**@nospam.in fovis.co.ukwrot e:
>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.in fovis.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.in fovis.co.ukwrot e:
>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.co m
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_I nfotrakker.comw rote in message
news:5b******** *************** *********@4ax.c om...
On Thu, 3 May 2007 01:39:24 +0100, "John" <Jo**@nospam.in fovis.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.co m
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
1339
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. Here's a simple example to illustrate the point. I created the C++-based server for this example by pilfering some code in Andrew Troelsen's book on COM and ATL. car = Dispatch("ScriptibleCoCar.DualCoCar") person =...
0
248
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 have some com+ components and they are common to all sites and If we make any change to the COM+ for one web site it will break others, Is there any way we can launch multiple COM+ or we can define our dlls to read a perticular version of the DLL. ...
2
528
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 for documentation on a number of issues, including versioning of web service interfaces... I've spent the last few hours looking through books, Google, MSDN and surprisingly I have found little or nothing that explains/shows how to practically...
1
1532
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 registry key: HKEY_CURRENT_USER\Software\Microsoft\Office\OfficeApp \Addins\ProgID
1
1341
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 need some more componentes ? Thanks
5
3625
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 route by using late binding? Could someone please give me an example of using late binding for calling office apps? Thanks
24
2870
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. MSVCR80.DLL and MSVCR80D.DLL are present and accounted for in Windows\System32. This is something else. Message says that the application configuration is incorrect. I just compiled a simple "Hello.cpp" app that exhibits the same behavior so...
4
1687
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 2000. She is a high school student. English is not her first language. I find the "Lookup" facility in Word 2003 very useful. I think she woud
0
5779
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 other vendors documents to SQL Server (Blobs) and enter the classification data for a document, an asign a circuit of persons who have to approve before being accesible to readers (lists of readers you can add too). I come up to serach for a...
0
10419
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10201
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 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...
1
10147
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,...
0
9987
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9023
agi2029
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...
0
6770
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();...
0
5424
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...
0
5552
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3709
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.