Results 1 to 7 of 7
  1. #1
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Run application from Outlook? (A2k)

    Okay, so in addition to the great code provided by JohnBF, I would like to open the program ClickYes before my code runs, and close if after the code is finished, however I can't find any of the commands to do so (call, runapp, docmd, etc..) I can't find anything, and my key words for this are too vague, so I end up with way too many results (for example, the word application....just about every other thread has the word in it). Any advice?
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What's more, you deserve to be hacked." -Richard Clarke

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Run application from Outlook? (A2k)

    Why would you do that? Just set ClickYes to start automatically and to run in the background.

  3. #3
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Run application from Outlook? (A2k)

    Hmmn, okay <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Thanks <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Run application from Outlook? (A2k)

    If you are referring only to <!post=this thread & code,563091>this thread & code<!/post>, you shouldn't need ClickYes. The Outlook Object Model Guard mostly operates on attempts to code mail items and address lists. I didn't get any OOM Guard warnings while testing the elementary code in that post.
    -John ... I float in liquid gardens
    UTC -7ąDS

  5. #5
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Run application from Outlook? (A2k)

    John,
    I've added on to the code you gave me, with .Assign. ClickYes works great. I can't figure out Retribution...
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  6. #6
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Run application from Outlook? (A2k)

    Oh, yes, .Assign would hit the Address Lists (including Contacts set as Address Lists), so you would need ClickYes.

    Retribution? Do you mean Redemption? I don't use it - from what I've seen many of the Objects and Properties are the same except for their being called "safe", perhaps another Lounger can help you with Redemption.
    -John ... I float in liquid gardens
    UTC -7ąDS

  7. #7
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Run application from Outlook? (A2k)

    <img src=/S/rofl.gif border=0 alt=rofl width=15 height=15>
    Yes, I meant redemption. Since ClickYes takes care of my problem, I suppose I'll stay away from it. Thanks again for all your help.
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •