Problem with objOutlook (only from 1 PC) - InfoPath Dev
in

InfoPath Dev

Problem with objOutlook (only from 1 PC)

Last post 12-10-2010 03:03 PM by AzuDaioh. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 12-10-2010 03:03 PM

    Problem with objOutlook (only from 1 PC)

    Hi Everyone,

    I hope someone can help me figure this one. From infopath, I have a transmit button that does two things (1) submit the data onto a SharePoint list and (2) sends an automatic email.  I am using the following code for the automatic email:

    set objOutlook = CreateObject("Outlook.Application")
    set objOutlookMsg = objOutlook.CreateItem(0)

    with objOutlookMsg

    ....

    end with

    The code works perfectly except for one computer.  We have one person that has 2 offices with 2 different pcs.  The 'transmit' button works perfectly in one PC but he couldnt get it to work properly in the other PC. With the problematic PC, each time he clicks the transmit button, it only goes through the rules to submit the data onto the SharePoint list but it skips the code (i.e. he doesnt get the 2 Outlook dialog boxes to allow communication and to confirm the automatic email).

    Is there any settings in Outlook or Infopath that could cause this?

    Any help or assistance is greatly appreciated.

     

    Thank you,

    Azu

     

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.