A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Accessing Outlook on another workstation



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 9th 06, 06:11 PM posted to microsoft.public.outlook.program_vba
Jim Burke in Novi
external usenet poster
 
Posts: 6
Default Accessing Outlook on another workstation

I asked this on the Access forum but didn't get a workable answer.
I have
an access application that will be running on multiple workstations on a
network. One of those workstations will have the Access DB that has the
tables, which the application will be linked to, and will also have Outlook
running, being used as a central appointment scheduler. I want my Access appl
to be able to look at the Outlook appointments, regardless of which
workstation they are running on. The way I have it set up right now Access
only looks at the Outlook that is running on the same workstation. How do I
connect to Outlook on a different machine? Here's how I am currently opening
my Outlook connection:

Set objOutlook = CreateObject("Outlook.Application")
Set outlookNS = objOutlook.GetNamespace("MAPI")

I tried using GetObject("Outlook.Application","computerName") instead of
CreateObject, but that gives me an error.

Any help is greatly appreciated!
Ads
  #2  
Old February 9th 06, 06:26 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Accessing Outlook on another workstation

Did you try Namespace.GetSharedDefaultFolder (assuming you are using
Exchange)?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Jim Burke in Novi" wrote in
message ...
I asked this on the Access forum but didn't get a workable answer.
I have
an access application that will be running on multiple workstations on a
network. One of those workstations will have the Access DB that has the
tables, which the application will be linked to, and will also have
Outlook
running, being used as a central appointment scheduler. I want my Access
appl
to be able to look at the Outlook appointments, regardless of which
workstation they are running on. The way I have it set up right now Access
only looks at the Outlook that is running on the same workstation. How do
I
connect to Outlook on a different machine? Here's how I am currently
opening
my Outlook connection:

Set objOutlook = CreateObject("Outlook.Application")
Set outlookNS = objOutlook.GetNamespace("MAPI")

I tried using GetObject("Outlook.Application","computerName") instead of
CreateObject, but that gives me an error.

Any help is greatly appreciated!



  #3  
Old February 9th 06, 06:48 PM posted to microsoft.public.outlook.program_vba
Jim Burke in Novi
external usenet poster
 
Posts: 6
Default Accessing Outlook on another workstation

Outlook will possibly only be running on the one workstation. I want to run a
distributed Access application, with Office only on the workstation that will
be running Outlook.

"Dmitry Streblechenko" wrote:

Did you try Namespace.GetSharedDefaultFolder (assuming you are using
Exchange)?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Jim Burke in Novi" wrote in
message ...
I asked this on the Access forum but didn't get a workable answer.
I have
an access application that will be running on multiple workstations on a
network. One of those workstations will have the Access DB that has the
tables, which the application will be linked to, and will also have
Outlook
running, being used as a central appointment scheduler. I want my Access
appl
to be able to look at the Outlook appointments, regardless of which
workstation they are running on. The way I have it set up right now Access
only looks at the Outlook that is running on the same workstation. How do
I
connect to Outlook on a different machine? Here's how I am currently
opening
my Outlook connection:

Set objOutlook = CreateObject("Outlook.Application")
Set outlookNS = objOutlook.GetNamespace("MAPI")

I tried using GetObject("Outlook.Application","computerName") instead of
CreateObject, but that gives me an error.

Any help is greatly appreciated!




  #4  
Old February 9th 06, 06:53 PM posted to microsoft.public.outlook.program_vba
Josh Einstein
external usenet poster
 
Posts: 57
Default Accessing Outlook on another workstation

Assuming that Outlook can be used over DCOM (which I have no idea but
wouldn't be surprised if not), DCOM is hard to setup and insecure.

Depending on your familiarity with .NET, such an application would be
fairly easy to expose via a .NET remoting service in an Add In. But that's a
major architectural change. The only tricky part is making sure the Outlook
API is only accessed on the UI thread. You could do that with an invisible
form or something.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"Jim Burke in Novi" wrote in
message ...
I asked this on the Access forum but didn't get a workable answer.
I have
an access application that will be running on multiple workstations on a
network. One of those workstations will have the Access DB that has the
tables, which the application will be linked to, and will also have
Outlook
running, being used as a central appointment scheduler. I want my Access
appl
to be able to look at the Outlook appointments, regardless of which
workstation they are running on. The way I have it set up right now Access
only looks at the Outlook that is running on the same workstation. How do
I
connect to Outlook on a different machine? Here's how I am currently
opening
my Outlook connection:

Set objOutlook = CreateObject("Outlook.Application")
Set outlookNS = objOutlook.GetNamespace("MAPI")

I tried using GetObject("Outlook.Application","computerName") instead of
CreateObject, but that gives me an error.

Any help is greatly appreciated!



  #5  
Old February 9th 06, 08:43 PM posted to microsoft.public.outlook.program_vba
Jim Burke in Novi
external usenet poster
 
Posts: 6
Default Accessing Outlook on another workstation

I don't know what DCOM is. I'm using Access 2000, and simply want the ability
to look at Outlook folders from a workstation other than the one where the
Access application is running.

"Josh Einstein" wrote:

Assuming that Outlook can be used over DCOM (which I have no idea but
wouldn't be surprised if not), DCOM is hard to setup and insecure.

Depending on your familiarity with .NET, such an application would be
fairly easy to expose via a .NET remoting service in an Add In. But that's a
major architectural change. The only tricky part is making sure the Outlook
API is only accessed on the UI thread. You could do that with an invisible
form or something.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"Jim Burke in Novi" wrote in
message ...
I asked this on the Access forum but didn't get a workable answer.
I have
an access application that will be running on multiple workstations on a
network. One of those workstations will have the Access DB that has the
tables, which the application will be linked to, and will also have
Outlook
running, being used as a central appointment scheduler. I want my Access
appl
to be able to look at the Outlook appointments, regardless of which
workstation they are running on. The way I have it set up right now Access
only looks at the Outlook that is running on the same workstation. How do
I
connect to Outlook on a different machine? Here's how I am currently
opening
my Outlook connection:

Set objOutlook = CreateObject("Outlook.Application")
Set outlookNS = objOutlook.GetNamespace("MAPI")

I tried using GetObject("Outlook.Application","computerName") instead of
CreateObject, but that gives me an error.

Any help is greatly appreciated!




  #6  
Old February 10th 06, 01:56 AM posted to microsoft.public.outlook.program_vba
Josh Einstein
external usenet poster
 
Posts: 57
Default Accessing Outlook on another workstation

Right, what you were trying to do, using GetObject to retrieve an object
reference on another machine is DCOM. It's fairly complex and insecure.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"Jim Burke in Novi" wrote in
message ...
I don't know what DCOM is. I'm using Access 2000, and simply want the
ability
to look at Outlook folders from a workstation other than the one where the
Access application is running.

"Josh Einstein" wrote:

Assuming that Outlook can be used over DCOM (which I have no idea but
wouldn't be surprised if not), DCOM is hard to setup and insecure.

Depending on your familiarity with .NET, such an application would be
fairly easy to expose via a .NET remoting service in an Add In. But
that's a
major architectural change. The only tricky part is making sure the
Outlook
API is only accessed on the UI thread. You could do that with an
invisible
form or something.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"Jim Burke in Novi" wrote in
message ...
I asked this on the Access forum but didn't get a workable answer.
I have
an access application that will be running on multiple workstations on
a
network. One of those workstations will have the Access DB that has the
tables, which the application will be linked to, and will also have
Outlook
running, being used as a central appointment scheduler. I want my
Access
appl
to be able to look at the Outlook appointments, regardless of which
workstation they are running on. The way I have it set up right now
Access
only looks at the Outlook that is running on the same workstation. How
do
I
connect to Outlook on a different machine? Here's how I am currently
opening
my Outlook connection:

Set objOutlook = CreateObject("Outlook.Application")
Set outlookNS = objOutlook.GetNamespace("MAPI")

I tried using GetObject("Outlook.Application","computerName") instead
of
CreateObject, but that gives me an error.

Any help is greatly appreciated!






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange behavior after workstation re-install Robert Perez Outlook - General Queries 1 March 8th 06 07:11 PM
transfer contacts from peer-to-peer workstation to SBS2003 worksta allenj Outlook - Using Contacts 2 February 21st 06 03:11 PM
Accessing attachments in Outlook using MAPI [email protected] Add-ins for Outlook 1 February 9th 06 08:09 PM
Outlook 2003 crashes when accessing contacts Taxus Outlook - Using Contacts 0 January 27th 06 03:26 PM
Outlook 2003 accessing other users calendar RobM Outlook - Calandaring 0 January 26th 06 02:39 PM


All times are GMT +1. The time now is 06:49 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.