outlook

Exporting/Importing events to Outlook 2007 calendar - problem

I work on a web app that involves scheduling. A user can view his schedule, and then download a meeting request file for a particular event. In Outlook 2003, simply opening this event would cause a meeting request to pop up and the user could accept, which would either add or update the event in their calendar. However, in Outlook 2007,...

Pasting formatted Excel range into Outlook message

Hi everyone, I am using Office 2007 and I would like to use VBA to paste a range of formatted Excel cells into an Outlook message and then mail the message. In the following code (that I lifted from various sources), it runs without error and then sends an empty message... the paste does not work. Can anyone see the problem and better...

Outlook 2003 add-in - Getting COM exception on application shutdown after creating WPF window

Hi! I'm developing an outlook 2003 add-in. Until now I used only winforms to display one form, but today I've added a WPF window for more complex stuff. DUe to the WPF window, a COM exception is being thrown when outlook shuts down. Does anybody know why? I need to start a separate thread for the WPF window in single apartment state. ...

Automatic e-mail processing

I'd like to write a .NET application in F# to automate some of the processing of my e-mails. For example, when an order comes in my program might compute a new htpasswd from the e-mail's contents, upload it to our web server and reply to the customer with login details. How do people do this? I've tried Outlook 2007 automation but it ju...

VBA Outlook Mail .display, recording when/if sent manually

My code displays a message with basic subject, body, attachment. Next the user manually updates and customizes the message and should send it. I want to record when (if) the email is sent. Is this possible or any tips? My environment is Office 2007 with an excel based macro going to Outlook. [Excerpt] Dim OutApp As Outlook.Applicat...

Communication between Outlook addin and Program Automating Outlook

I have an application that uses the automation interfaces to Microsoft Outlook to create a mail message and then after it is sent save an archive of that email message in my application. I am hitting issues with a number of the third party encryption addins because by the time the Sent event fires what is passed to me is the already enc...

Unique IDs for Outlook 2003 AppointmentItems

Is there a unique Id for appointmentItems in Outlook 2003 that is similar to GlobalAppointmentID in Outlook 2007? Thanks ...

VSTO and Office 2010

Does VSTO 2008 work for Office 2010 or will it only be VSTO 2010? If it is VSTO 2010 then does this mean that I have to update all my clients to .NET 4.0? ...

.vcf file not opening

I am trying to create a .vcf file programmatically in C#, and writing a bunch of strings in the correct format in that file. But when i try to open it manually, the following message appears. Could not start Microsoft Outlook.The file maynot exist, you may not have permission to open it, or it may be open in another program. But when i ...

How to bulk extract outlook properties from every contact in distribution list?

Hi Does anyone know how to bulk extract outlook properties from everyone inside a distribution list? I can expand the distribution list by clicking the small + sign, but that only gives me first and last names, what I want is their aliases (which only available on outlook property) Thanks in advance ...

Outlook 2007 Add In. adding menu every time i debug the application in VS2008

hi, I am creating an Add In for Outlook 2007 using VS2008. I have created a menu in the toolbar. Every time i am debugging the application in VS its creating another menu item in toolbar. Like my meni item name is Test. First time i run the application It was showing File .... Test Second time File ... Test Test and so on.. Whats go...

Want to create/show dialog of folders list [Outlook Add in]

hi, I am creating an Add in for Outlook using VSTO. I have created a menu item and on click of menu item i want to show a dialog box containing list of all folders with check boxes. How can i do this? Please guide me. thanks ...

Domain policy template won't show any controls

I have the following code that i found on the net. The problem is that it adds in nicely with the group policy editor and i can see it's Catogary under administrative controls but it doesn't show any controls for user input. What am i doing wrong here? CLASS USER category EmailStationary POLICY "SetEmailStationary" EXPLAIN "This pol...

If terminating a hung thread is a good idea, how do I do it safely?

My Delphi program relies heavily on Outlook automation. Outlook versions prior to 2007-SP2 tend to get stuck in memory due to badly written addins and badly written Outlook code. If Outlook is stuck, calling CreateOleObject('Outlook.Application') or GetActiveObject ... doesn't return and keeps my application hanging till Outlook.exe is ...

Using Excel VBA to send emails. Problem with attachments becoming embedded by accident.

Hi, I am having an issue with an Excel macro I wrote that is used by several users within my company. It is used to send numerous emails daily with attachments that are also Excel workbooks. The issue is that sometimes, instead of the file simply being attached as it should be, it becomes an embedded object. This embedded object is opena...

How to create a table in outlook mail body programmatically

I am developing some program in C# which will send the mail using outlook 2007. For this I wish to create a table in mail body and need to show the required data in it. Can anyone let me know how we can create a table programmatically in mail body. ...

How can I make Outlook 2007 auto BCC messages to a specific email with specific words in subject using VBA?

So far I have this code from outlookcode.com which I can get to work sending all emails I send to the BCC email. I am not a developer, so I don't have a lot of context to go about editing this myself, or even approaching researching this. If anyone knows how to make this check for words in the subject, or check if the subject equals a ce...

Create IMAP account in Outlook 2007 programmatically

Hi, we're rolling out a new voicemail system, and trying to figure out a way to programmatically add a new IMAP account to a user's Outlook. Idea is that I create a form that takes a bunch of fields needed, and creates it all for them. ...

Outlook 2003 Add-In Setup Project with COM DLL Deployment Problem

Hi, I developed an Outlook 2003 add-in which uses the com dll redemption. I created a visual studio 2008 setup project, added a custom action to run "caspol.exe -machine -addgroup 1 -strong -hex [key] -noname -noversion FullTrust -n \"Name\" -description \"desc\" and moved the registry keys under software to HKLM as described in http://m...

Check mail attachment

Hi! I am using vb.net to display email from outlook express! Everything work fine but when some message has attachment, i can not display message that email has attachment! This is my code: Private Sub LoginButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginButton.Click Dim oItem Dim i As ...