Third party application can list contacts from shared contacts folder, but not retrieve

I am working with a third party developer on a problem occurring in their application.<o:p></o:p>
The software displays the contact list and retrieves a fax number from Outlook. I wish to
return a number from an Outlook Shared Contacts Folder.
This works well under Windows 7 with Outlook 2013 in cached mode..<o:p></o:p>
Running the same software in a terminal services window on a Remote Desktop Server running
Server 2008 R2 with Outlook in Online mode an error is produced when trying to
do the same. The contact list is shown, but when the code tries to retrieve the
displayed record there is the following error:<o:p></o:p>
x664bc8bcf689f252.x36f18e7b3c08fff5()
System.Runtime.InteropServices.COMException (0x80040201): The operation failed.
at Microsoft.Office.Interop.Outlook.AddressEntry.GetContact()
at Zetadocs.Outlook.OM.x664bc8bcf689f252.x36f18e7b3c08fff5()<o:p></o:p>
If I open Outlook myself first, browse to People and click on the Shared Contacts Folder,
then run the application, there is no error and everything works fine. It is as
if starting Outlook from code is not loading all contact folder information.<o:p></o:p>
Have you any suggestions on what may be causing this to happen and if I can do anything to cure this?<o:p></o:p>

Sorry to be away from this for so long.
It looks like Outlook is not initializing shared folders when it starts.
I confirmed this using the following code for the Outlook startup event:
Private Sub Application_Startup()
    Dim olApp As Outlook.Application
    Dim nspNameSpace As Outlook.NameSpace
    Dim objTempFolder As Outlook.MAPIFolder
    Set olApp = ThisOutlookSession.Application
    Set nspNameSpace = olApp.GetNamespace("MAPI")
    For Each objTempFolder In nspNameSpace.Folders
    Next objTempFolder
End Sub
With this in place I do not need to go to People and click the shared folder, and the third party app has no problems retrieving.
The third party app starts Outlook itself if it is not already running. In this scenario no events fire.
So the question is: Is there a means of executing this code when the third party app starts Outlook?

Similar Messages

  • ITunes cant sync music. Third party applications can.

    So i posted a discussion ages ago about iTunes not being able to sync my music. I have tried 5 PC's with different Windows OS's and even some Mac Machines. Before iOS7 it worked fine, then the beta was used and it did not work since even having wiped the phone and used the public release.
    Anything that could narrow down the issue would be nice. It just syncs and sits on 'waiting for items to copy' and then just times out. Phone loses the whirling arrows and then iTunes gets stuck in 'Cancelling Sync' which it never does and needs force closing. Same exact issue on all PC's.
    MediaMonkey - Same music, same PC, same cable and same phone... Works fine. All 3800 songs.
    So my question to you all is, why can iTunes no longer sync my music yet third party applications can...? (they use the iTunes mobile device drivers)
    Trying to contact apple when outside of warranty is near impossible without paying. This was broken before my warranty expired but didnt have the time to go down. They also just removed my question for some reason so posting it again.

    ragerber wrote:
    Now that I've read all the documentation,
    Which people normally do before they do something but hey ho off we go
    I see that there is only one copy of backup data saved (for what possible reason????)
    Because the considered view is that you will be keeping regular backups of your computer in general which would keep these 'last backups' that way. Thats what Time Machine on the Mac does.
    So I'm hosed. iTunes not only deleted my apps (presumably an iTunes bug)
    Its not a bug - you deleted the content of the phone presumably.
    but I read on one forum where someone had re-synced and got his apps back.
    Correct, by following the instructions which instruct you to disable automatic synce before restoring to stop the autosync overwriting the last backup.
    I tried that and in the process it automatically deleted my good backup I guess.
    No, you didnt do it correctly, but don't panic. All free Apps can be downloaded again as can all purchased Apps as long as you log in with your original iTunes account. They will all come back just fine.
    This seems really like a really dumb way to do it, Apple.
    Not really - the instructions are quite explicit but reading them after the event or not at all is even dumber.
    Get downloading those Apps again

  • How to remote desktop user can read, write ,modify and traverse folder but not execute?

    Now I ceate a user accout whis is user type and put him into remote desktop group.
    he can login this server by remote desktop.
    My server is windows 2003 but not in nt domain and  it is a workgroup computer.
    I want to limit him access right on one folder in which have many folders and .exe file.
    I only want he can read , write,modify file and traverse folder but not execute any .exe file.
    How can I implement this through NTFS.
    Please give me some advice.

    Hi,
    I think you could using advanced option to configure the file or folder permission:
    http://technet.microsoft.com/en-us/library/bb727008.aspx
    Regards.
    Vivian Wang

  • I have code on one of my website pages to list all the entries in a database (PHP). I can list all entries in other browsers but not Firefox.

    In Firefox only so much data gets displayed. When a new entry is added one drops off the bottom. The information displayed gets cut off at any point in the data. It will sometimes display only part of the oldest entry. It's like only so many lines of data can be displayed.
    I have viewed the same page on other browsers and don't have this issue.
    I just updated Firefox to 19.0 but the problem continues.

    This can happen if your script doesn't close all of the HTML tags it opens. Some past threads on pages not rendering fully (usually the missing text is there in the source view, Ctrl+u):
    * [https://support.mozilla.org/en-US/questions/846246 Part way through a particular web page, HTML stops being rendered]
    * [https://support.mozilla.org/en-US/questions/929969 text is missing from webpage]
    If you do not spot the problem, is there a publicly accessible page that you could link to so volunteers could take a look?

  • Multiple logins sharing music folder, but not Library

    I recently bought a new iMac for me and my wife. Our last one we shared the login, but now we each want our seperate logins, but we listen to the same music. We both buy our own CD's, but we always used to listen to them on the old iMac, and had the files transferred to both of our iPods. But under seperate logins, there are issues.
    The problem happens when one person imports a CD, the other persons Library doesn't get updated, even if you are sharing the folder where the music goes.
    This is also a problem becuase if a user imports a cd, another user can't put an image on the album art for that album.
    Is there a way to choose where the Library file goes, or choose which one I want iTunes to use, rather than iTunes telling me what it wants to choose (by forcing one in my home folder).
    I believe this may fix the problem, because Apple's solution of doing a quick logout really won't work for me. Neither me, nor my wife, want to log out of our own account to import music, then to have to go back to our own account and drag and drop files into the library to have them update.
    I seem to be having this same problem with iPhoto, but that will go on another forum.
      Mac OS X (10.4.6)  

    Thanks for the advice. That is actually something I have done as a work around. Though it is inconvenient for me to have to login to her space and import in her iTunes, it is easier for me to navigate around and do the harder stuff. Works so far.
    I really hope some person involved in the development of iTunes can address this and let you choose where all the files go, not just the music files.

  • Reg third party application can integrate with SAP Business one

    Dear All
    I have a typical requirement , i want to know how can it be done in SAP Business One.Our client have other application based product , he is doing all the transactions in that.He has another
    DB. that is SAP Business One. Now we want to syncronize the data between two databases. i.e if he enters a Sales order in other based that should be inserted to B1 and vice versa. Not only marketting documents but masters also and financial documents also. I hope it is possible using B1 integration Technology. Can you pls let me know how it can be done. any solution to be suggested is accepted.
    please do the needful.
    Regards
    M Auditya

    Hi,
    Actually i guess i could be possible but I'm not 100% sure on the level of integration. I recommend u to download the B1iSN and have a look at the doc.. Operation_Guide_Subsidiary_Integration_EN.pdf, And a lot depends on the database the 3rd party software is using.
    Hope it helps,
    Vasu Natari.

  • I backed up my phone because I was upgrading hardware but when I went to "restore from backup" it wasn't listed in iTunes. I can see the files in a folder but not in iTunes.  Is there any way of backing up my phone from the most recent backup?

    Please help

    The following says how to restore from backup.
    iOS: How to back up
    If you go to iTunes>Preferences>Devices you can see if you have an iTunes backup. You need one dated before or the exact time you started the restore.

  • I have set up an administrator account and three separate accounts for my kids. I have loaded microsoft office 2011. i can access it from the administrator account but not my kids account. how can I give them access?

    I have set up an administrator account and loaded microsoft office mac 2011. i have now added three kids accounts but can't seem to enable them to access the office mac software...... help please.

    Where did you install Office?
    If you installed it to the Applications folder in the admin account that ie reason why only you can access it.
    If you want everyone to be able to access it then you should install it in the Applications folder at root level.
    Allan

  • Can import 1080i from Sony HDR-HC7, but not export it

    I am helping a friend with a Sony HDR-HC7 camcorder that is capable of DV and HDV formats. They have used it without a hitch with DV shot footage on import and export to the camera. They are using iMovie HD 6.0.3. They shot footage in 1080i format and imported and edited it, without incident, but have had no success exporting the edited project back to the camera. We've gone over the in-camera settings, manual in hand a few times, with no success. We have also phoned Sony on two occasions and basically got no help from them. Always using a firewire cable and camcorder mode and connection as when working with DV, but with connection and format settings changed to reflect the format. iMovie acts like it is going through it's paces and exporting, as we are asking it to, but nothing on the camera indicates we are getting anything from the computer, as the friend is used to seeing when they have worked with DV footage - no matter how long we wait or let it go through it's paces.
    Any one with this camera with success exporting it back to the camera with iMovie HD 6.0.3?

    I've got the same exact problem. The most frustrating thing is it worked once...iMovie 06 seemed to recognize the camera and just started capturing the footage. Now I cannot get it to connect for the life of me. I'm in VCR mode, I'm using a 4 to 6 pin firewire cable, ect - so frustrating.

  • I can burn CDs from Windows Media Player, but not from itunes.  I always get Error 2131.  How do I transfer music files from itunes to Window Media Player Library?...or convince itunes to burn a CD?

    Cannot burn CD from itunes.

    The thing is, they are in the unprotected format? (
    They are protected WMA from when you RIP'd them with WMP. iTunes will not read them.
    Go to WMP Tools -> Rip Music.
    Under Rip settings, it is set to *Windows Media Audio* and most likely *Copy protect music* is ticked. This is how it is protected.
    You will need to reRIP them all from CD.

  • Can delete songs from iPod shuffle automatically but not podcasts

    Suddenly when I delete songs from my iTunes library they will also be deleted on my iPod shuffle, which is what I want, but when I do the same with podcasts (delete them from my iTunes library) they do not automatically get deleted from my Shuffle.
    Any ideas on what's wrong?  Thanks.

    Hi, Jixx0615.
    Thanks for using Apple Support Communities.
    When you try to delete from a device running iOS 7, make sure to hold your finger on the song for a few seconds before swiping to the left. This should expose the red Delete button.
    Try Again,
    -Marcus

  • Can't visit internet for third party applications

    I have an unlocked Blackberry 8900, now I am using Chinese Mobile SIM card in China.
    Now I am confused that sometimes it can't visit internet (I am using edge data plan of China mobile) with other third party applications (I mean the application is not from RIM, like UC browser, gmail). Most of time these third parrty applications work well, but sometimes, these third party applications can't visit internet via edge, but Blackberry browser is working well. I have to take out battery and reboot the device.
    My OS verison is v5.0.0.822, bundle 1385, platform 5.2.0.76
    Today I saw below message when application could't not use  edge.
    Reason
    net.rim.device.api.io.connection
    closedException: stream closed.
    How can I solve the problem?

    Yes - you can do it via Terminal or do as I do - use TRIM Enabler.
    Just be aware that each time you update your System software (from 10.8.1 to 10.8.2, for example) you'll have to enable TRIM all over again. Not such a big deal.
    Clinton

  • I can print from my iPad 3 but not from my new iPad mini which has a lower spec. What should I do?

    Question. Why can I print from my iPad 3 but not from my new iPad mini which has a lower spec?

    The "lower specs" have nothing to do at all with why you cannot print. Are you connected to the same Wi-Fi network that the printer & the iPad 3 is on?

  • Hey good day. i recently made a back up on my phone. then i took some pictures and videos. i accidentally restored the phone. some pictures and videos including pictures from my third party application were all gone. can i still have those back?

    hey good day. i recently made a back up on my phone. then i took some pictures and videos. i accidentally restored the phone. some pictures and videos including pictures from my third party application were all gone. can i still have those back?

    No. If you restored the device to an older backup, then the device was brought back to that date and time, which was before those photos were taken. When you restored the device, it deleted everything off the phone and replaced it with the earlier information.

  • How can I set up printing to queues on a Windows 2008 server directly from the iPad apps and not from third-party applications without using AppleTalk or Bonjour?

    We have a Windows 2003/2008 server-based network with a dedicated print server which we would like to be able to print to over Wi-Fi.  How can I set up the printers on the iPad without downloading a third party application such as Print Central or Print N Share?  I want to just click the arrow and "Print" then choose the printer, which doesnt show up.  I want to be able to use the existing TCP/IP-based network that we have to reach these queues, not having to install Bonjour or AppleTalk to reach them.
    Thanks,
    KMQ7

    This would really be the "Holy Grail"   right now.  I think this a feature that every large organization requires. AirPrint works on a small scale, but is not really an enterprise class application.  In addition it uses the Bonjour discovery process which is difficult in a large LAN WAN environment.  For those that would remind me, I am aware of the enhancement link 

Maybe you are looking for

  • Error during unattended install of SQL 2012 (..setting 'CLTRESULTDIR' does not exist.)

    Hi ALl, I'm trying an automated install of SQL 2012 on WIndows 2012, but I keep running into this error (using a configuration.ini file generated by running through setup and grabbing it just before I clicked 'OK') Contents of summary log: Overall su

  • Small patch for New-IsoFile

    I made a slight change in how New-IsoFile creates the temporary file if needed. The original used a timestamp for the filename, but I wanted to use the real GetTempFileName-call. The two changed parts are bolded below. I would appreciate any feedback

  • Generate reports in PDF or EXCEL from Web App...

    Hello, I have to generate some reports from data base using web APP on Java, these reports with few generation criteria must be in PDF format and EXCEL format (both), someone knows a tool with which I can generate them? Best regards.

  • Mouse Hover text from FrameMaker to PDF

    Hello, I have a Terms list chapter in one of the book. I am trying to create a mouse over a highlighted term in the document to see its definition in the output PDF file. Is it possible for us to perform this operation in FrameMaker? Currently I am u

  • Pay as go data issue

    Hi I am new to ee pay as you go I cant use my data but says I have 2gb left I don't have credit so wanted to know if that's the issue I have a Nokia Lumia 530