-
- C# UserProperties
by AndyJump
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- This has been driving me nuts :/
I have this method (SetArchived):
Code Snippet
public static void SetArchived(MSOutlook. MailItem mailItem, bool value)
{
if (mailItem.UserProperties[ARCHIVEDPROPERTYNAME] == null )
{
mailItem.UserProperties.Add(ARCHIVEDPROPERTYNAME, MSOutlook. OlUserPropertyType .olYesNo, false , MSOutlook. OlUserPropertyType .olY
-
- Addin for Outlook with VSTO?
by Malleswar
- 3 Replies
- Last post
by X4U
- Hi, I used this link to prepare Add-in for Outlook. http://msdn2.microsoft.com/en-us/library/bb226696(office.11).aspx#office06012005_creatingtheaddinproject When I run this code from IDE(VS-2005) it adds menu to outlook. But when I run through setup it just copies dll file into some folder. I dint find any menu on outlook. I am strange to this type of applications. Can any one please tell me
-
- Ribbon button getimage callback ok,but image is not displayed,why?
by febwave
- 7 Replies
- Last post
by febwave
- I have a button that has a GetImage callback. outlook may call GetImage function ,and ppdispImage has been set. But image has not displayed always.
This is my code.could anyone tell me where code is incorrect (hr is s_ok) thanks
extern "C" HINSTANCE g_hInst; STDMETHODIMP COLAd::OnGetImage(IDispatch* pControl, IPictureDisp** ppdispImage)
{
HRESULT hr;
HANDLE hIco;
PICTDE
-
- word range to html?
by nitm
- 12 Replies
- Last post
by nitm
- hi everyone,
i'm parsing a word document (using .net c#) and i need to transform parts of it to html...
i know that word has the option to save documents as html but is there a way
to save only parts of the document as html (range => html)
my solution so far is to create a new document paste the range there and
then save the entire document as html.
this solution is way too complex
-
- Can't install VSTO 2005 SE on Office 2007
by Fraser Drysdale
- 5 Replies
- Last post
by JimCrist
- What this doesn't address is that one can't install the VSTO SE package without already having the first version installed. This requires an Office 2003 SP1 product. The only Office 2003 item we used was Outlook, but since that was part of our Exchange 2003 license (even though it included all the secondary office appliations - ie - scanning, etc.), it won't allow us to install the original VSTO 2
-
- VSTO excel 2003 Windows Forms backgroundWorker cross-thread problem
by Anonymous445566
- 5 Replies
- Last post
by Geoff Darst - MSFT
- Hi,
I am working on an Excel application level addin. The addin has a number of Windows Forms that the user interacts with. Some of the forms require long running operations and I have implemented the backgoundWorker pattern.
If I run the form from a standalone test case (an executable) everything operates correctly, I have verified that the callbacks for backgroundWorker_ProgressCh
-
- VSTO 2005 not installed, getting Office 2007 - OK?
by ostin
- 6 Replies
- Last post
by ostin
- I have Visual Studio 2005 Standard Edition, Office 2000, and Outlook, FrontPage & InfoPath 2003. When I purchased VSTO 2005 I chose the upgrade edition since I already have a version of VS. Unfortunately, VSTO will not install because "Microsoft Office 2003 with Service Pack 1 (SP1) is not installed on this computer."
I'll be upgrading to Office 2007 (Small Business). My question
-
- Can Word Addins access the OpenXML Parts within the current DOCX file?
by MikeT1021
- 14 Replies
- Last post
by MikeT1021
- Hi!
I have a question. I'm currently writing a Word Addin and can't figure out how to access the current document's underlying OpenXML docx to read some important Parts stored within the Package. The API inside System.IO.Packaging won't let me open the file cuz it's already opened in Word. Duh.
Is there something simple I'm overlooking I'm sure Microsoft figured out that people using
-
- Workbook.save() not behaving as expected.
by Rishab
- 3 Replies
- Last post
by Geoff Darst - MSFT
- I have a VSTO 2005 SE add-in for excel in which I need to programatically save the document on an event. When I tried workbook.save() to accomplish this the workbook gets saved with its temporary name eg "Book1.xlsx" in My Documents and doesnt pop-up a save as dialogue even with a document which is previously unsaved. I tried this with a word document and there the behaviour was as expec
-
- On what item in Mailling list the right click on?
by Tomer
- 0 Replies
- Last post
by Tomer
- I have a simple add-in that inserts a CommandBarButton in the context menu of the MailItem list (using OnUpdate). In the event I look for the ActiveExplorer.Selection.
Is there a way to know on what item the user Right Click when he fired the OnUpdate event I need to know this because one item could be selected when the user right click on another item in the list.
-
- Why Excel Menu did not response when click custom menu twice (VSTO 2005 SE)
by Lin Kejian
- 3 Replies
- Last post
by Dennis Wallentin
- hi
The code blow is my Excel Add-in using VSTO 2005 SE.
The Add-in create a menu when Excel 2003 started,
when click menuitem ,a windows form show.
Now I have a problem,when click the menuitem once,the windows form show
,all thing is right . But click agin , there is no response and the windows form never shown.
using System; using System.Windows.Forms; using Mi
-
- Windows app to monitor outlook folder cycles through only half each tick?
by nomb
- 11 Replies
- Last post
by nomb
- Hey guys,
I haven't figured out yet how to make an outlook-addon so atm I am stuck doing a windows app. I have a timer which is fired every 45 seconds. It then cycles through whatever folder you choose and takes each mailitem and adds it to a list view. Then deletes the item. The only thing is that every time it ticks, it only goes through half. For example if you have 20 messages in the de
-
- Word Automation works too slow
by dzeaman
- 2 Replies
- Last post
by Eugene S.B.
- Hi there!
Calling Range.get_Information() while Word Automation takes up to 100 ms.
There's a solution to use Range.Select() and then Selection.get_Information() except Range.get_Information(). Speed did increased but Automation is still too slow.
Calling Border's properties also takes much time.
Could anyone advice more things to do with Automation's speed Please don't say "Wh
-
- Event-handler stops firing sporadically with Excel VSTO 2005 SE
by Lighthouse Builder
- 1 Replies
- Last post
by X4U
- I've created an Excel "application-level" solution with VSTO 2005 SE.
I'm experiencing an Excel Sheet Selection-Change event firing as expected several times and then it stops firing. The number of events that fire-off as expected can vary from 2 to a few hundred before the events stop firing.
Once the event-flow from Excel stops, it does not restart unless I shut down the
-
- Bundling Word addin with Outlook addin
by cpurick
- 1 Replies
- Last post
by Darryn Lavery -- MSFT
- I have an addin developed primarily with VSTO 2005. It has a ThisApplication module. I've got it installing and running successfully as a setup.exe.
To manage toolbar artifacts in Word, where some of my Outlook addin elements are being displayed erroneously, I've developed a VSTO 2005 SE Word addin. It has a ThisAddin module.
The Word addin creates two additional files, a .dll and a .dll.man
-
- Get attachment from forwarded mail
by Sasikumardr
- 2 Replies
- Last post
by Sasikumardr
- Hi all,
I had created a plugin for outlook2007 using c# for saving mail attachments. But I can't get original attachments from forwarded mail as i got attachments as .msg file. Is there any way to get original attachment. I thing reading >msg file as outlook.MailItem might be a solution. But I don't know how to do this.
-
- Excel and bold text
by SamSites
- 3 Replies
- Last post
by nielsvanvliet
- Hello,
i'm currently developing an application for Excel 2007.
It will have the ability to create invoices dynamicly with information from different files (.XLS, Outlook contacts, .CSV, .SQL, ...).
My problem is the following code. Note: I'm doing EXACTLY like i found on this forum and this doesn't work.
I'm just trying to put the cell which the user selected Bold. I can add a comment
-
- COM addin adds over 10 seconds to Microsoft Word startup time
by J-Man577323
- 14 Replies
- Last post
by X4U
- I built an extensibility addin using the wizard in VS-2003 for Microsoft Word. When installed, it adds over 10 seconds to Word's startup time. Does anyone have any ideas on why this is happening The Excel addin I created does not have this problem.
The delay appears to come before the OnConnection sub is called. CPU usage is 0% during this delay.
-
- Hide and show a OlkTextBox control in a formregion
by Raul Rosenloecher
- 4 Replies
- Last post
by Raul Rosenloecher
- Hi all, how can I hide and show again a OlkTextBox control in a formregion (VSTO 2005 SE) There is no function or property like "show", "hide", "visible".. Thanks, Raul
-
- Add header to outgoing mail
by Jarrod566966
- 9 Replies
- Last post
by X4U
- Hello, I would like to create an outlook add-in that simply adds a custom bit of header information to every outgoing mail message. I have searched all day for information on this topic, and I would just like somebody to point me in the direction I need to go. I don't want to use CDO or Redemption (costs $200). I can easily use the propertyaccessor in Outlook 2007 to read the header, but you canno
-
- Howto: Word 2003 AddIn: Join selected paragraphs into one
by Ilya Cherkasov
- 3 Replies
- Last post
by Ilya Cherkasov
- Hello everyone!
Is there any easy way to join selected paragraphs into one I mean I select for example 3 paragraphs, I push button and I'd like to see all 3 of them joined into one.
I searched through msdn but did not succeeded, so i will appreciate any help!
Thanks!
Ilya Cherkasov,
RBC Soft
-
- VSTO help in Spanish
by Andr&#
- 1 Replies
- Last post
by Yonathan Arrivillaga
- Hi! I'm just getting started with VSTO, starting from zero! I would like to know where I can find information about VSTO in spanish if possible. Thank you!
-
- Regarding opening excel file in C#
by Asim Patnaik
- 2 Replies
- Last post
by Asim Patnaik
- Hi,
I use Process.Start to open an excel file from my code. Following is the code:
Process xlProcess = Process.Start(fileName);
This actually opens the excel file with an existing excel process (if there is any). But what I want is that it should always start a new excel process and open the file in the new process. Is it possible to it this way
Regards,
Asim.
-
- Strange behaviuor with AllDay events recurring
by LastHope
- 2 Replies
- Last post
by Rufus Littlefield - MSFT
- Hi, my plugin reads the Outlook Calendar and generates the corrispondent iCalendar to be published. I've just checked something weird: if I read an AllDay event recurring each day, somehow the appointmentItem doesn't return that's it's an AllDayEvent!
Code Snippet
foreach (object o in folder.Items)
{
AppointmentItem appointment = o as AppointmentItem;
if (appointment != null)
-
- Problems with Add-In UnInstall.
by mchuc7719*
- 8 Replies
- Last post
by mchuc7719*
- Hello to all,
I followed the "Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer: Walkthroughs (Part 2 of 2)Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer: Walkthroughs (Part 2 of 2), part Walkthrough: Enhancing the Outlook Add-in Setup Project" tutorial.
I have installed success the