-
- Selection.Move infinite loop on Word 2007 document
by Dave Jenkins
- 6 Replies
- Last post
by Dave Jenkins
- I am writing a Word 2007 add-in with VSTO SE. A button in my custom task pane moves the Selection through a document in steps of one paragraph. The code is shown below. It hangs midway through the document in an infinite loop. The document I am testing is a Microsoft financial document at http://www.microsoft.com/msft/download/FY06/MSFT_3Q2006_10Q.doc . Is this a bug It does the same thing if I sa
-
- Project references confusion
by wordyone
- 2 Replies
- Last post
by wordyone
- I recently restructured a few of my projects, and now am seeing strange behavior with debugging. I think there may be a problem with my project references but I'm not sure how to fix it.
When I set a breakpoint, it stops there as it should. However, I can no longer edit the code while the project is running. I have checked the project references and re-set them several times within the sol
-
- How to Open MS Visual Studio Software???
by Steve Yount
- 2 Replies
- Last post
by Robert Green
- I Just Installed MS Studio 2005 Professional and have zero information on how to use or even open the software.
The help videos on the MS Visual Studio Web pages are not helpful, because they all assume the person seeking help is already familiar with the software, has opened it many times, and wants to know about its various applications.
Other MS software I have, such as MS Wor
-
- Using a Multi-Project with a Web Site frontend and VSTO Word Project to populate Word templates
by John McAllister
- 3 Replies
- Last post
by Cindy Meister
- Hi, I have been doing some research recently into VSTO as I have a project that may require it. So far I have not found any help out there on the following: I have various Word documents that are letters that will need to be sent out to customers. I would like these "templates" to be personalised using a Web front-end. So basically the member of staff takes information over the phone fro
-
- Can't load my com add-in in outlook 2003.
by JessicaZh
- 4 Replies
- Last post
by sklett
- My com add-in was working well with outlook 2003, but was not loading in office 2003. It will load though if I run through the code. After running once through the code, the dll will load fine in Outlook. Does someone know what could cause this behavior
Thanks.
-
- How does office clipboard work?
by Wen Jin-Chao
- 6 Replies
- Last post
by Jin RongBo
- Hi,
We know that window can place more than one object on the system's clipboard, each representing the same information in a different clipboard format. And there is a Office clipboard.
If I copy the full contents of word document that contains lots of data in various data format, such Text, Image, OLE Object and so on. And I press Ctrl+V in Word application. How Word application put data o
-
- How would I set a text in an excel textbox using C#
by sagittarian
- 9 Replies
- Last post
by Cindy Meister
- Hello! I create an excel textbox(Drawing) dynamically through my application, which is written in C#. My question is how would I add text to it! This is my code for adding the textbox. Globals.SheetMain.Shapes.AddTextbox(Microsoft.Office.Core.MsoTextOrientation.msoTextOrientationHorizontal, iLeft, iTop, iWidth, iHeight); I am using VS 2005 and my version of excel is 2003! Thanks for your time!
-
- VSTO v3 CTP and MS Access Ribbon UI Customization
by jaz
- 4 Replies
- Last post
by jaz
- Hi all I want to customize the ribbon UI of my MS Access 2007.. I can customize the ribbon UI of MS Word, Excel, Powerpoint etc using VSTO2005SE . But how can I customize ribbon UI of MS Access 2007. Google search pointed me to VSTO v3 CTP . But from where I ll get that tool Is there is any link to download that Or is there is any other tool that helps me to customize the ribbon UI of MS Acc
-
- visual studio tools for office
by Kithsiri1
- 3 Replies
- Last post
by Kithsiri1
- I want to call a print dialog box from a command button in an excel sheet. I cant see the common dialog control in the control tool box. How can I add a custom control to my work sheet
-
- How to add Watermark?
by PaulVSTO
- 3 Replies
- Last post
by Cindy Meister
- Hi,
I'm working with [2005 .net version] C# on a VSTO project I know how to add watermark in Word 2003 by Format -> Background -> Printed Watermark... Does anyone know how to insert it using VSTO Thank in advance Paul
-
- Word MAil Merge Automation
by etrast
- 9 Replies
- Last post
by Cindy Meister
- I am trying to implement mail merge into our application using .NET as mentioned by c_shah. But the problem is, I am not sure what format the word document needs to be in. (ie., how to create mydoc.dot that is used in that example)
I tried word's inbuilt mail merge functionality to create a template document that can be used from our application. But every time I try to do that, word requires m
-
- C# UserProperties
by AndyJump
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- This has been driving me nuts :/
I have this method (SetArchived):
Code Snippet
public static void SetArchived(MSOutlook. MailItem mailItem, bool value)
{
if (mailItem.UserProperties[ARCHIVEDPROPERTYNAME] == null )
{
mailItem.UserProperties.Add(ARCHIVEDPROPERTYNAME, MSOutlook. OlUserPropertyType .olYesNo, false , MSOutlook. OlUserPropertyType .olY
-
- Get The text of Words from a word document
by Corby111
- 14 Replies
- Last post
by Pweeks
- This may be a topic for some other group, but this group gets replies faster then then Automation or some other Word groups, so maybe someone here knows this.
I really want to thank Cindy for pointing me in the right direction for what I wanted to do. I ended up using the DsoFramer control to host my word doc, and now I have the document loaded, when I first saw the Word.Document.Words collecti
-
- PivotTable will not update with new range - please help
by WorksheetMonkey
- 14 Replies
- Last post
by WorksheetMonkey
- Hello all,
I am developing an excel vsto application where I am importing some XML data from a webservice on one sheet (called DataSheet) and where a Pivot table is created on a second sheet (called PivotSheet). Once the data has been imported I can then flip to the PivotSheet and create my table.
The problem occurs when I fetch new data (from webservice with different filtering opti
-
- Missing Office plug-in VS2005, How do I get it?
by whowawoo
- 2 Replies
- Last post
by whowawoo
- I have VS2005 from the MSDN sub, where do you get the office plug-in Exactly, when I watched Kathleen's how to camtasia video on manipulating email using C# she references a new project and then selecting an office project. How do you get this Many thanks -H
-
- Excel chart for multiple segregated column using C#
by zoddiax
- 7 Replies
- Last post
by zoddiax
- Hello
I want to create excel chart for multiple columns which are segregated. Following is my code for single range
xlRange = xlSheetScript.get_Range( "B6" , "B400" );
xlChart.ChartWizard(xlRange, Excel. XlChartType .xlLineStacked, Type .Missing,
Excel. XlRowCol .xlColumns, Type .Missing, Type .Missing, false ,
"Daily" , Type .Missing,
-
- How to copy owc's chart to Excel?
by wEmmay
- 2 Replies
- Last post
by jam1234567890
-
- Application.Calculate in Excel does not seem to work when custom task pane is visible
by jking94577
- 4 Replies
- Last post
by jking94577
- Application.Calculate in Excel does not seem to work when custom task pane is visible. I have a custom task pane that paste in a user defined function into Excel. However, when I do a Application.Calculate to make that user defined function show a value immediately it does not seem to do anything. I actually have to close the custom task pane then do an Application.Calculate and then the value cha
-
- VSTO deployment solution not working in IE
by ClaudiaHelpOnVSTO
- 11 Replies
- Last post
by Electric Boogie
- Hi, I have a VSTO 'code behind' solution which is deployed on a server. User who want to open such a Word document, download and access the document via a browser. Once the browser has downloaded the .doc file, the user clicks OK to open the document on his machine. When I try this solution with Mozilla Firefox everything works perfectly fine: the VSTO document is opened and my assembly starts ru
-
- Document Actions Pane from Add-in project
by Albert Raiani
- 2 Replies
- Last post
by Albert Raiani
- Is it possible to add controls to the Actions Pane from an Add-In project for Excel 2003 or must I use an Excel Workbook project template
For example in a Workbook project I can use code like this:
Globals.ThisWorkbook.ActionsPane.Controls.Add(btn)
This ActionsPane property is only available on the ThisWorkbook object which is gen'd by Visual Studio when you create a new Wo
-
- VSTO and SQL Server.
by misael7719
- 2 Replies
- Last post
by Andrew Whitechapel - MSFT
- Hello to all,
I know, this forums is not intended to be used for automation questions, but, let me explain my concern.
Today in the company we have a process to print documents (WORD) and then once the document has printed the document it is saved in the SQL Server DataBase.
My boss has requested to me to do the same process using VSTO, this the entire process:
1.- We create a word doc
-
- VSTO SE Setup Proj - How to Install 2 Outlook 2003 Addins in same Setup project
by BillyDvd
- 2 Replies
- Last post
by Christin-MSFT
- Can anybody tell me how to place 2 outlook addins in the same setup project
I have each one running with NO issue's seperatly.
I have tried:
adding the output from one to the other
added the "SetSecurity" code process in the custom action's
copied over the registry setting's...
and it still fail's!!!
I check to see if it is in the registry ... It is / Just lik
-
- FormatConditions.Add method problem
by kalsky
- 4 Replies
- Last post
by Misha Shneerson - MSFT
- Hi
I wrote windows application in c# that has a datagridview and an option to export it to Excel. in this function i added some FormatConditions to the cells. when i wrote this function, i used excel 2000 as a reference. today, with office 2007, i'm having problems to compile the code, because apparently the Add method was changed in 2007 and now it gets 8 parameters instead of 4. when i try to
-
- 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
-
- 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