|
Add-in only runs once.
Hi.
I've created an add-in using the exact steps shown here using VB.net in
Visual Studio 2005:
http://support.microsoft.com/?kbid=302896
I've added a generic form in this project too. When I first run Outlook
and click on the toolbar button it inserted, it somehow knows to show the
form! (I never call .Show( ) for the form anywhere).
This is actually what I want, but i...
|
3 |
6/2/2007 7:17:00 AM |
|
event fired when email address clicked
What is responsible for opening an email client or a new mail form when a
user clicks on an email address (say in a webpage). Is there a way to get
the email address that is clicked even before a new mail form is opened. How
to override the defaul email client to implement open custom email form.
...
|
2 |
6/1/2007 6:05:14 PM |
|
How to store new message item in Sent folder
When I create new message item and move it to 'Sent' folder this message has
'message was not sent' flag. I'd like to see this message as if it was
usually sent, but I don't wnat to send it using Outlook.
Is it possible?...
|
3 |
6/1/2007 5:58:44 PM |
|
Multithreaded Outlook 2007 Addin
Hi
We are using OOM 2007, VSTO SE to create Outlook 2007 addin.
We observed that after adding threads to our addin, Outlook sometimes
crashes.
Is OOM 2007 threadsafe?
We have passed ThisAddin.Application object in all the threads that
have been created.
Can this be the reason for the crash?
Regards
Tanushree
...
|
4 |
6/1/2007 5:31:30 PM |
|
Base And protected method
Hi,
com add-in vs.net 2003 & outlook 2003 & c#
I need to access to protected method of AxHost, How can I do this?
I get nothing after the dot (base.), Why?
This is my code: I need to set icon on commandBarButton:
I need to get this:
return(stdole.IPictureDisp)base.GetIPictureDispFromPicture(image);
Thank you.
using System;
using System.Drawing;
using System.Windows.Forms;
using stdo...
|
3 |
6/1/2007 3:17:02 PM |
|
Message queued in drafts and not outbox
I've seen this written about a bit, but mostly in regards to
redemption.
For the new mail window, I add my own button and button handler,
upon the button click, I do the following:
OOMMailItem.Save
modify some properties via ex-mapi.
MAPIMessage.SaveChanges w/ KEEP_OPEN_READWRITE
MAPIMessage.SubmitMessage
MAPI.FlushQueues
Inspector.close w/ olDiscard.
I gather, doing the submit bef...
|
3 |
6/1/2007 2:43:12 PM |
|
About AxHost
Hi,
I have a problem, this code don't work in every computer:
I'm using this for display a bitmap in the add-in button:
public class MatarotHost : AxHost
{
public MatarotHost() : base( "02FD5840-C1A3-448E-8310-98611DF58281"){ }
public static stdole.IPictureDisp IPictureDisp(System.Drawing.Image Image)
{
return ((stdole.IPictureDisp)(AxHost.GetIPictureDispFromPicture(Image)));
}
th...
|
8 |
6/1/2007 1:19:55 PM |
|
How to find Directory in which shared add-in was installed
I have created a shared add-in for Microsoft Outlook. It adds a button
to the Outlook standard toolbar which when clicked opens up a windows
form and performs ceratin actions. The add-in is developed using
Microsoft Visual Basic.net using the Shared Add-in Wizard. It also
created a setup program (msi). When the setup is run, it asks for a
directory in which to install the dll.
What I want ...
|
2 |
5/31/2007 8:11:08 PM |
|
COM Addin not visible in the COM Addins listing
Hi,
I have created a Outlook 2002 COM Addin "Test" which just displays a Message
box in the OnConnection method.
I have facing a weird problem that eventhough the toolbar is installed, it
is not getting displayed in the COM Addins list.
I have double checked that the when i created the COM Addin using the Shared
Addin wizard, i unchecked "Addin should be visible to all users" checkb...
|
9 |
5/30/2007 4:55:00 PM |
|
Appointment series: individual occurrences becoming one-off
Has anyone ever seen this situation. I have a custom, published
appointment form with two user-defined fields (defined both on the
custom form, and in the folder); in my vsto add-in code, I am setting
these value via the ItemProperties collection (not UserProperties
collection). In the case of a recurring appointment, I iterate thru
all the occurrences, and set the values of these 2 propert...
|
2 |
5/29/2007 7:51:58 PM |
|
About Registry key
Hi,
I have in a C# project this method to check if my com add-in alredy installed
private static bool IsAlreadyInstalled()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.ClassesRoot.OpenSubKey("MatarotToolbar.Connect");
return key != null;
}
It's return to me allways true, even I did uninstall to check it..any idea??
I tried to write:
"MatarotToolbar.Conne"...
|
2 |
5/29/2007 5:56:18 PM |
|
How to check if my com add-in already installed in this computer?
From C# code:
I have com add-in to outlook 2003, code in c#.
I want to check if this add-in already installed in this computer.
private void isOutlook()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software\\microsoft\\windows\\currentversion\\app paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null)// if have
ou...
|
2 |
5/29/2007 5:53:36 PM |
|
Setup.Exe
Is it possible to change the Setup.Exe name? ...
|
1 |
5/29/2007 4:34:00 PM |
|
Outlook 2007 Ribbon access from ActiveX control
Hi All,
I have an ActiveX Control (.ocx) written in VB6 that I put on the
second page tab in an Outlook Appointment custom form. This works fine
for Outlook 2000-2003. I am now trying to port this into a separate
project to work with Outlook 2007.
So far, everything seems to come up and display fine. Now what I am
trying to do is to capture the buttons (Send, Send Update, etc...)
from t...
|
4 |
5/29/2007 3:44:58 PM |
|
OnStartupComplete()
Hi,
I have a strange problem:
I created a com add-in for outlook 2003 in vs.net 2003 c#.
I installed this setup in 3 different computer, (toolbar add-in).
But in one of them I can't see me new add-in toolbar in the outlook.
I can see the eslse add-ins (like button add-in), but not this add-in
(toolbar).
In outlook:
tools-->options-->other-->advance option --> I can see me com ...
|
1 |
5/29/2007 11:37:01 AM |
|
Outlook::_MailItem and put_DeferredDeliveryTime
Hi
An Outlook::_MailItem object in the Outlook object model supports a method
called put_DeferredDeliveryTime()
To set the value for this structure in C++ the put method requires a DATE
object. I don't seem to be able to figure out what this structure is.
<wtypes.h> seems to define this as a double.
I expected the actual value in the MAPI directory structure to be a
PT_SYSTI...
|
3 |
5/29/2007 10:21:15 AM |
|
I have a strange problem
Hi,
I have a strange problem:
I created a com add-in for outlook 2003 in vs.net 2003 c#.
I installed this setup in 3 different computer, (toolbar add-in).
But in one of them I can't see me new add-in toolbar in the outlook.
I can see the eslse add-in (button add-in), but not this add-in (toolbar).
In outlook:
tools-->options-->other-->advance option --> I see me com add-in toolb...
|
2 |
5/29/2007 7:20:01 AM |
|
Check if outlook is already running
How can I check from C# code if outlook program is already running?
if not, I run outlook with:
System.Diagnostics.Process.Start("OUTLOOK.EXE");...
|
2 |
5/28/2007 6:56:10 PM |
|
Outlook window
How can I set my form into outlook 2003 (or 2000) main pane (up right side)?
Is it's possible without VSTO?
I want to display my form in the outlook window (explorer), not on the
outlook window, by my com add in button click.
And, what is CTPs ?
Thank's,
Yael
...
|
7 |
5/28/2007 11:09:58 AM |
|
Journal Add-in
Hi all,
I'm trying to find an add-in (or write one) that simply journals the
currently active window title bar contents.
I want to use it as a poor mans timesheet system so I can see what I've been
up to.
Any add-in like that available?
Cheers,
Oppylock
...
|
1 |
5/28/2007 1:45:02 AM |
|
Toolbar problem
Dear All,
I am creating outlook2000 add in using vc++6.
I planned to have different toolbar for compose window, reply window,
main window...
I have implemented new inspector handling method.
The invoke function is called whenever a window is opened.
but how can i differentiate the opened window is a compose window or
reply window or read window etc...
I have created the toolbar for...
|
2 |
5/27/2007 9:27:54 PM |
|
Programmatically add a toolbar button which launches an external application
Hi,
I developed a Contact Management application and wish to add a button
which launches this application from within Outlook 2003. I created
the button manually using the "Customize" options for the toolbar. Is
there a way to programmatically create a toolbar button to do this, so
once the application is installed the button pointing is created?
- j oliver
...
|
2 |
5/27/2007 9:25:36 PM |
|
Toolbar problem -Help
I'm in need to check the opened window...and i have insert toolbar
accoring to the window opened
HRESULT CKGAddIn::Invoke(DISPID dispidMember,REFIID riid,LCID lcid,
WORD wFlags,
DISPPARAMS* pDispParams, VARIANT* pvarResult,
EXCEPINFO* pExcepInfo, UINT* puArgErr)
{
if (dispidMember==0xf001)
{
if (!pDispParams)
return E_INVA...
|
1 |
5/25/2007 10:27:58 AM |
|
Toolbar problem -Help
I'm in need to check the opened window...and i have insert toolbar
accoring to the window opened
HRESULT CTestAddIn::Invoke(DISPID dispidMember,REFIID riid,LCID lcid,
WORD wFlags,
DISPPARAMS* pDispParams, VARIANT* pvarResult,
EXCEPINFO* pExcepInfo, UINT* puArgErr)
{
if (dispidMember==0xf001)
{
if (!pDispParams)
return E_INVALIDARG;
if (pDispParams->cArgs > 0)
{
ATLASSERT(m...
|
1 |
5/25/2007 10:20:21 AM |
|
Toolbar problem
I'm in need to check the opened window...and i have insert toolbar
accoring to the window opened
HRESULT CTestAddIn::Invoke(DISPID dispidMember,REFIID riid,LCID lcid,
WORD wFlags,
DISPPARAMS* pDispParams, VARIANT* pvarResult,
EXCEPINFO* pExcepInfo, UINT* puArgErr)
{
if (dispidMember==0xf001)
{
if (!pDispParams)
return E_INVALIDARG;
if (pDispParams->cArgs > 0)
{
ATLASSERT...
|
1 |
5/25/2007 10:17:25 AM |