-
- How to stop a program for a button event?
by Michael Zh.
- 5 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi All, I am new to C# and VSTO. I am writing an automation tool with Excel 2003, I have some code which is written in the button event: private void initiateProg_Click(object sender, EventArgs e) { CreateProjectList(); ....... } private string[] CreatePureProjectList() {
CheckProjectName(); ... } I will check for the 'null' value in the method CheckProjectName(), if it f
-
- Including Word documents as part of VSTO Add-In
by dirty-shirt
- 1 Replies
- Last post
by Johan Nordberg
- I'm developing an application level add-in for Word 2007 and as part of this add-in, I've included a "Wizard" feature which basically opens Word templates.. I want to include these files as part of the application. At the moment I have hardcoded the the location of these files into the program itself (using Add method to open), the question is will this be sufficient when I deploy the ap
-
- How to using COM of Office in code to compatible different client office version.
by JerryCai
- 5 Replies
- Last post
by JerryCai
- Hi,
I encountered a particular problem that how to print the Excel in code with different Excel Version compatibility. I've finished the code to print in code as follow:
using Microsoft.Office.Interop.Excel; object missing = System.Type.Missing; object readOnly = true; object printer = NonLocalizableString.XpsDocWriterPrinter; object saveChanges = Microsoft.Office.Interop.Excel.XlSa
-
- MergeWorkbook does not work, SaveCopyAs works.......... ideas?
by Saurabh.Gupta
- 12 Replies
- Last post
by JommyChen
- The following works good, except for, when I open the saved copy it tries to load the Customization assembly.
Globals.ThisWorkbook.SaveCopyAs(absoluteFilePath)
I tried code to remove customization, but as per the code, no customization exists.
Any help, hugely appreciated!
If (ServerDocument.IsCustomized(absoluteFilePath)) Then 'false
ServerDocument.RemoveCustomization(ab
-
- Customization doesn't run in VSTO Word Doc returned from server
by David H.256282
- 7 Replies
- Last post
by Misha Shneerson - MSFT
- I'm trying to configure an ASP.Net 2 web site to return a Word document that contains a VSTO customization that displays an action pane when the document opens.
I've manually added the Caspol security settings on the machine to point to the site. I've tried it for all zones and for both IIS access to the site as well as using the built in VS web site but I'm still getting blocked and the docume
-
- How to convert string to new mail
by abhimanu
- 9 Replies
- Last post
by Dparora
- Hi ,
I am trying to develop a project that receives new mail in the form of a continuos string separated my delimiters and also contains attachment as byte array.
How could I convert these string into my mail item and save it into my custom folder during runtime.
Thanks in advance.
Regards
Div
-
- Trouble with using assemblies (.NET Framework 2.0) in MS Office
by olgerd
- 1 Replies
- Last post
by Misha Shneerson - MSFT
- I'm using assemblies (based on .NET Framework 2.0) in Excel via VBA. But on runtime Excel crashes. I've downloaded Update for Office 2003 (KB907417) . This update has fixed the problem in Office 2003 only. And I need similar updates for Office 2000 and XP but I cannot find them at all. Are there any solutions
-
- Programmatic access to Excel Limits?
by scotsman60
- 1 Replies
- Last post
by Saurabh Bhatia - MSFT
- Hello!!!!
I'm looking for a way to access Excel limits programatically. Is there an application property, or set of properties or any other methid by which I can easily access all of the relevant limits
TIA,
Doug
-
- how to turn off outlook security warning dialog box using C#
by shiversticks
- 14 Replies
- Last post
by shark312
- Hi, How can one get rid off the Security Warning dialog box which pops up when you try to access a property of ContactItem in Outlook 2003 I'm using Visual Studio Team Suite Beta 2, Microsoft Outlook 11.0 Object Library, Outlook 2003. I've written a webform to get the list of contacts and display it in a listbox. But everytime the webform loads, an outlook security dialog box pops
-
- Strange behavior: RichTextBox
by ClaudiaHelpOnVSTO
- 14 Replies
- Last post
by ClaudiaHelpOnVSTO
- Hi, I am creating a .doc with VSTO2005. My document contains several Controls such as Buttons, RichTextBoxes, ComboBoxes, etc. which are generated at runtime. In some cases, I encounter the problem that a RichTextBox doesn't display the content (text) it should, but only displays a big red cross like this: \ / \ / \
When I
click into the RichTextBox field (wi
-
- Should I be using SE?
by Hockey Fan
- 9 Replies
- Last post
by Darryn Lavery -- MSFT
- I'm having trouble deploying VSTO apps, despite numerous articles and documentation that I've read. I am wondering if it would help if I downloaded VSTO SE but since the MS Office apps that I'm working with are primarily Office 2003, is SE the right thing to download Will it hurt if I use SE
-
- Convert Type "Shape" To "Chart"
by Lihong
- 5 Replies
- Last post
by Cindy Meister
- I have a PowerPoint 2007 AddIn project. In the project, a chart is added dynamically. I would like to convert the added "Shape" to type "Chart", and so I could access the datasheet behind the added chart, because I could not find a way to access data behind a "Shape" object. However, it seems shape interface cannot be converted into chart interface. See below:
-
- Accessing other users' Inbox folder programmatically
by firebasket
- 5 Replies
- Last post
by Sue Mosher - Outlook MVP
- I would like to know how to access other users' Inbox folder in VB.NET if I have the permission to access the user's Inbox folder through Outlook 2000. Thanks in advance.
-
- Word VSTO Issue.
by Murali.
- 3 Replies
- Last post
by Murali.
- Hello,
I created a VSTO Word 2003 Project with some webservices pulling in the data. I did the deployment using a setup project which worked fine. Suddenly I keep getting the error once the installer is run in client's computer and getting close to completion as "value cannot be null parameter name: url". This also happens unfortunately when I run the installer in my machine. I looked
-
- KB928365 Removes code groups
by Brian McManus
- 7 Replies
- Last post
by Ji Zhou ¨C MSFT
- Has anyone else had problems with this Windows Update package
I have now seen the issue on two machines. After installing KB928365 Security Update for .Net Framework 2.0 the CASPOL code groups I had set up for my Outlook AddIn were gone!
Brian
-
- Convert .OST to .PST
by The MaiN MaN
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- Im trying to create an app that converts an .ost file to .pst. An .ost file is a Microsoft Exchange email file and in order to read an .ost file offline you need it to be converted to .pst. I know theres tools available for office 2000 for free but this does not work with Office 2003 only ones available need to be paid for......if you need more info on this please see http://www.nucleustechnolog
-
- Failure adding control to the document
by Evanscute
- 4 Replies
- Last post
by Evanscute
- I have Visual Studio 2008 Beta 2 and office 2007 installed. I am trying to create Office 2007 Word Template C# project. Project is created and word also loads in design view. When I am dropping control on to the template I get an error message "A failure occurred adding the control to the document". It does not matter what control I am adding button, text box everything seem to be giving
-
- VSTO 2005 Installation Problem - Says Office is not there
by SWDEVMaui
- 3 Replies
- Last post
by Cindy Meister
- I am trying to install VSTO 2005. It repeated fails saying that Office 2003 SP1 is not on the machine. I have repaired the Office installation, removed it and re-installed, using the Full Installation, and then applied SP1 only, and VSTO _still_ says that Office 2003 SP1 is not on the machine.
I am using Office 2003 Small Business Edition. According to Microsoft web pages, all that is required
-
- ContentControl not allowing multiple lines in word 2007
by dhysong
- 4 Replies
- Last post
by dhysong
- I am using VSTO SE, and I'm adding multiple content controls to a page on a ribbon button click event. When I add just one contentcontrol, I can begin typing in the control, hit enter and it will go to the next line. However, when I add 2 controls, both controls will not allow me to go to the next line by hitting the enter key. Here's my code:
Code Snippet
object missing = Type.
-
- OFFSET Function
by Sandyee
- 2 Replies
- Last post
by Sandyee
- Hi ,
We are making use of Office 2003.
Our requirement is to show the reports in Excel.
In one of our reports we have chart.
Data on X and Y axis of the chart is not static number of rows so we are making use of OFFSET function
eg.
X axis = Asset = =OFFSET(Attribution_Data!$AA$3,0,0,COUNTA(Attribution_Data!$AA$3:$AA$65536),1)
Y axis = Security = =OFFSET(Attribution_Data!$AB$3,
-
- Over-zealous off-topic police
by JocularJoe
- 6 Replies
- Last post
by Misha Shneerson - MSFT
- I've noticed that on this forum in particular, moderators are over-zealous in describing posts as off-topic.
For example, my recent post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1657867&SiteID=1 asking about Thread.CurrentPrincipal in a VSTO 2005 application was moved by Ji Zhou to a forum "Off-topic posts" and he advised me to post again on a VBA forum (which is
-
- Excel bound/cached data problem
by karfast
- 3 Replies
- Last post
by karfast
- Hi, I tried out the walkthrough on creating a Master Detail Cached dataset in Excel. I followed each step precisely.
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vstcore/html/419f4e07-c67f-4fc9-973a-bc794f349ac3.htm
Simple enough, and the data displays correctly.
Problem is that I cannot get the data to sync with the DB. I worked within DevEnv (VS2005 Team, SP1, VSTO
-
- Outlook: MAPI fields versus User Properties
by MauricioUY
- 14 Replies
- Last post
by Ken Slovak
- Hi,
I want to improve an outlook addin which is using mapi fields (a lot) and this is generating abnormal behaviors in outlook, so now I'm in doubt to quit all use of mapi fields fo User Properties but I need some recomendatios or comments about using "mapi fields vs user properties" (or viceversa).
Thanks,
Mauricio.
-
- Right Click Event on Email Item
by xishan shigri
- 7 Replies
- Last post
by Sue Mosher - Outlook MVP
- Right now i am trying to edit the right click menu of outlook 2003 using VSTO. also i want its events so that i can do some necessary work becore the right click menu. Any help regarding this would be appreciated.
-
- Excel sheet delete/rename/move/copy
by msexceller
- 8 Replies
- Last post
by msexceller
- How do I handle following events in excel 2003 (with C#)
sheet rename
sheet delete
sheet move
sheet copy
Also, is it possible to disable only a few options in sheet right click popup menu Protecting the workbook is not acceptable in my case.
thanks...