-
- Which VSTO edition should I be using?
by Bdenison
- 6 Replies
- Last post
by Nexemis
- Earlier I downloaded the "Microsoft Visual Studio Tools for the Microsoft Office System" and now I see there's a "Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System" download that is available.
I had to remove everything because I was experiencing problems when trying to run in debug mode (The ApplicationStartUp event was not firing, but that's another s
-
- Create InfoPath form at runtime
by Jan Meeusen
- 0 Replies
- Last post
by Jan Meeusen
- When form1 is submitted, its data is deserialized using class1.
How can i put data from this class1 into a form2
I only have the location of its template on sharepoint and the class generated from it (with the xsd-tool). Problem appears to be the generation of the header and the exact xml-layout.
Perhaps i have to add some attributes to the generated class So when serializing an objec
-
- Controls property
by mathmax
- 4 Replies
- Last post
by mathmax
- Hello,
I work on an office 2007 word document project. I would like to get all the controls of my document of type RichTextContentControl. So I write this :
foreach (var c in Controls) { if (c.GetType() == typeof(RichTextContentControl)) ... }
The problem is that I just get the RichTextContentControls that was already existing in the document and not those added by the user.
-
- Automating Speech to Text feature of word from C# .net
by Anurag-Mehrotra
- 2 Replies
- Last post
by Cindy Meister
- hi...
i am trying to call speech to text feature provided by microsoft word from C # but i am not able to find any method that can do so. I know how to open a new document from .net. Can someone please give me any link or any method that helps me in automationg 'Speech' feature of microsoft word from C# .net its urgent
Thank you,
Anurag
-
- How do _you_ develop for OL2003 and OL2007 with VSTO SE?
by Tadwick
- 3 Replies
- Last post
by Misha Shneerson - MSFT
- Having read various threads and blogs on the subject of developing for Outlook 2003 and 2007, I am interested in how others are setting up their development environments.
My add-in doesn't require OL2007 functionality but I want to deploy to OL2007 clients with the OL2007 PIAs. Because I cannot reliably build my add-in with both OL2003 and OL2007 PIAs on the same machine I am currently inst
-
- building outlook toolbar in contacts
by rnbguy
- 10 Replies
- Last post
by X4U
- I can use the below code to create a toolbar in outlook:
try
{
// See if it already exists
this .toolbarButton = (Microsoft.Office.Core. CommandBarButton )commandBars[ "Standard" ].Controls[ "SE Dial Contact" ];
if (applicationObject.ActiveExplorer().CurrentFolder.FolderPath.EndsWith( "Inbox" ))
{
this .toolbarButton.Visible = false ;
-
- how discover macros programatically?
by Freitas
- 3 Replies
- Last post
by Cindy Meister
- Hi all,
I need to open an office document and discover macros inside of it and extract macro content(source code) as well. Does anyone knows how to do it Is there any VBE class that can help me
thank in advance.
Freitas.
-
- Outlook Mobile Service
by suddenelfilio
- 2 Replies
- Last post
by CeteTorunu
- I'm trying to develop a OMS service following the whitepaper http://www.microsoft.com/downloads/details.aspx familyid=505c17a6-5598-4fd8-a448-820d8bae5f07&displaylang=en but I can't get it to work... Is there any more up to date information on developing for this technology thanks
-
- Can't See Custom Task Pane in Word 207
by Anonymous556757
- 1 Replies
- Last post
by Cindy Meister
- I'm new to VS programming and wanted to learn more about Custom Task Panes. I followed the instructions outlined in the "CustomTaskPane" office developer video and everything works fine. But when I open word 2007 the custom task pane is not visible. Under the add-ins option, my add-in is there but it is not loaded.
Any help is greately appreciated.
-
- Showing Progress Bar when data is getting uploaded in Database
by Darshan Parekh
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi,
I have developed a solution which uploads the ExcelWorksheet data in the database.
Now i want to show some kind of Progress indicator while upload is going on.
Any suggesstions as to how to do
Regards,
Darshan
-
- Create Action Button
by Hussain Saffar
- 7 Replies
- Last post
by Cindy Meister
- How to Create an Actionb Button in MS Word Using VSTO
This Action should read fax number send as a fax
Anyone can help me or give me a hint to this please
-
- New Deployment Article for VSTO2005 SE
by Darryn Lavery -- MSFT
- 14 Replies
- Last post
by mkmike
- I am pleased to annouce that we have released an updated to the Windows Installer deployment article for Visual Studio 2005 Tool for Office Second Edition.
The article is available at:
http://go.microsoft.com/fwlink/ LinkID=57779
We will be updated the article for Vista in the near future.
If you have any questions, please feel free to open a new thread.
Thanks and regards,
Darry
-
- 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
-
- embeding data into word file
by Job Lot
- 10 Replies
- Last post
by Ji Zhou ¨C MSFT
- Sorry if this is not the right place for this question. I couldn't find the right forum!!!
How can I dynamically embed data from SQL Server into a word document I have a Contract of Sale document in word format that I need to automate so that details from the database (e.g. sale date, client name, contact details etc) are dynamically added to this word document. I havenĄ¯t done anything lik
-
- Action Pane Dissapears with Spellchecker
by tomdeloford
- 1 Replies
- Last post
by Cindy Meister
- The Actions Pane dissapears when I open the Spell Checker. I have checked all my eventhandlers but the Pane is closed before any VSTO events. Oddly sometimes the pane doesnt close but instead switches to the Getting Started page.
Regards Tom Deloford
-
- Problem copying a worksheet to another workbook in Visual Studio 2005
by prem1984
- 5 Replies
- Last post
by Dennis Wallentin
- Hi
I am having problem in copying a worksheet from one workbook to another workbook any help will be highly appreciated. my code is as follows:
Dim oexcel1 As Excel.Application
Dim oworkbooks1 As Excel.Workbooks
Dim oworkbook1 As Excel.Workbook
Dim oworksheets1 As Excel.Sheets
Dim oworksheet1 As Excel.Worksheet
Dim oexcel2 As Excel.Application
-
- Getting Word compatibility/version info for active document
by wordyone
- 3 Replies
- Last post
by sdangelo
- I am working on a VSTO SE addin for Word 2007 (written in VB.Net). On the DocumentOpen event, I need to get information on what version of Word the document was created in.
This worked in prior versions of Word but seems to fail with Word 2007 object model:
App.Dialogs(Word.wdWordDialog.wdDialogToolsOptionsCompatibility).Product
The Product property is in the object model docu
-
- Transparent icon for FormRegion
by Alex Yakhnin - MSFT
- 2 Replies
- Last post
by Ryan Gregg - MSFT
- I am using the GetRegionIcon implementation to assign the icon for the region on the Ribbon. But I can't get the transparent background recognized by the Outlook. I've tried to use both transparent png and icon. Neither works. I am using the code that Ryan posted here:
http://blogs.msdn.com/tq/archive/2006/11/30/outlook-2007-form-region-sample-second-edition.aspx
-
- BCC Check
by Danielha
- 1 Replies
- Last post
by Ryan Gregg - MSFT
- Hello - I wrote a small function that recursively checks the AdressEntries of a MailItem.Recipients in order to determine if the Outlook user is in the the Recipients collection, or a member of a Distribution List that is part of the collection. I have two questions regarding this: 1. Do you think this is the most efficient way to determine if a message was received with the receiver in the BCC fi
-
- VSTO SE - Create Spreadsheet on Server Without Excel
by sheiderpbsj
- 6 Replies
- Last post
by Abhijeet S
- I understand that with VSTO SE and VS 2005 you can create and manipulate spreadsheets on computers/servers that do not have Excel installed. I have done a lot of programming Excel with COM but am new to VSTO. I have searched various examples online but have not found just one simple example of creating a spreadsheet pro grammatically on a server that does not have Excel. The resultant applicatio
-
- connecting excel file to C++ program
by nicelily
- 2 Replies
- Last post
by Cindy Meister
- Hi every body
I am a new programmer and I have been studying C++ for one semester. I know how to link and use files with these extinsions (.dat , . txt). However, I need to know how to connect excel spreadsheet with my C++ program "win 32 console application" and then I need to read my input from this spreadsheet and produce my output on it. I searched a lot but I did not find any thi
-
- get_QueryControlInterface function.. how to use it? HELP Please!
by broxking
- 2 Replies
- Last post
by Geoff Darst - MSFT
- Hello,
I have created an ActiveX control in one of the CommandBars of Word. It is working fine but I figured out that to catch some events or to call some methods I have to first cast the _CommandBarActiveX control onto the proper type (refferenced from the ActiveX). So I did it like this:
1. I have added new reference to the COM object (to my ActiveX). In the myActiveX there is a ba
-
- Microsoft.Office.Interop.Outlook.MailItem to plain text format
by Bala Bharathi
- 0 Replies
- Last post
by Bala Bharathi
- Hi,
I have requirement where i need to display the outlook mail in a pop-up window showing the original content. This would be similar to the "Show Original" in Gmail.
I tried using the following piece of code.
mi.BodyFormat = OlBodyFormat .olFormatPlain;
Where mi is the MailItem.
But this does not seem to be working fine...
How do I convert Microsoft.O
-
- Getting data from Excel worksheet
by Rob72
- 5 Replies
- Last post
by Dennis Wallentin
- Hi,
I am trying to read data from an Excel document. However, the document can contain various number of rows.
I wrote the following code:
range = sheet.get_Range( "A1" , Missing .Value);
range = range.get_End( XlDirection .xlToRight);
range = range.get_End( XlDirection .xlDown);
string endaddr = range.get_Address( false , false , XlReferenceStyle .xlA1, Type .Mis
-
- New Deployment Article for VSTO2005 SE
by Darryn Lavery -- MSFT
- 14 Replies
- Last post
by mkmike
- I am pleased to annouce that we have released an updated to the Windows Installer deployment article for Visual Studio 2005 Tool for Office Second Edition.
The article is available at:
http://go.microsoft.com/fwlink/ LinkID=57779
We will be updated the article for Vista in the near future.
If you have any questions, please feel free to open a new thread.
Thanks and regards,
Darry