-
- 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
-
- How do I find a cell's border format?
by r_daneel
- 3 Replies
- Last post
by r_daneel
- I am using C# + VSTO to create an application-plugin for Word 2007, and one of my requirements is to find double-lined borders and replace the text in that cell with something. There are also a few other cell border styles that I need to find. Is there any way to find a cell (or range of cells) in an active word document based on it's border I have not been able to come up with a solution to this
-
- Make excel workbook readonly
by bullpit
- 5 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi all,
I am doing some excel automation from my windows application. From the code, I open an Excel Workbook, write into it, and then close it while saving it. Is it possible to make this file or workbook readonly It should be strictly readonly and nobody should be able to modify it, even by doing a right click and unchecking the Read Only checkbox from the Properties.
This is what I tr
-
- The customization assembly could not be found or could not be loaded.
by Crappy Name
- 5 Replies
- Last post
by Crappy Name
- Hi, I have started getting this when running my VSTO project inside the IDE. It was working before I deleted a couple of sheets out. If I create a new VSTO project it works fine. The DLL is getting created and is the right name. I've also turned on all exception under debugging, but it gives me no more information. Oh, and there is nothing in the details box! I am at a bit of a loss. Thanks Ray
-
- How to add namedRange or ListObject from Excel Add-ins (VSTO 2005 SE)
by Lin Kejian
- 2 Replies
- Last post
by Mohit Gupta - MSFT
- Hi
My requirement is creating a new excel document from the Excel Add-ins and then add a namedRange object in ["A1","B3"] and a ListObject in ["A5","B8"].
Code Snippet
//create new document , it's ok
Globals.ThisAddIn.Application.Workbooks.Add(System.Type.Missing);
//Set Cells Value ,It's OK Excel.Workbook
-
- Can VS 2005 professional and VSTO 2005 co-exist??
by Christian Sánchez
- 5 Replies
- Last post
by Cindy Meister
- I have both but I can't get them to work together as one product... Is it possible to install both products and work with them together I wanted to make a Word Document but I don't have the option to do so in my VS 2005 Professional :( Any Help
-
- Outlook 2007 RTM FormRegion editing bugs
by Alex Yakhnin - MSFT
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- I am trying to edit FormRegion in the Outlook 2007 that I was developing in B2TR. When trying to modify it (add more controls) the changes are not saved. Even when trying to "Save As" the dialog is never poping up. By trial an error I've discovered that if I delete the TabControl (MultiPage) from my region it will allow to save it. What's going on
Thx... Alex
-
- Document based solutions in Office 2007
by Johan Nordberg
- 2 Replies
- Last post
by Johan Nordberg
- Hi,
how do I create document based solutions for Office 2007 Is the best way to create an application level addin and check the attached template
// Johan
-
- Question about MS Word
by Matt47517
- 3 Replies
- Last post
by LLD
- When I type in word, everytime I press space, or a tab, there is a dot or an arrow marking it. I cannot figure out what I turned on or how to get this off. It is very annoying so any help is much appreciated. It doesn't print or anything just shows on the screen. Thanks.
-
- copy worksheets from a .xls file to VSTO-Workbook without launching the regular .xls
by Saurabh.Gupta
- 2 Replies
- Last post
by Saurabh.Gupta
- People,
1, I have a VSTO-Workbook
2. On a button-click, I wish to copy certain sheets from a certain regular .xls file into my open VSTO-Workbook, WITHOUT LAUNCHING\OPENING the regular .xls file .
This works well, if I launch the regular .xls file, and copy sheets to the VSTO....
But, I wish to do it without launching\opening the regular .xls file.
Appreciate your quick
-
- How to add words to MS Word custom dictionary
by Stoil Pankov
- 6 Replies
- Last post
by Cindy Meister
- I am trying to use the MS Word spell check in my application. It is fine for words witch are in the main dictionary. For my functionality to be complete I need to add the option of adding words to the custom dictionary so that they are not constantly shown as mistakes.
I am opening the .CustomDictionaries.ActiveCustomDictionary file and adding the new word but at that moment MS Word desele
-
- Hijacking Short cut Keys
by SpoonmanUK
- 3 Replies
- Last post
by Cindy Meister
- Hi, I am writing a C# add-in for Office 2003, and I have managed to capture the Short cuts keys and disable them as a work around, but I would like to know if it is possible to rebind the shortcut keys to call into my Com Addin and not use a macro in Word VBA (for example).
Each time I try, I get the error
'Word cannot change the function of the specified key' which I am led to believe m
-
- Excel Cell Format Behavior
by FcoLomas
- 5 Replies
- Last post
by FcoLomas
- Hi all!!
Me one more time...
Well I haven't see before this behavior, I have an Excel sheet that recives data from a Database, of course with VSTO 2005, some of this data are Excel's formulas, well if the cell is formated as text it don't uses the formula and no calc is performed, but if the cell is formatted as general it works well, the question here is:
I'm using C# with an Excel Smart
-
- Microsoft outlook 2003 and outlook express
by ShihabSumon
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- I have develop a program which is enable to import contact list from outlook 2003. But I want to import contact list from outlook express and other versons of microsoft outlook. How can I do so Please help me as soon as possible.
-
- Outlook Contact Integration.
by C. Hunter
- 2 Replies
- Last post
by C. Hunter
-
I am working on a application that will need to view contacts from Outlook. The user would like to be able to create and delete contact from the custom application so that they don't have to switch back from app to app. I am not familiar with the Outlook API and I don't know if VSTO is required to do this.
Thanks for your help
-
- AppCheck.exe fails to find Office 2003 installed
by AndyJump
- 3 Replies
- Last post
by AndyJump
- I have an outlook addin that I have created using the VSTO.
It works on my machine but when I try and install it on anoher machine (I've only tried the one) for testing it fails saying it can't find a compatable version of Excel. Looking at the installation log (see below) it seems that it only mentions Excel as it's the first list and in fact it can't find Outlook or Word either. Off
-
- bind listbox to namedrange
by MaratYa
- 10 Replies
- Last post
by MaratYa
- I need to bind a ListBox control (on Taskpane or WindowsForm) to a (dynamically created) named range control in Excel.
I was about to create a class for a custom datasource object to implement this functionality in 15-20 lines of code (I hope).
Then I thought, perhaps a more elegant way existed. It just ought to have come out from the team so resourceful as the one that wrote VSTO.
-
- cannot see office templates
by kdinuk
- 3 Replies
- Last post
by Cindy Meister
- I install vsto2005se and also install full version office 2003 and visual studio 2005. I want to create new project of type office template. But i cannot see any templates under office, i can only see office add-ins. Please mail me to kdinuk@yahoo.com
-
- Getting default Mso labels
by Jan Kučera
- 3 Replies
- Last post
by miloush
- Hi,
I'm sure that during developing with VSTO 2005 SE I saw somewhere functions like "getMsoLabel" and "getMsoImage"...but I can't find them anywhere now... anybody knows about them
I need to get string of built-in control / group / tab... in order to handle localized versions of office... and I hope a little this functionc could do that work..
Thanks
-
- Using the Server Capabilities in Microsoft Visual Studio 2005 Tools for Office to Build a Benefits Registration System
by LPL29
- 2 Replies
- Last post
by LPL29
- Hi, I've installed the sample OfficeVSTOBenefitsRegistration.msi from http://msdn2.microsoft.com/en-us/library/aa537190(office.11).aspx It runs well when I use the default ports (2420 for the C# and 2288 for Vb.NET) but I get this error when I configure the web application to use any other ports:
I've already got a fix from MS http://support.microsoft.com/kb/915781 but I still get this error, I
-
- Office 2007 PIA - Office Primary Interop Assemblies - problem - not installing
by Levanter30
- 10 Replies
- Last post
by Levanter30
- Hi
I am having trouble installing the Office 2007 PIA
When i execute the o2007pia.msi is executes for about 2 seconds, and when it says "Gathering Required Information" it dissappears and dies, no confirmation GUI appears after that, nothing to suggest the PIAs have been installed.
The Microsoft.Office.Interop.xxx DLLs are not installed anywhere.
I have the wh
-
- Retrieve current document path
by Freeko
- 14 Replies
- Last post
by Xm3KHs
- Hey guys, although it isn't strictly VSTO-related question I'm sure you'll know hot to do it and help me So, I wrote simple COM add-in for word, excel and powerpoint. One of the functions of this add-in would be to retrieve current document path / location (E.G: "C:/Users/USername/Documents/presentation.ppt".) and then do something with it. Is there a method that would work for all pro
-
- Best practices for VSTO SE Addins
by Kulvinder
- 13 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi, I want to know that if i create an Outlook Addin, how do i make sure that it is loaded eveytime i open Outlook Lets assume that i have PIAs and eveything required installed. The problem occurs when the Outlook object is opened by an Outlook Automation e.g. Active Sync. In that case, no toolbar is loaded. Is there any way i can make sure that my toolbar is always there
Regards
Kulvi
-
- How to get closing Inspector pointer?
by Toxter
- 6 Replies
- Last post
by X4U
- Hello everyone,
While developing Outlook addin I and got one problem.
I'm intercepting Inspector.Close() event successfuly.
However, I'm unable to determine a pointer to Inspector window which is closing.
Here is what I tried:
void __stdcall Caddin:: OnClickCloseWindow()
{
CComQIPtr<_Inspector> spOneInspector;
applicationPtr->ActiveInspector(&sp
-
- Downloading XML Data in Access
by Ben Weber
- 3 Replies
- Last post
by Cindy Meister
- I have an access application that needs to download a set of XML files on a weekly basis. I then load this data into my application. The developers of the site i'm downloading the files from have provided a URL to which you post an ilogin and ipassword variable. You are then supposed to get a reply of OK or failed. After authentication, session should be created with Session Key ("XMLSessID&q