Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

command line switch to search for contact

Posted on 2004-03-30
4
Medium Priority
?
312 Views
Last Modified: 2010-04-08
Are there unlisted switches or a simple vb thing that would open outlook and search for a (passed-parameter) contact?
0
Comment
Question by:hishopper
[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
  • 2
  • 2
4 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 10716664
check this PAQ

http:Q_20190056.htm
0
 
LVL 1

Author Comment

by:hishopper
ID: 10716715
The page cannot be found
0
 
LVL 49

Accepted Solution

by:
sunray_2003 earned 375 total points
ID: 10716723
Sorry i missed the html

http:Q_20190056.html
0
 
LVL 1

Author Comment

by:hishopper
ID: 10717240
K.. you get the points, but as a freebie could anyone help me do this with Access' form of VB?  (I don't know VB at all).
I tried the following:

    Private Sub Command27_Click()
**Dim Outapp As Outlook.Application
    Dim olnamespace As Outlook.NameSpace
    Dim mycontacts  As MAPIFolder
    Dim myitem As Outlook.ContactItem

    'Open OutLook
    Set Outapp = CreateObject("OutLook.application")
    'Initialize MAPI session
    Set olnamespace = Outapp.GetNamespace("MAPI")

    Set mycontacts = olnamespace.GetDefaultFolder(olFolderContacts) 'Open the Folder of contacts

    'You can use the method Find  or Restric to search
    Set myitem = mycontacts.Items.Find("[Name] =  ""*Jira*"" ")

    End Sub

I get: Compile Error: User-Defined type not defined
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Mailbox Overload?
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: …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

670 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