-
- Adding pages to document based on the same template
by Christian Sparre
- 7 Replies
- Last post
by waterseller
- Hello I have a simple single page template for a letter that I fill out using a simple C# application. But how do I make multiple pages of that template in the same document, eg. adding pages to a "Microsoft.Office.Interop.Word.Document" document for each recipient. The letters will never be more than a page long. What I'm trying to accomplish is beeing able to make severel letters from
-
- How can I insert empty checkbox and ticked-checkbox into a word document, using C#.
by TRID
- 6 Replies
- Last post
by TRID
- The character code for empty-checkbox and ticked-checkbox are: 160 & 120.
From MS Word application, I can insert those symbols from "Wingdings" font, How can I achieve the same, while accessing any word document from C# code.
Best Regards
Trinadh P.
-
- Office 2007 add-in problem
by cosmicX
- 3 Replies
- Last post
by Mike Walker
- I have installed VSTO 2005 and also Office 2007. However, I cant find the Microsoft.Interop dll files when I am trying to develop my own customized ribbon. After searching in the web, I get to know about the Office 2007 PIA, so I download and double click to install it. However, the things still remain the same after installation progress... So, anyone has any ideas about the solution and my prob
-
- A question about office clipboard
by Jin RongBo
- 3 Replies
- Last post
by Jin RongBo
- hi,
i have hooked two api: OleGetClipboard and GetClipboardData. when we copy some data , the OleGetClipboard is automaticly called by office clipboard, when we press ctrl+v in a office document, the OleGetClipboard also be called. until now , when OleGetClipboard is called, i can know which process called the function,such as winword.exe, but i cant know exactly who is the caller , the docume
-
- Problem with ThisAddIn_Shutdown and CommandBar in Outlook 2007
by Tadwick
- 14 Replies
- Last post
by Tadwick
- I have an Outlook 2003 add-in, developed w/ VSTO SE and written in C#. The add-in creates a command bar with two buttons on it. When the add-in shuts down and ThisAddIn_Shutdown is called, I save the command bar position using the approach described in http://msdn2.microsoft.com/en-us/library/ms268891(VS.80).aspx (modified for VSTO SE). The add-in runs fine in Outlook 2003. However, when I run the
-
- Ribbon UI word 2007
by MARY_N9
- 5 Replies
- Last post
by Misha Shneerson - MSFT
- I am customizing a Ribbon UI for MSWord 2007 ..
I need to put a button that when it is clicked an ".exe file" should be run..
This is the code that i used in the xml file to add the button:
< button id = " myButton3 " image = " pause.ico " size = " large " onAction = " run " />
And in the connect class
-
- SmartClient assembly Placed in GAC can not be access except smartClient installation folder
by Amol Gholap
- 2 Replies
- Last post
by Amol Gholap
- Hi All,
I have installed assembly in GAC in order to assign fulltrust(not using SetSecurity or Update Manifest). Everything works fine when installed on Win 2003 Server as well as WinXP pc at my end.
But when I install the application at client m/c, the excel file kept other than installation directoy(say Desktop) throws error saying "Custom assembly can not be loaded or v
-
- ComboBox on an Outlook PropertyPage doesn't seem to get DrawItem events
by BenDowling
- 11 Replies
- Last post
by Ji Zhou ¨C 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
-
- Hide status bar in Word 2007
by FS2K
- 1 Replies
- Last post
by Andrew Cherry [MSFT]
- Hi !!
i'm using VSTO 2005 SE C# WORD 2007
< customUI xmlns = " http://schemas.microsoft.com/office/2006/01/customui " onLoad = " OnLoad " >
< commands >
< command idMso = " MacroRecord " enabled = " false " />
</ commands >
</ customUI >
I've disabled the MacroRecord command in
-
- Hide Inspector
by thehin
- 9 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hello Everyone, I am trying to follow the example shown here: http://www.outlookcode.com/codedetail.aspx id=616 . This example is a work around which allows one to get the start date and end date of a selected calendar range. I am using VSTO 2005 SE and Outlook 2007. Everything works great, however there are a few problems. The following code is what I would like to do:
Code Block
-
- Can't see Excel Addin after deployment!
by Job Lot
- 8 Replies
- Last post
by Job Lot
- I created an Excel Addin and used the Setup project that gets created with the Addin project. I donĄ¯t have to check for prerequisites as they are already installed on clientĄ¯s computer. I granted full trust to the .dll using caspol.exe but I canĄ¯t see the addin when I run excel. That could be going wrong
Thanks
-
- How to increase the size of an image in toll bar of excel.
by Bharanee
- 3 Replies
- Last post
by Cindy Meister
- Hi,
I'm using an image in excel tool bar. The image actual size is 135 x 90. But when it displayed in toolbar its 16 x 16. Let me know how to increase the displayed image size in the tool bar.
It will be very helpful for me to proceed further, if the solution reaches me in short.
-
- Discontiguous selection in Word 2007?
by kewpcg
- 6 Replies
- Last post
by kewpcg
- I am developing a VSTO SE Addin for Word 2007. I need to determine if the user's current selection in Word 2007 is discontiguous (i.e., one or more non-adjacent paragraphs selected with Ctrl key), then handle accordingly.
The Selection.Type object does not seem to offer this information. Is there some way that I can find out if a discontiguous selection is made in the Word document
T
-
- Attach File
by Emma Dove
- 2 Replies
- Last post
by Ji Zhou ¨C MSFT
- Does anyone know how I can attach a file to an infopath form using c#
-
- Replacing XLA with COM Automation Add-In
by DaveThompsonLON
- 7 Replies
- Last post
by Dennis Wallentin
- Hello all, We've got a bit of a problem here that we hope you can help us with. We've just developed a COM automation add-in in Visual Studio 2005 (C#) to replace an XLA add in. To ease the conversion, we named most of the functions exported by the COM library to the same name as those in the XLA file. However, our problem is that on removing the XLA file and adding in the COM automation add-in
-
- Customizing Office 2007 Ribbon on demand
by Aleksey Nagoga.
- 7 Replies
- Last post
by savi_hk
- Hi All,
I found a great deal of information on how to customize the Ribbon UI by overriding the RequestService method. The problem is that this method is invoked automatically only once when my add-in is initializing (i.e MS Office Word 2007 is opening)
I, on contrary, need to modify the Ribbon UI based on certain user action - like opening a particularly named document.
Should I k
-
- limit of range
by hieplq
- 6 Replies
- Last post
by Ji Zhou ¨C MSFT
- i want insert string have length more 255 into excel range (programming VSTO). how sory for bad english!
-
- Cached Data from Website to Word Doc
by gbobg
- 1 Replies
- Last post
by gbobg
- Hello, I am having an issue with cached data in a Word document that is getting setup by a web page, but it only has an issue on the web server. I have a word document report that is being triggered to open from a web page and it is auto populating based on cached data and a web service. The code is very similar to the Benefits Registration Sample:http://msdn.microsoft.com/library/default.asp url
-
- Closing Excel.exe
by rchprog
- 4 Replies
- Last post
by rchprog
- I am programming a VB app in VS 2005 that interops with Excel and I'm having the classic problem that if I create and fill in a spreadsheet from VB then close Excel (from the actual Excel window), Excel.exe keeps running until the VB app exits.
I have spent the last few days basically looking through about 3 dozen posts that all say to use ReleaseComObject on every object you touch in Excel
-
- Newly Added Document is NOT the Active Window
by pKulandrei
- 13 Replies
- Last post
by pKulandrei
- Hi everyone,
I created a add-in for Word using vsto. I got a form that show to the user and when a buttoon on that for was clicked, the add will add a new document using this.Documents.Add(<params>). The new document was successfully created but it was not the active window. The first document when I opened word was still the active window. I'm using Document.Activate() to make the ne
-
- 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:
-
- need help w/ sumif or countif nesting stmts
by Ricdik
- 1 Replies
- Last post
by Dennis Wallentin
- I've looked over the internet & haven't found a solution that fits my need even after I've applied formulas to suit my spread sheet. Column C
Brand
2
1
12
2
1
1
6
1
1
0
Brand
2
1
9
1
1
1
3
1
1
0
Brand
0
0
6
1
0
0
4
1
1
0
-
- Will C#.Net Excel Addins replace C API Addins?
by dsamperi
- 6 Replies
- Last post
by dsamperi
- Using the C API to develop Excel Addins results in fast code but at the expense of working at
a very low-level with a highly non-intuitive and non-object oriented framework. The VSTO tools
and VS 2008 Beta suggest that a better solution is on the way, but at the current time it is not
very well documented, it seems to me.
The solution offered in VSTO is the Automation Addin. This t
-
- Add-in deployment problem
by jaz
- 14 Replies
- Last post
by jaz
- hi, I hv buid a setup for word2007 addin... but when i am installing it on another machine it s not working .. It comes under inactive application addins as com-addin.. How can i activate this
thanking you in advance
jaz
-
- How to work with Excel Rows and Cells?
by Unmesh Gundecha
- 5 Replies
- Last post
by Unmesh Gundecha
- Hello,
I am new to VSTO and VS 2005. I have a challenge to develop a prototype of an Excel sheet which will allow my testers to create test cases using some inputs from external source like a XML file or a VBScript.
Scenario is like this:
I need to develop an Excel sheet which connects to a XML file and some script file. It parses these files and loads some values in a TreeView control. I