outlook

Extra line breaks in this message were removed

I'm creating a big string that ends up getting sent out via email. The string is created as follows: For Each NewClaim As BO.ClaimsByPECLogIDRO In NewClaims strNewClaims &= Environment.NewLine & NewClaim.ClaimPrefix.ToString _ & "-" & NewClaim.ClaimNumber.ToString & " - " & NewClaim.ReportDate.To...

Testing outlook plugins

What tools are good to do automated UI testing of Outlook plugins? We are developing plugin in VB 6.0. We are using Microsoft's UI Automation framework. Any best practices regarding the framework? Any other tools which should be explored? ...

How to enable "Connect to Outlook" function in your custom list?

How can I enable the functionality to sync my custom list with Outlook 2007 todo or calendar list? I assume it's possible with custom lists too, but I cannot find any documentation on it. ...

.NET/COM Interop problem - opening Outlook 2003 Send Mail dialog

We have a WinForms app, written in VB.NET (CLR 2.0), that does a lot of Outlook-related stuff. One of the things we do is programmatically open up a new Outlook 2003 'compose new Email' form, pre-populated with the 'to' address. Me.WordApp = New Word.Application Dim template As Object = System.Reflection.Missing.Value Dim newTemplate A...

What can cause Outlook to change a COM-addin's LoadBehavior to 2 - other than unhandled exceptions?

For some weeks now we have been fighting with an issue where at a small number of customers our Outlook addin gets unloaded and disabled for yet undetermined reasons. By "disabled" I mean that Outlook changes the following registry value from 3 to 2 which in effect means that the addin will not be loaded on next startup: HKEY_LOCAL_MACH...

Automatically create Outlook appointments

I have a spreadsheet (excel 2003) which tracks expiration dates, I would like to know if there is a way to have these expiration dates create appointments(reminders) in outlook. The expiration date is in one field and the name of the entity is in another column on the spreadsheet. Ideally I would like outlook (2003) to pick up the date...

Problem creating an email with an attachment in Javascript.

I'm initiating an email create, by calling the code below, and adding an attachment to it. I want the user to be able to type in the receipient, and modify the contents of the message, so I'm not sending it immediately. Why do I get a RangeError the 2nd time the method is called? (The first time it works correctly.) function NewMailIt...

Outlook AppointmentItem - How do I programmatically add RTF to its Body?

I would like to set the Body of an AppointmentItem to a string of RTF that contains an embedded image. Setting Microsoft.Office.Interop.Outlook.AppointmentItem.Body results in the RTF appearing as-is in the appointment. I have tried using Redemption which wraps the appointment and exposes an RTFBody property, but the RTF formatting (...

Create button in Outlook 2007 message

I am attempting to create a outlook 2007 message and place a button within the message. I believe this was at one time possible. However I am reading that this may no longer be possible in Outlook 2007. Can anyone confirm this? ...

Imitating outlook scheduler using winform

what is the best way to mimic the scheduler screen of the outlook 2003. Currently I'm using DataGridView with customized DataGridViewCell and DataGridViewColumn as sugeested in msdn. I think DataGridView is heavy. Is there a better approach which is light weight and less CPU consuming to solve this problem? ...

Why does a Form Region in Outlook 2007 Plugin keep a reference to the underlying object open?

I've created an empty Outlook 2007 Plugin Project in Visual Studio 2008 (SP1). Then I added a new Form Region (Contact type, Adjoined, otherwise defaults) and then I run the project. Outlook opens, I go to a contact change a couple of things, then click on the close button. Outlook asks if I want to save, I choose No. My understandin...

Can I read an Outlook (2003/2007) PST file in C#?

Is it possible to read a .PST file using C#? I would like to do this as a standalone application, not as an Outlook addin (if that is possible). If have seen other SO questions similar to this mention MailNavigator but I am looking to do this programmatically in C#. I have looked at the Microsoft.Office.Interop.Outlook namespace but t...

Get Exchange folder size using Redemption.dll fails when used from Outlook2007

I am using Redemption.dll (Version 4.7.0.1026- latest) in an Outook (2003/2007) Add-in where i need to retrieve the exchange mail box size. To get the folder size, I am using the function get_Fields(): foreach (RDOStore store in rdoSession.Stores) { int size = 0; if (store.StoreKind == TxStoreKind.skPrimaryExchangeMailbox) { /...

Cannot connect ASP.NET to Outlook in IIS, but can through Visual Studio

I'm doing a home project that started off really easy (doesn't that always happen?) and then took a nasty permissions turn. Basically, I have a home intranet and my PC is doing double-duty as the home web server. I'm running Vista, so we're talking IIS 7. In Visual Studio, this works perfectly. I have my homepage query Outlook (2007)...

Using Redemption (Outlook) with a user other than the logged in user - and getting errors

I'm using Redemption dll (http://www.dimastr.com/redemption/) and I've created an exe that accesses my mail box. I run the exe in Windows Scheduler under my username and it works fine, I get an email sent to me (see below code). When I change the runas username in Scheduler to someone else and try to access their mail box Profile I get...

Is it possible to develop a chat plugin like Gtalk for outlook?

My company uses outlook as the email client and we login to an exchange server. Out address book (not individual contacts) has all the users connected to our company network. Our company dont have IM ;-( .. I am thinking about developing an outlook plugin like Gmail's Gtalk . is this possible(technically)? Or how difficult it is? Will ...

Using Redemption dll (Outlook) on a 64 bit machine

I have an exe that I have installed on my 32 bit machine, it loops round the logged in users Inbox and works fine, (NB I still havent got it working for another user (see here) any ideas there would be appreciated as well!). But when I install it on 64 bit server I am getting this error. Creating an instance of the COM component with ...

wpf outlook-like interface

Hello, Can anyone point me to a tutorial on how to create an outlook like interface in WPF? Thanks ...

Ruby win32ole - how to determine the OLE class type, whether the OLE class supports a method

I am using Ruby 1.8. Using the WIN32OLE module - 1) How do I determine the class name of an OLE object instance? 2) How can I tell whether an object instance supports a particular method? In an Outlook automation script, I am trying to delete the items in the 'Deleted Items' folder which are older than 21 days. For mail items, I want t...

Outlook 07 percentage width

Hello everyone I am trying to make an email in outlook 07 and I require a percentage width. For example I have six numbers 100, 80, 60, 40, 20 and zero and I would like to create a bar graph. I have tried managed to create the chart using a fixed width of pixels, however I would like the item to be scalable and I do not want a scroll b...