473,670 Members | 2,327 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access 2000 Find Inbox at Runtime

Hi Everybody

I have an Access 2000 MDB with the Usual FrontEnd/BackEnd Arrangement.
The program depends on being able link to "Inbox" in Ms Outlook 2000.

This is easy enough to do from the FrontEnd and has been OK while me
and the missus have been using the program ourselves.

Now We want to be able to give the program to others who mainly do
not have MS Access installed., or if they do, have no idea what it is
about

To make matters worse some are using different versions of MS Outlook
MS Outlook 2003 50%
MS Outlook 2002 25%
MS Outlook 2000 25%

The program has to be supplied as a runtime so something that operates
from a form would be ideal.

It would need to check if any version of Ms Outlook is present
determine which one and then link to it.

This has taxed my brain for more than a few hours, and I wondered if
anyone else had any ideas.

Regards Smiley Bob

Nov 13 '05 #1
5 1688
The easiest way to test whether Outlook is present is to see what
CreateObject("O utlook.Applicat ion") returns.

The article at
http://msdn.microsoft.com/library/en...olexcoutlk.asp may be
at least close to what you're looking for, in terms of database linking
code.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Bob Dydd" <sm*******@hotm ail.com> wrote in message
news:a6******** *************** *********@4ax.c om...
Hi Everybody

I have an Access 2000 MDB with the Usual FrontEnd/BackEnd Arrangement.
The program depends on being able link to "Inbox" in Ms Outlook 2000.

This is easy enough to do from the FrontEnd and has been OK while me
and the missus have been using the program ourselves.

Now We want to be able to give the program to others who mainly do
not have MS Access installed., or if they do, have no idea what it is
about

To make matters worse some are using different versions of MS Outlook
MS Outlook 2003 50%
MS Outlook 2002 25%
MS Outlook 2000 25%

The program has to be supplied as a runtime so something that operates
from a form would be ideal.

It would need to check if any version of Ms Outlook is present
determine which one and then link to it.

This has taxed my brain for more than a few hours, and I wondered if
anyone else had any ideas.

Regards Smiley Bob

Nov 13 '05 #2
DL
You will need Access Developers addition, in order to distribute as a
runtime. Your installation installer would also need to determine version of
MDAC installed on the sys, in order to asertain whether another version
should be installed

"Bob Dydd" <sm*******@hotm ail.com> wrote in message
news:a6******** *************** *********@4ax.c om...
Hi Everybody

I have an Access 2000 MDB with the Usual FrontEnd/BackEnd Arrangement.
The program depends on being able link to "Inbox" in Ms Outlook 2000.

This is easy enough to do from the FrontEnd and has been OK while me
and the missus have been using the program ourselves.

Now We want to be able to give the program to others who mainly do
not have MS Access installed., or if they do, have no idea what it is
about

To make matters worse some are using different versions of MS Outlook
MS Outlook 2003 50%
MS Outlook 2002 25%
MS Outlook 2000 25%

The program has to be supplied as a runtime so something that operates
from a form would be ideal.

It would need to check if any version of Ms Outlook is present
determine which one and then link to it.

This has taxed my brain for more than a few hours, and I wondered if
anyone else had any ideas.

Regards Smiley Bob

Nov 13 '05 #3
Bob Dydd <sm*******@hotm ail.com> wrote:
I have an Access 2000 MDB with the Usual FrontEnd/BackEnd Arrangement.
The program depends on being able link to "Inbox" in Ms Outlook 2000.

This is easy enough to do from the FrontEnd and has been OK while me
and the missus have been using the program ourselves.

Now We want to be able to give the program to others who mainly do
not have MS Access installed., or if they do, have no idea what it is
about
For those without the runtime you need to use the MOD to create a runtime. Trouble
is it has problems when distributed to sites running different versions of software
and may no longer be available for A2000.

Microsoft Access (Office) Developer Edition FAQ
http://www.granite.ab.ca/access/developereditionfaq.htm
To make matters worse some are using different versions of MS Outlook
MS Outlook 2003 50%
MS Outlook 2002 25%
MS Outlook 2000 25%


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
Nov 13 '05 #4
On Fri, 30 Jul 2004 19:01:03 GMT, Tony Toews <tt****@teluspl anet.net>
wrote:

Hi All

Thanks to everyone that answered

We have the Access 2000 developers edition and have distributed a few
with the "Package and Deployment manager (PDM). but most users are
having difficulty with relinking the backend AND finding and Linking
the Inbox.

I am using a linking form that I bought from Database Creations. THis
has all the code in the code behind forms to refresh links and is able
to cope with more that one back end. .... The difficulty is that it
"sees" the inbox as a table that it cannot link to and produces an
error. So I am a bit stuck there as well.

If anyone has any pointers I would be most grateful.

The PDM that is supplied with ODE is NOT a great piece of Kit. IMHO.
Barely adequate. So before further redistribution this will have to be
replaced.

Reading through the groups, the bulk of opinion seem to be to use
Installshield in conjuction with Sage Scripts, but I have yet to try
this out. About $900 to find the answer to that one, Whew!!
Bob Dydd <sm*******@hotm ail.com> wrote:
I have an Access 2000 MDB with the Usual FrontEnd/BackEnd Arrangement.
The program depends on being able link to "Inbox" in Ms Outlook 2000.

This is easy enough to do from the FrontEnd and has been OK while me
and the missus have been using the program ourselves.

Now We want to be able to give the program to others who mainly do
not have MS Access installed., or if they do, have no idea what it is
about


For those without the runtime you need to use the MOD to create a runtime. Trouble
is it has problems when distributed to sites running different versions of software
and may no longer be available for A2000.

Microsoft Access (Office) Developer Edition FAQ
http://www.granite.ab.ca/access/developereditionfaq.htm
To make matters worse some are using different versions of MS Outlook
MS Outlook 2003 50%
MS Outlook 2002 25%
MS Outlook 2000 25%


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


Nov 13 '05 #5
Bob Dydd <sm*******@hotm ail.com> wrote:
We have the Access 2000 developers edition and have distributed a few
with the "Package and Deployment manager (PDM). but most users are
having difficulty with relinking the backend AND finding and Linking
the Inbox.

I am using a linking form that I bought from Database Creations. THis
has all the code in the code behind forms to refresh links and is able
to cope with more that one back end. .... The difficulty is that it
"sees" the inbox as a table that it cannot link to and produces an
error. So I am a bit stuck there as well.

If anyone has any pointers I would be most grateful.
I've never linked to the Inbox in Outlook from Access. Hopefully others have.
The PDM that is supplied with ODE is NOT a great piece of Kit. IMHO.
Barely adequate. So before further redistribution this will have to be
replaced.

Reading through the groups, the bulk of opinion seem to be to use
Installshiel d in conjuction with Sage Scripts, but I have yet to try
this out. About $900 to find the answer to that one, Whew!!


Yup, SageKey seems to be the best alternative mentioned in the newsgroups.

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
Nov 13 '05 #6

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

Similar topics

0
1716
by: Deano | last post by:
I know this is a long, long shot since I've never seen anyone else confess to owning this software but..... Does anyone know what the correct sequence is to get the MSI wizard functioning correctly on a windows 2000 SP3 pc? I have had to reinstall following a system crash and the thing just won't play ball. This is what I'm currently doing;
0
2006
by: Neil Sargent | last post by:
This is a general posting of how I fixed a problem created by using the Access 97 ODE Setup Wizard on a Windows XP machine. I hope it helps anyone who comes across the problem saves them the 3 days its taken me to sort out. The application generates the following error: "Incompatible version of the RPC stub" This occurs when trying to run Outlook to send an email. However I expect it would occur for any operation which uses...
0
1226
by: Bob Dydd | last post by:
Hi Everybody I am looking for a way to connect and disconnect to the Ms Outlook Inbox programmatically from a command button on a form . At the moment it is easy enough to do by going to the database container and doing the following: 1. select file 2. select Get external data
4
2744
by: PitchBlackSheep | last post by:
I have an office of Real Estate agents who use our (single) Access 2000 database to keep track of clients. Our agents email our clients everyday using Outlook 2000. I'm trying to find a way to have those emails associated with the client's record. Any ideas? All I need is a nudge in the right direction ;) Thank you in advance!!!
4
4390
by: Aliza Klein | last post by:
Apologies in advance as I am SURE this has been asked 100 times - but I haven't got a simple answer: I have MS Office XP Developer and have created an installation package (with the runtime) for an Access 2002 database. The problem: when installing on a Windows XP machine, I get the following error: The Office System Pack cannot be installed on this system because it
1
457
by: Andy Davis | last post by:
Can I create a runtime application using Access 2000, and if so how? I currently have MS Access 2003, but my client does not have MS Access installed on their PC and I want to show them an example application first before purchasing the runtime software. I understand that Access 2000 runtime can be downloaded from Office online. Any advice would be most helpful. Thaanks in advance Dawn Davis
3
1494
by: bobdydd | last post by:
Hi Everybody I have an Access 2000 query that "sees" the Outlook 2000 Inbox. This works fine until an email arrives where the subject field is empty (Null) This causes a type mismatch message. I have tried "Is Not Null" No Joy.
5
1992
by: bobdydd | last post by:
Hi Everbody Access 2000, Windows XP, Outlook 2000, When I open my database it is set to attach to my Outlook 2000 Inbox. So far so good..... The attaching procedure works OK and I am able to see my Outlook 2000 Inbox........Which I can view as a table, within my Access 2000 database.
33
7382
by: larpup | last post by:
I checked all my references prior to compiling. The mdb or mde works perfectly with full version of A2003. When running on a computer with RunTime i receive an error that a reference is broken to msoutl.olb version 9.2. Can anyone shed some light on this as I need to deploy this application as soon as possible. Any information regarding this would be greatly appreciated.
0
8471
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8388
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,...
0
8907
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...
1
8593
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,...
1
6218
isladogs
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...
0
5687
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();...
1
2804
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
2
2046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1799
bsmnconsultancy
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...

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.