Solved

Hyperlink in Outlook that opens a Form in Access

Posted on 2002-07-03
5
261 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
  • 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 150 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now