?
Solved

Hyperlink in Outlook that opens a Form in Access

Posted on 2002-07-03
5
Medium Priority
?
295 Views
Last Modified: 2010-04-08
I want to create a hyperlink in Outlook, oh no, not any hyperlink, but one that is able to Open a Form inside of an Access database. First of all is this possible? and if Yes, HOW?
0
Comment
Question by:CyberAccess
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:Neo_mvps
ID: 7128602
programmatically....

user clicks a button or label and your click event does something like....

set objOutlook = CreateObject("Outlook.Application")
set objNamespace = objOutlook.GetNamespace("MAPI")
objNamespace.Logon "","", False, False

set colItems = objNamespace.GetDefaultFolder(4).Items
set objMsg = colItems.Add ("IPM.Note.Custom.Message.Class.Company")
objMsg.Display
set objMsg = Nothing
set colItems = Nothing
objNamespace.Logoff
Set objNamespace = Nothing
Set objOutlook = Nothing

0
 

Author Comment

by:CyberAccess
ID: 7137554
That is not what I am trying to do. I want to be inside of Outlook, and have a hyperlink in Outlook that opens a form in my Access database.
0
 
LVL 16

Accepted Solution

by:
Neo_mvps earned 600 total points
ID: 7137675
Then you would do something like this in VBScript behind an Outlook form.

Dim oAccess
Set oAccess = CreateObject("Access.Application")
oAccess.OpenCurrentDatabase "C:\database\TestDatabase.mdb"
oAccess.DoCmd.OpenForm "Test Form"
oAccess.Visible = True

0
 

Author Comment

by:CyberAccess
ID: 7138945
Thanks, I think i can handle the rest from here. You have helped me get a jump on things and Im off to a good start. Check back for more points because i might have more questions in the near future. Thanks Again.
0
 
LVL 16

Expert Comment

by:Neo_mvps
ID: 7139217
your welcome... and i usually do check back often. ;)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question