-
- Problem with ThisAddIn_Shutdown and CommandBar in Outlook 2007
by Tadwick
- 28 Replies
- Last post
by Tadwick
- I have an Outlook 2003 add-in, developed w/ VSTO SE and written in C#. The add-in creates a command bar with two buttons on it. When the add-in shuts down and ThisAddIn_Shutdown is called, I save the command bar position using the approach described in http://msdn2.microsoft.com/en-us/library/ms268891(VS.80).aspx (modified for VSTO SE). The add-in runs fine in Outlook 2003. However, when I run the
-
- VBA for Outlook
by Fear Network
- 2 Replies
- Last post
by Fear Network
- I am new to using VBA with applications and I am trying to write a simple rule for Outlook. I am wanting any email that comes in without a specified "@domain.com" in the from field to be moved to a folder. For example, say any email coming not from @msn.com moved to another folder called "All Others". How would I go about doing this because I tried
If Item.From.Contains(&quo
-
- Not refreshed items
by Janni Kajbrink
- 5 Replies
- Last post
by X4U
- Hi,
I'm developing an Outlook 2003 add-in with VSTO Second Edition. I'm having trouble with not getting the same data from appointments that are showed in the Outlook UI. I have the following example:
Private WithEvents m_oCalendarItems As MsOutlook.Items
Private Sub ThisAddIn_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
m_oCalendarItems =
-
- Unable to start debugging...
by Moiz Shaikh
- 2 Replies
- Last post
by Moiz Shaikh
- Hi All! Good Evening! I have implemented a RTDServer for Excel in C#. While working on my laptop the application works like a charm but, to my rue, when i port the same solution to my desktop it starts giving following problem... Unable to start debugging. Check for one of the following. 1. The application you are trying to debug uses a version of the Microsoft .NET Framework that is not suppose
-
- Casting IRibbonControl
by subbuvv
- 3 Replies
- Last post
by Cindy Meister
- Hi,
I am trying to create a add-in for Excel using Ribbon UI extensibility model. The add-in appends a new tab to excel and adds a dropdown control to a new group in the tab. The dropdown control has a OnAction callback procedure associated to it.
public void OnAction( IRibbonControl control, string selectedId, int selectedIndex)
{
}
I need to retrieve t
-
- The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
by Hans-Joachim
- 14 Replies
- Last post
by Hans-Joachim
- Hi Chaps,
I'm using this snipped code in Visual Basic 2005 with one problem.
On my development PC Win XP-SP2; Visual Basic 2005; Office 2003-SP2 this code is working well. On a different PC with same configuration (except VS 2005) I'm running into an error called: "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)". The goal of my code is just to analyse to p
-
- 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.
-
- Making a Form child to the Word ActiveDocument/Application Window...
by Syed Raza
- 4 Replies
- Last post
by Syed Raza
- Hi all,
I have only one window form in a word template project. Question is, how can i hook it up with the active document or word application window programmatically using c#. If i minimize the document window, the form also minimizes.
Thanks in advance.
-
- VSTO2005SE Windows Installer Sample
by AustinMyers
- 7 Replies
- Last post
by AustinMyers
- Ok, I finally found (after half an hour of mucking around) the outlook samples pointed to in the VSTO deployment walk through.
Installed it it and, there is no setsecurity sample. What is going on here Where is this sample
Currently I am using an example from a non-MS site because I can NOT find the one spoken of in the walkthrough.
-
- How to Import a .msg and .pst file into Outlook 2007 with C# code?
by TestCaseTim
- 6 Replies
- Last post
by TestCaseTim
- I need to import .msg and .pst containers into Outlook 2007 using c#. I am aware of the CreateFromTemplate method, but this alters the message by saving it as an unsent email. I want to import the message items into Outlook without modifying them, just like if I imported them manually through the UI. I don't know Extended MAPI and was trying to avoid using Redemption if possible. If these are my o
-
- Export SQL table into Excel...
by metaller
- 6 Replies
- Last post
by waynehollier
- Hello there, does anyone know some easier way to export data from datatable to excel I'm using some foreach loop to write data cell by cell... It's working ok, but CPU usage is on 100% and a half giga of memory is used.. So, the question is: Is there any way to cut whole table and paste it to worksheet Or is better way to transform table first to XML and then decode into excel So folks, any good
-
- How to make a Form Region default to an Outlook-2007 folder
by Rama Krishna rao
- 2 Replies
- Last post
by Rama Krishna rao
- Hi, I have created a form region(.ofs). I have couple of questions. 1> How to publish form region programmatically 2> How to make this form region default to a folder programmatically Thanks. Rama
-
- Using Balloon ToolTips in Excel VSTO project
by sameera
- 8 Replies
- Last post
by Ji Zhou ¨C MSFT
- I'm trying to display status messages in a VSTO document level customization using balloon tooltips. Ideally they'd popup from Excel's status bar. But for now it doesn't matter. However, I'm getting null exceptions when I try to use the ToolTip class to do this.
ToolTip tip = new ToolTip ();
tip.IsBalloon = true ;
tip.Show("testing", excelWindow , 3000);
-
- Word 2003 MailMerge, C# Shared Addin, Automation using Word plugin, Word Interop Assembly.
by shahjapan_2005
- 2 Replies
- Last post
by shahjapan_2005
- Hello, Is there any way that I can use Merge Field in two different ways. say it displays some thing and it use something else, I mean I can display different text but in code parth I can use some other text. for example. MergeField tmp = <<Sales Order Name>> ; but tmp.Code.Text = "sales_order_name"; I just want to hide the technical part of the field. so programeticaly when
-
- add a checkBox into a comboBox in the ribbon
by Alain Cuvillier
- 5 Replies
- Last post
by Alain Cuvillier
- Hi,
is it possible to add (insert) a checkBox into a comboBox in the ribbon
I didn't manage it !
Thanks,
Alain
-
- VSTO Installation Requirements for Office 2007
by Douglas E. Johnson
- 5 Replies
- Last post
by Douglas E. Johnson
- I have Visual Studio 2005 installed. Must I purchase a copy of VSTO
2005 to develop projects for Office 2007 OR is the free download of
VSTO SE enough
My primary need is for data programming for Excel and perhaps Word.
Thank you.
-
- Cannot Install/Use Remote Debugger with VS Tools for Office 2005
by TonyHigh
- 13 Replies
- Last post
by TonyHigh
- I cannot seem to debug projects in VSTO 2005, C# or VB. I get the message "Error while trying to run project: Unable to start debugging. The components for the 64-bit debugger are not registered..."
I think I tried almost everything I reinstalled, uninstalled, and reinstalled w/ as few services running as possible and I emptied the temp dir. But even with this it refuses to install th
-
- Docx to Clean HTML
by Saurabh Nandu -
- 2 Replies
- Last post
by Saurabh Nandu - MVP
- Hi,
I am trying to use Word 2007 and export HTML of its contents and publish it to my content management system.
Right now Exporting Word using the API's is leading to incorrect HTML - like all lists are converted to P tags etc.
Is there a way to generate correct HTML from Word
Thanks.
Regards,
Saurabh
-
- ListObject binding
by ssouki
- 3 Replies
- Last post
by Nikhil Khandelwal - MSFT
- I am using a listobject in vsto excel. it is bound to a collection. when it displaying more than 1 row and than the collection becomes 1 item after setting the binding the listobject shows 2 rows the second 1 is empty. eventhough the datasource has 1 item the listobject shows 2 rows.
can any1 help pls
-
- Conditionally create multiple MS Word documents based on a single, master MS Word doc?
by Unixxx
- 2 Replies
- Last post
by Cindy Meister
- I want to conditionally create multiple MS Word documents based on the same master MS Word document.
Example: I have a single MS Word document with say 100 sections. I want to create 4 different MS Word documents, which include a different subset of the sections from the master document. I know I can do this today by manually copying and pasting, but this is error prone and time consuming.
-
- Deploy Excel 2003 VSTO add in and automatic updates
by Mark B
- 2 Replies
- Last post
by Mark B
- I've a big issue deploying my VSTO addin.
I developed an Excel 2003 add in using VSTO 2005 SE.
Now I've to distribute my solution in a package containing prerequisites setup files for the first installation toghether with the first release of addin assembly. For future updates I want to automatic update my add-in through the Internet.
I tried to build this solution but it doesn't
-
- RETRIEVING NAME OF POWER POINT PRESENTATION
by Antinsh
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi!
This is something one of my friends at work have been struggling to find for several days now. We are trying to create a function that would check if a object in power point presentation has a certain animation attached to it. Weird thing is that it is quite easy to retrieve a name of entry effect (something like: apppowp.ActiveWindow.Selection.ShapeRange.AnimationSettings.EntryEffect d
-
- Two MeetingItem questions
by fahad11
- 8 Replies
- Last post
by fahad11
- hi guys...
i am doing an addin on outlook 2007 using vsto se (c#)
so i want when i recieve a new meeting ...to add it to database
but the problem is that i couldn't deal with the MeetingItem ...to be more detailed i didn't know how to access the subject , date & other stuffs of the Meeting...
so could some one kindly explain to me how to achieve this
my other question is
-
- VSTO 2005 SE Excel 2007 solution deployment
by Paul Oulton
- 1 Replies
- Last post
by Darryn Lavery -- MSFT
- Is there any relevant documentation on how to deploy above MSDN documentation all applies to earlier releases of Office and VSTO.
-
- help with install myaddin1 in ither computer
by Cyrex4046
- 2 Replies
- Last post
by Ji Zhou ¨C MSFT
- hi
i am begginer in the office development
after i finish my add-in i bulid project setup and copy and install it in 2 others computer
but the toolbar and the add-in never worked
please can some ine help me with this isuue
best regards
i am runnig Vs2005 and XP SP2