-
- Determine the location of the template
by Henrik Andersson
- 6 Replies
- Last post
by Henrik Andersson
- Hi,
I have started to create an add-in that will interact with a SharePoint list when the a new document is created from a SharePoint document library. The add-in is created and reacts on the NewDocument event, but I can not find any property on the Word application object (or in ActiveDocument) that tells me from which location the template was loaded/started.
What I want to know is: W
-
- Difference between XL2003 addin and XL2007 addin
by Johan Nordberg
- 2 Replies
- Last post
by Johan Nordberg
- What's the difference between the VSTO templates for addins targeting Excel 2003 and Excel 2007 If I just have Office 2007 on my development machine, can I just change som references and deploy it for Excel 2003 What happens if I open up a Excel 2007 Addin project on a machine with Excel 2003
For the moment I use VS2008 beta 2, but the question also applies to VS2005 and VSTO2005SE.
-
- ClickOnce deployment of VSTO2005 Outlook Add-In
by KeithFranklin
- 2 Replies
- Last post
by Donal Lafferty
-
- Moving Project Backwards from VSTO-SE to VSTO
by Crappy Name
- 1 Replies
- Last post
by Douglas H. Troy
- Hi, I created a project using VSTO-SE, but I need to convert it to run on VSTO standard. When I try and load the project, I get the message 'Unable to read the project file 'x'. The imported project 'c:\program files\msbuild\microsoft.visualstudio.officetools2.targets' was not found. Confirm that the path in the <import> declaration is correct. Can someone suggest the best way to convert thi
-
- ColorFormat's RGB not available in C++/CLI
by GrkEngnr
- 3 Replies
- Last post
by Geoff Darst - MSFT
- I'm trying to use Powerpoint interop from a C++/CLI application. My problem is that when I try to change the color of added text, I can't get to the RGB property of the ColorFormat field.
I usually set font size as shown below.
slide->Shapes[ "TextName" ]->TextFrame->TextRange->Font->Size: et(FontSize);
when I try the same with Color, I can see every f
-
- VSTO, Add-in, COM, i'm confused!
by nitm
- 12 Replies
- Last post
by Cindy Meister
- hi,
i'll start with what it is i need to do and only afterwards with the problems.
i need to create a web site (php) which represent ms word documents.
for that i decided to create a desktop application (using .net C#) that loads the word document, parse it and saves the data in a mysql database on the sites server.
in order to do that i need to have a special format for the docume
-
- How to read excel cell styles?
by Xfolder
- 4 Replies
- Last post
by vikaaas
- Hi!
Could please anyone show an example on how to go through all cells and read their style.
(font size, color etc.)
in VB.NET
thank you
-
- Word VSTO: BeforeClose, Close, ShutDown and Document Saved
by Douglas H. Troy
- 4 Replies
- Last post
by QualyLee
- Word 2003 VSTO Solution using C# In my Word VSTO solution, I recently added a BeforeClose() event handler, so I can "restore" Word's commandbars (those I've hidden and whatnot). Since having done this, anytime a close the document using Word's close button (X), I am prompted to save the document. So I added this.Saved = true; in the BeforeClose handler as the last line and yet I'm still prompted t
-
- Outlook 2007 Full Length Window Screen Capture/Shot
by mattmcla007
- 2 Replies
- Last post
by Sue Mosher - Outlook MVP
- I'm not entirely sure this is the correct forum for this as this is kind of a off the path issue. Basically what I'm doing is taking a screen shot of emails in OLK2007. In the past I was able to ask the window with the message in it for ScrollInfo (that may not be the right function name) and I could get back how long the scroll was. With the recent change to the rendering engine when viewing emai
-
- Addin fails to load a DLL which had its version updated.
by sameera
- 9 Replies
- Last post
by sameera
- I have a Excel document level customization project that is dependant upon another common class library project. When I increment the version number of the class library the VSTO project fails to load it during run time. The exception I get: Could not load file or assembly 'CommonLibraryPrj, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69128d937baea9c7' or one of its dependencies. The located
-
- Really Newbie Question
by Ian Vink
- 2 Replies
- Last post
by Ian Vink
- C#, VS.NET 2005 I am working on a large Enterprise App. Our company has Offive 2003, but in the next year will move to 2007. I need to create a very simple componet that will spell check using the Word spelling engine and that will work on a 2003 or 2007 PC. Where in the world do I begin ("Really" newbie). I have installed the VSTO 2005 Second Edition and have found the C#/Office/Addins
-
- Define function in .NET and call from Excel
by Victor Hadianto
- 1 Replies
- Last post
by Dennis Wallentin
- Hi all,
I wonder if it is possible to define a function in .NET and use it as Excel calculation. I mean for example I define a function in .NET as follow
public double CaculateDV(double a, double b)
{
// do some calculation
return abc;
}
Now in the Excel spreadsheet I'd like to be able to type =CalculateDV(A1, A2) in one of the cell, hit Shift-F9 and it should call .NE
-
- Managed UDFs for Excel 2003 with VSTO 2005 SE
by Karlma
- 5 Replies
- Last post
by Karlma
- Hi,
I am developing some User Defined Functions (UDF) for Excel 2003 using Visual Studio 2005 Team Edition for Software Developers, and I have VSTO 2005 SE installed. The solution is currently an Automation Add-In (VB class library) that fetches some data and does some calculations on a MS SQL Server 2005 by calling stored procedures. I have basically followed the instructions from Eric Car
-
- PasteSpecial method in word using C#
by Tuanvm2305
- 14 Replies
- Last post
by Josh Tucholski
- anybody know to use the Range.pastespecial method of word using C# to convert a range of text or somthing to image and then paste into a word document Please guide me
-
- Content Control Events
by Toby Russell
- 4 Replies
- Last post
by Jason (Mel)
- Hi, I'm trying to wire up the Word 2007 Content Control Event Handlers up via a C# VSTO Application AddIn, specifically the before delete event, although I would like to have access to all the other events too.My problem is that if I assign the handlers in the Startup method they don't attach; I realise that this is the COM Interop RCW issue, but am unsure of how to proceed with resolving this in
-
- Word automation from a Web Service
by RickSmithers
- 10 Replies
- Last post
by Brian_76
- With current (i.e. pre Word 2007) versions of MSWord, there are problems attempting to use WORD automation on an unattended server. The main ones are:
WORD is not thread safe. Trying to start more than one instance can crash you. This results in very limited throughput if you are trying to do higher volume
WORD can open "pop-up" error dialogues at any time, effectively hanging t
-
- API to retrieve Address from outlook address book?
by Malleswar
- 26 Replies
- Last post
by Malleswar
- Hi, Can any one guide me or provide the link to retrieve Address from outllok address book Thanks in Advance
-
- Converting Interoped Code to Managed Code
by PaulNations
- 9 Replies
- Last post
by Sue Mosher - Outlook MVP
- I have an old VB6 program that uses Word automation to fill in a bunch of bookmarks with text from the database. I urgently need to rewrite it, as it only works on a few relic machines now. When I started the conversion I see that the Bookmark.Range object has been deleted from the .NET object model. I'm trying to download the new definition from http://www.microsoft.com/downloads/details.aspx fam
-
- Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer
by DWalker554476
- 3 Replies
- Last post
by Dennis Wallentin
- I have worked through the MSDN articles titled "Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer", which were extremely helpful, but I have an issue when running my setup.exe.
The setup.exe seems to think the Office PIAs are not installed (this is when running on my dev machine, on which the addin has been written and works fine). If I
-
- QN . Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System
by krishna kumar
- 5 Replies
- Last post
by krishna kumar
- I have downloaded this and I don;t see Excel workbook, Excel template, word doc, word template project under office. I see Excel Addin / word addin etc. In one of my machine I have VSTO and I see Excel workbook, Excel template projects. My second question is, how do I access Task Pane from Excel Addin project. In my work wook project I simply say, this.ActionsPane.Controls.Add(ucsGetCPM); Here is
-
- Word Addin - file path is not getting highlighted.
by Jahid
- 2 Replies
- Last post
by Cindy Meister
- I have developed an addin in C# .Net 2003 and using framework 1.1. After installing this custom addin I am facing a problem while inserting the path of the file in a word document.
Steps to reproduce the issue.
1. Put your cursor at the point in the document where you'd like the path and filename to appear (header or footer, etc.) 2. Click the Insert menu 3. Choose Field... 4. Sel
-
- What Database is used in MS Shared Point 2003?
by Chung Nguyen Nam
- 1 Replies
- Last post
by Steve Hansen
- Hi
I've installed MS Shared Point 2003. But i donot know what database is used in this.
Please tell me, thank you.
-
- How to recover information of the user according to his click ?
by Monico
- 8 Replies
- Last post
by Monico
- Hello, I have any questions about VSTO for Outlook 2007. I success to create a button in my CommandBar (Standard) but if I want this button in my Appointment for my Calendar, it doesn't exist. So my question is : is it possible to have my button when I create an appointment And my second question will be : how it's possible to know what the user is clicking. For example, he click on an email : ho
-
- Adding the Viewing of Office documents into an application without Office being installed
by djjdaeja
- 5 Replies
- Last post
by Cindy Meister
- I am looking to add the viewing (not editing) of Office documents into an application without any of the Office applications being installed. I know there are Word, Excel and PowerPoint standalone viewers. Can this functionality be embedded into an application
My preference would be to not use .NET Framework, but if the only way is to use .NET then I will.
Thanks in advance.
-
- Support for multiple columns in Form Region controls
by Rama Krishna rao
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi, I need to display data in multiple columns (like in a table) in a form region. I tried all Outlook.Olk* controls, none of them are suitable for my requirement. Neither "Grid" control is supported for form regions. 1)Could you please suggest me any other way to show the data in multiple columns 2)How to get the handle to this control in the function BeforeFormRegionShow() so that I ca