-
- opening documents
by NTN
- 5 Replies
- Last post
by Ji Zhou 每 MSFT
- When I open 'my document' the names of the documents are in green, what does this mean New doc that I save in Word 2007 and Excel also appear in green. I have trouble opening these 'green' colored documents lately; I keep getting messages saying that Word 2007/Excel cannot open these files and that I should check if they are corrupt or not. This just happended recently.
-
- Excel 2003 Add-in does not load on windows vista
by Nanom
- 6 Replies
- Last post
by Nanom
- Hi I have a computer running windows vista home premium. There is only one user, who is an administrator and the user acount control is off.
The following software is installed (looking at programs and features in control panel):
Microsoft Office 2003 Primary Interop assemblies
Microsoft Office Enterprise 2007
Microsoft Office Proffesional Edition 2003 (only excel is installed)
M
-
- Creating a formatted Microsoft excel file.
by AshishShakya
- 5 Replies
- Last post
by Ji Zhou 每 MSFT
- Hi, How can you create formated excel files through a program. By formatting, i mean individual cell background colors, row widths, column heights.. and stuff. Thanks in advance.
-
- Reading Cell color
by MoniDD
- 2 Replies
- Last post
by MoniDD
- Hi there,
My first post - hope I am in the right forum - if not please feel free to chase me in the right direction.
Reading the posts in this forum I managed to correctly set the backfround color of an Excel cell using C# :
Excel. Range cell = (Excel. Range )rng.Cells[3, 1]; //Here "rng" is a valid range.
cell.Interior.Color = ColorTranslator .ToOle( Color .PeachPu
-
- Com interop with Word
by Avi888
- 2 Replies
- Last post
by Cindy Meister
- Hi
I want to create an Addin for my Word 2003 application. The Addin is a button which will be added after the application is loaded.
I have tried to do it in my outlook and it was fine but for some reason that I don't know the button was not created in my Word.
More then that, I put a MessageBox in my OnStartupComplete methode and OnBeginShutdown method and in all my office applications
-
- XML for Ribbon
by Koluns81
- 4 Replies
- Last post
by Itak
- Hi, Im trying to create a list box like the one that shows you examples of different styles in the Styles gallery on the Home tab of Word 2007, does anyone know the XML to achieve this, i've tryed many combinations and just cant get the same design.
-
- How to know Ribbon status in Office 2007
by Senthil Kumar Mohan
- 14 Replies
- Last post
by Ji Zhou 每 MSFT
- Hi All,
I want to minimize a ribbon in Word 2007 if it is maximized. I am aware of Application.ActiveWindow.ToggleRibbon() function. But this toggles the state of the ribbon, where I want to toggle only if the ribbon is maximized.
at a point of time, how would I know the status of the ribbon can anybody help me in this
Thanks,
-Senthil
-
- Event Handlers not working
by sbuster
- 3 Replies
- Last post
by Andrew Whitechapel - MSFT
- I'm trying to attach a simple event handler to a CommandBarButton and it' when I run my example the event is never triggered. Is there something I need to do outside of assigning a Click event handler
-
- How to add button to Outlook toolbar?
by Toxter
- 4 Replies
- Last post
by Toxter
- Hello everyone, I'm having difficulties with adding a button on toolbar in Outlook 2003 from my addin (C++). It all works well when I try to add a toolbar and button on 'Main' Outlook window. I'm doing it like this:
Code Snippet
CComPtr < Office::_CommandBars> spCmdBars; CComPtr < Office::CommandBar> spCmdBar; // QI() for _Application CComQIPtr <Outlook::_Applicatio
-
- ComboBox on an Outlook PropertyPage doesn't seem to get DrawItem events [SOLVED!]
by BenDowling
- 11 Replies
- Last post
by Ji Zhou 每 MSFT
- I want to display several ComboBoxes on an Outlook PropertyPage. I want the ComboBoxes to display icons and text. I've tried two approaches to this: Setting the draw mode of a standard ComboBox to DrawMode.OwnerDrawFixed and then setting a DrawItem callback. However the callback never gets called. I then tried extending the standard ComboBox class that sets the draw mode in the constructor and ov
-
- Problem with ribbon buttons and macros
by Janjko
- 5 Replies
- Last post
by Janjko
- I made my first custom Ribbon tab, with the following code:
Code Block
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon> <tabs> <tab id="Adnet" label="Adnet" insertAfterMso="Add-ins"> <group id="NetVision" label="NetVision alati">
-
- Toolbar customizing.
by iterator
- 1 Replies
- Last post
by Mohit Gupta - MSFT
- Hello! I have made toolbar (commandbar in API's terms) for office application. How i can make my toolbar customizable through standart <<Customize..>> functionality I mean, how can I add new <<category>> into available <<Commands>>, what MS Office API function should I use Thank you!
-
- Prevent outlook from closing or user from changing a item
by drscape
- 4 Replies
- Last post
by John R. Durant - MSFT
- Hi again!
Im having some troubles on outlook add-ins. Does anyone knows how to:
Detect that outlook is closing and ask the user if he really wants to close outlook while the add-in is performing some action (example: sending data or receiving from a server). In this situation is there a way to prevent outlook from closing
Detect if a user is changing a item.
Prevent a user from chan
-
- How to get sender SMTP or SIP address for a message via VSTO add-in for Outlook 2003?
by AnuR
- 3 Replies
- Last post
by willem odendaal
- My development environment is Visual Studio 2005 using VSTO (C#), .NET 2.0 and the version of Office I*m working with is Office 2003. I have also (unsuccessfully) tried my code as a Visual Studio 2003 COM Add-In (C#), .Net 1.1 for Office 2003.
The basic problem I*m encountering is that the message property Outlook.MailItem.SenderEmailAddress often doesn*t have the correct email alias of the sen
-
- Adding context menu items in Outlook compose mail editor.
by Rishab
- 1 Replies
- Last post
by Ryan Gregg - MSFT
- Does outlook expose the interface to add context menu items in Outlook compose mail editor
I am writing an add-in to Outlook 2007 using VSTO 2005 SE for which I need to add a context menu item that appears in a new mail inspector window when I right click over the body of the email.
I was able to do the same back when winword.exe was run as the default editor in outlook 2003, but now it s
-
- Using the Find object to replace with formatted text in Word 2007
by dirty-shirt
- 6 Replies
- Last post
by dirty-shirt
- I'm using VSTO for Word 2007 and I want to implement a function that will find and change text to "dirty#shirt" however the # needs to be superscripted.. I tried using the Find object but I can't figure out the replacement string to enable Word to superscript only the hash character. Any ideas Tim.
-
- Italian version of VSTO 2005: text in Information Window is truncated (inside "?" Main Menu)
by Steppino
- 1 Replies
- Last post
by Darryn Lavery -- MSFT
- Hi all aguys!
It's my first time I post something into any forum at all, so don't shout at me if I didn't understand the meaning of this forums (but I was pointed to this forum by a local Microsoft Italy's support engineer that helped me with another issue).
I hope someone could help also regarding localized releases of MS Products. I'm using Visual Studio 2005 Tools for Office System (in IT
-
- Q about installing VSTO SE
by NinuX
- 2 Replies
- Last post
by Andrew Whitechapel - MSFT
- I have just downloaded the latest VSTO SE It says that if you have previous versions such as the v3 CTP you need to restore the PC to an earlier restore point I have got the following installed in Visual Studio 2005 but how can I tell if this is the v3 CPT or something else Microsoft Visual Studio Tools for Office 77646-008-0000007-41359 Microsoft Visual Studio Tools for the Microsoft Office Sys
-
- Outlook 2003 security alert
by mike950
- 7 Replies
- Last post
by Sue Mosher - Outlook MVP
- Is it possible to prevent Outlook security warnings without using a 3rd party tool (i.e. is there some code you can write yourself to do this)
-
- Custom font colors
by MpDzik
- 4 Replies
- Last post
by MikeT1021
- Hi, I am trying to set a custom font color (frm RGB) in a word document using VSTO 2005. Using the Selection.Font.Color property I can only set a predefined color from the wdColor enum, but is there a way to set a custom color for this property
-
- Exception When Merge Named in VSTO (C#)
by Lin Kejian
- 5 Replies
- Last post
by Ji Zhou 每 MSFT
- Hi
When I write code as next ,it throw an Exception of HRESULT:0x800A03EC
private void button5_Click(object sender, EventArgs e) { Microsoft.Office.Tools.Excel.NamedRange namedRange1 = Controls.AddNamedRange(this.Range["A1", "A10"], "nameRange1"); namedRange1.Merge(false);
}
How to solve it
-
- Outlook custom form for MailItem not always used
by Istvan Becze
- 0 Replies
- Last post
by Istvan Becze
- Hi, I'm developing an add-in for Outlook in VB using VB and VSTO 2005 SE. In my add-in I have a custom form that I want to use for editing and displaying MailItems, when the user selects an options within the add-in. (I don't want to change the Message Class for all the messages in the user's Outlook folders, because the user might want to turn the above option on and off.) I want to change the Me
-
- More on Exception from HRESULT: 0x800A03EC
by garretth
- 8 Replies
- Last post
by garretth
- I've been trying to trace this error down and I've found a curious thing.
1) When I put a breakpoint on the ThisAddin.Designer.vb New method, I find that it appears to be the first line called. No surprise. What is surprising is that I have an exception before that line executes.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
2) When I step thr
-
- Is this possible (most likely not, but have to ask)
by Chris V
- 1 Replies
- Last post
by Cindy Meister
- Hi,
I'm doing a pet project, and was wondering if it is possible using VSTO to open a bunch of word documents to scan the contents for information (ie, how many have tables, using this, that, etc).
If not, is the only way reverse engineering / hacks (figuring how thrid part companies do word conversions.
Thanks for any response in advance.
-
- Form Region display issue
by Rafael1119
- 14 Replies
- Last post
by Rafael1119
- All,
Is it a known issue that the Form Region text boxes and labels cut off the text and change the font size automatically
Has anyone figured out a way to make the form regions look exactly as they did when you designed them
Thanks,
Rafael