-
- Selection.Find.Execute with parenthesis
by JenniferStites
- 3 Replies
- Last post
by JenniferStites
- I am doing word automation. I need to search the document for text that has a parenthesis in it, however, it fails. Here is my code and the text it is looking for:
In this case where it fails FindPattern = @"(\<Link= a_example.1(a) \>)Appendix A, Example A-12(\</Link\>)"
in Word it looks like: <Link="a_example.12(a)">Appendix A, Example A-12&
-
- Data caching in Excel 2007
by Dhruvan
- 5 Replies
- Last post
by Ji Zhou 每 MSFT
- Hi, I am trying to cache data in excel sheets and for that I referred to the below msdn link... http://msdn2.microsoft.com/en-us/lib...f3(VS.80).aspx I got a piece of code from there which caches a dataset. I tried doing that, but it is throwing a null reference exception on the "If Not (Me.IsCached("dataSet1")) Then" line. Has anybody been able to use that code. If so, pleas
-
- Outlook: How do you make contact addresses selectable from Message Window Addressbook viewer?
by ctalbert
- 1 Replies
- Last post
by Cindy Meister
- Hello, I am working in Outlook 2003 and 2000. I have used the Outlook Object Model to programmaticly create some contacts. However, when I go to send a message and I click on the "Address Book" toolbar icon, there are no email addresses listed for the contacts I created in the resulting dialog. I discovered that you need to set Email#EntryID property through MAPI in order to make this w
-
- Architecture and licensing to support multiple versions of Outlook
by Tadwick
- 4 Replies
- Last post
by Tadwick
- My Outlook 2003 add-in had been working well under both 2003 and 2007 until I started trying to save my custom CommandBar in Outlook 2007 . Having read the posts and blogs about the necessity of developing add-ins in two development environments (one with VS 2005, VSTO SE, Office 2003 and 2003 PIAs and one with VS 2005, VSTO SE, Office 2007 and 2007 PIAs), what is the optimum architecture for do
-
- How do i check whether Inspector is Read Mail or Compose Mail
by Bhavik Vora
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi,
How do i check whether the Inspector is Read mail or Compose Mail window !
regards,
Bhavik
-
- How to check if the Excel file is in use by another person
by carol chen
- 1 Replies
- Last post
by Ji Zhou 每 MSFT
- Hi, everyone. i am doing a simple windows app which connects to an Excel (2003) file on our server. the file is shared. the connection and reading contect are working fine now, but I wanna check if the file is in use before opening it. becouse I also have a function which writes new records into the file, and if it's used by another user, i can only save by using another name or replace the existi
-
- Fix for soft disabled VSTO Add-in
by Janni Kajbrink
- 1 Replies
- Last post
by Misha Shneerson - MSFT
- Hi,
I learned from Misha Shneerson that a fix for soft disabled add ins built with VSTO SE running in Office 2003 is ready for beta testing. I wonder if there is any chance that I could get a copy of this fix
Thanks in advance
Janni Kajbrink
-
- Outlook private folders
by -Brian
- 4 Replies
- Last post
by DeborahK
- Using Outlook 2007 and VSTO 2005 for Office 2007 writing in c#
How do I set a Folder object to a private folder
currently I am runing fine using code like:
Outlook. Folder outFolder= Application.Session.GetDefaultFolder(Outlook. OlDefaultFolders .olFolderSyncIssues) as Outlook. Folder ;
But I do not see where I can set it to a private folder path.
Also, I would like for this
-
- Creating a Right Click menu with Sub Menus
by Pati123
- 1 Replies
- Last post
by Ji Zhou 每 MSFT
- Dear Sir, I am developing a Word 2007 addin in C# and VSTO SE. There I want to creat a Right click popup menu with Sub menu. With your Help I manage to Right click menu without any sub menu. I what to like have When I select a first level menu, it will show me a second level menu. Up to second level is ok. Also when i Right click Word default Right Click pops up as well. Can we desable it temporal
-
- Getting error "XML markup" in few machines
by krigans
- 4 Replies
- Last post
by Clint Carter
- Hi,
I am using Visual studio 2005 and SQLServer 2005 backend (got oracle client also) while using the command range.InsertXML i get " XML markup cannot be inserted in the specified location" in few machines but when uninstalled .Net Word, and Oracle Client and reinstalled the above it works for 1 or 2 weeks, after 1 - 2 weeks same problem arraises, again need to exercise of uninsta
-
- Managing documents from Custom Task Pane
by Helio D
- 8 Replies
- Last post
by Cindy Meister
- I have been experimenting with VSTO 2005 SE and Office 2007 and would appreciate if someone could help me with the following:
I would like to open different documents using a custom task pane and switch between these documents. I can create and open the first document. When it comes to the second document, it gets created on a different window (where my custom task pane is not visible).
-
- Home page properties for outlook folder
by Rich Thurman
- 1 Replies
- Last post
by X4U
- I am using a folder to navigate to specific URLs and I would like to know if there is a way to know when the page load has been completed. Here is the code I am running. I would like to be able to programmatically tell when the page has completed loading before allowing another URL to be set. Is this possible
Sub NavToPage( ByVal url As String )
explorer = m_Application.ActiveE
-
- MAPI - Proper use of IMessage SaveChanges() flags?
by DaBozUK
- 5 Replies
- Last post
by Sue Mosher - Outlook MVP
- I've read the MSDN docs for IMessage SaveChanges() method: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mapi...
and it says you use KEEP_OPEN_READWRITE to keep the item open after saving changes, and if that fails with MAPI_E_OBJECT_CHANGED you should retry with FORCE_SAVE.
And it appears if you call SaveChanges with KEEP_OPEN_READWRITE followed later by another ident
-
- Outlook form region
by emad masri
- 6 Replies
- Last post
by Mike Morton - MSFT
- Dear All,
I'm trying to create outlook form region to customise the outlook 2007 mail form - add a combo box that gets its data from sql server 2005 database - ; however I cant create even a basic form region. I searched a lot throgh the net and msdn but with no luck.
All the samples that I try seems to be old, or was created for the beta VSTO or beta Office 2007.
Kindly could you help me
-
- ServerDocument.AddCustomization throwing COMException HRESULT: 0x80040407
by victtim
- 7 Replies
- Last post
by victtim
- Hi,
I have upgraded a Excel VSTO 2003 solution to VSTO 2005. Now, I am about to deploy this to my end-users. However, I need to automatically migrate the existing Excel workbooks created which refer to the 2003 Solution (via _AssemblyName0 and _AssemblyLocation0 custom properties) to use the new 2005 solution.
I realize this involves embedding a Runtime Storage Control activeX component wit
-
- How to open Outlook Application with command line arguments ?
by shahjapan_2005
- 2 Replies
- Last post
by shahjapan_2005
- Hello, How to open Outlook 2003 with following command line arguments from windows form. I want to open the outlook with 3 attachemnts, with To Email Addresss.....like 1 in TO and second one in CC. I have tried following links.... Outlook 2003 Command Line Arguments I also tried following web url both are almost same.. Outlook 2003 Command Line Arguments I am able to open it with two argume
-
- Table AutoFormat problem in WORD 2007
by Patrik Svensson IGEMS
- 1 Replies
- Last post
by Cindy Meister
- Hi,
I'm writing an app that expands a table by inserting extra rows to it. After adding the extra rows I would like to apply the autoformat style that the table originally had. (the rows are not added to the end of the table).
In Word 2003 I didn't have to do anything special in the code. If the table had auto formatting that formatting was the same after adding the rows. BUT in 2007 I am n
-
- Why can't I deploy an application addin?
by Denis Pitcher
- 2 Replies
- Last post
by Denis BDA
- I'm trying to figure out how to deploy an Excel Shared Add-in, however I am having some difficulties with it.
In many of the MSDN reference documents such as this one regarding Deploying Application Level Add-ins there is mention of the "Publish" command via the build menu or the project properties, however, this command is nowhere to be found in my project. If I load up a regular pr
-
- Excel: The customization does not have the required permissions to execute
by mobigital
- 8 Replies
- Last post
by John R. Durant - MSFT
- getting this error:
The customization does not have the required permissions to execute. ************** Exception Text ************** System.Security.SecurityException: The customization does not have the required permissions to execute. at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.HandleOnlineOffline(Exception e, String basePath, String filePath) at
Does
-
- <path> is not a valid office add-in vs2005 and outlook 2003
by Mark Henneman
- 14 Replies
- Last post
by AlanW2
- Hi, i'm using vs2005 and the outlook add in to build an add-in for outlook 2003. But when I want to debug the add-in, it is not loaded by outlook. I can see the dll when i go to the com add-ins. When I want to activate it, outlook just clear the checkbox. When I want to add it manualy I get the exeption "<path> is not a valid office add-in." The frustrating part is that it was working
-
- ComboBox on an Outlook PropertyPage doesn't seem to get DrawItem events
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
-
- 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
-
- Generate Excel file using ASP.NET
by asa-beckstead
- 4 Replies
- Last post
by OmegaMan
- I am currently working on a page that will generate dynamic reports for my company. These generated reports are building an excel file using C# and the Microsoft.Office.Interop.Excel dll. While most of this works the way I would like it to I have run into one problem. When I use Pictures.Insert() I recieve an error stating that I am not including an assembly reference. When I tracked this down, it
-
- Word Add-In: Startup problem
by Miguel Peixoto
- 9 Replies
- Last post
by Miguel Peixoto
- Hi, I'm experiencing a serious problem here and I really hope someone can help me with this. Application: Word 2007 Developing: Add-In Using: VSTO SE Problem:
When debugging, my Add-In starts up (used a simple MessageBox to prove it was loaded) and in the Ribbon it was supposed to appear a Tab (let's say "My Tab") with all the controls and stuff.
In fact, the add-
-
- How to add worksheets from an external workbook instance in the Spreadsheet control or VSTO ThisWorkbook
by Boadil
- 1 Replies
- Last post
by Ji Zhou 每 MSFT
- Too bad . Im trying to add worksheets to the Globals.ThisWorkbook.WorkSheets from another instance of excel application, but it seems like this workarround is not possible either. Theres such a way to add data from an external workbook to the ThisWorkbook VSTO object
I have created a windows project using the SpreadSheet, tried to add an external workbook / worksheets but it looks like th