-
- How to access Excel workbook,sheet etc. in an Shared Add-ins
by Lin Kejian
- 1 Replies
- Last post
by X4U
- Hi:
I have create a project using "Shared Add-in", and success create a menu item in mainmenu ,
the menu can response the event like :
private void Button_Click(Microsoft.Office.Core.CommandBarButton ctrl, ref bool CancelDefault) { try { MessageBox.Show("this is event of Run");
} catch (Exception ex) { Messa
-
- Kick Starting VSTO after document opens
by SimplyACoder
- 2 Replies
- Last post
by SimplyACoder
- Hello,
I have a VSTO Word document with a simple messagebox that appears on startup. I copied and removed the assembly information from these documents manually (File->Properties->Custom). I closed and saved the document, then reopened it and it opened as a normal document.
I then paste the information back into the Custom Properties, save and restart and its VSTO enabled again, no pro
-
- CustomTaskPane BackColor
by Thierry Nenin
- 14 Replies
- Last post
by tomdeloford
- Hello,
Anyone of you have an idee on how to retrieve the BackColor a CustomTaskPane should have
In other words, in a Docmuent solution for excel 2003, before or after adding a user control to the ActionsPane, i just had to do
_myUserControl.BackColor = ActionsPane.BackColor in order to match current excel color scheme...
How can i do this with a CustomTaskPane created in an excel 2007
-
- ASP.NET application in Outlook 2003? 2007?
by dyowee
- 8 Replies
- Last post
by MauricioUY
- Good day!
This is just an idea I had, but is it possible to host an ASP.NET application within Outlook 2003, or 2007
Thanks!
-
- Help - releasing WinWord instance at end of process.
by Andrew Mercer
- 3 Replies
- Last post
by Needo
- Hi,
I have 2 questions relating to the above.
1. I have been getting the following warnings:
Ambiguity between method 'Microsoft.Office.Interop.Word._Document.Close(ref object, ref object, ref object)' and non-method 'Microsoft.Office.Interop.Word.DocumentEvents2_Event.Close'. Using method group.
Ambiguity between method 'Microsoft.Office.Interop.Word._Application.Quit(ref object, ref
-
- MS Office files on the web
by Naveedullah Khan
- 1 Replies
- Last post
by Andrew Cherry [MSFT]
- Hi All,
I have a requirement with one of my clients where I need integration of MS Office with my web application. This integration is somewhat unique in the sense that the web application should be able to open and modify any Word/ PowerPoint/ Excel document without using the Office client applications. i.e. the application behaves as an Office client.
I know there are viewers available
-
- Stationery & Fonts - Themes
by ANGanley MCSD
- 7 Replies
- Last post
by ANGanley
- I have created the following code to generate an email.
When the email is generated I want to be able to use the users own theme.
Private Sub CreateMailItem()
Dim application As New Microsoft.Office.Interop.Outlook.Application
Dim mailItem1 As Microsoft.Office.Interop.Outlook.MailItem = _
TryCast (application.CreateItem( _
Microsoft.Off
-
- How to get RTF text into a RichTextbox in VS.NET?
by kewpcg
- 4 Replies
- Last post
by kewpcg
- I am upgrading my VB code to a VSTO Add-in for Word.
In Visual Basic 6.0, I was able to copy some RTF from my Word document to the clipboard, then use the Richtextbox.TextRFT method to insert it in the form.
The .Net version of the RichTextBox does not have a TextRTF method. I searched around a bit, and it seems I may need to create a FlowDocument object to handle this step. However
-
- VSTO version 2003
by Orlando Cabrera
- 1 Replies
- Last post
by Cindy Meister
- Where can i download VSTO version 2003(VS 2003) I can not find the link to download. Only VSTO version 2005 is available.
-
- VSTO data island serializable problem
by Adrian Leeming
- 1 Replies
- Last post
by Adrian Leeming
- I am trying to create a VSTO project for WORD that stores data in the data island. When debugging In the document ShutDown event handler I get BindingFailiure messages that it cannot load the xml Seralizer (see bottom of message for error). Does anyone have any idea what the problem is
The VSTO Document code looks like
public partial class ThisDocument
{
[ Cached ()]
public
-
- How to Catch Email sent event
by Kamii47
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Can I Catch Email sent event.
I want to do entry in the db to log any email sent from the system.
Can I do that
-
- Installation "Heck" (VSTO 2005 and VSTO 2005 SE)
by Lighthouse Builder
- 11 Replies
- Last post
by Marije
- I installed VSTO 2005 "sucessfully" according to the installer, but see no Office-related project templates or any other evidence of having installed except that I now have another uninstallable item in Add/Remove Programs control panel.
The order of installation I used was due to my learning curve and what I've been trying to accomplish on my projects. (I didn't install everythin
-
- How can I watch network communication triggered by outlook 2007 ?
by TomJ72
- 1 Replies
- Last post
by Mike Morton - MSFT
- How can I watch the network communication (for example XML request/response messages) which is triggered by outlook 2007 As a concrete example I would like to see the XML data that outlook will request from a sharepoint contact list, when you at a sharepoint site has chosen a list and the action "Connect to outlook". ( In this particular sharepoint example, someone might say that I shou
-
- Viewing the result of an sql query in excel.
by kjell nilsson
- 1 Replies
- Last post
by Cindy Meister
- Hi. Background: I have created an add-in for excel that opens a form that lets the user graphically select what data he wants to view. The result of the input is formatted as an sql string, and I want to show the result of the query in an excel document. * the result file i quite big. 256*100 000 rows i might add I am considering the following: 1. Copy data from the Sql server to an Excel sheet. S
-
- updating one from another
by Nrupesh
- 4 Replies
- Last post
by Cindy Meister
- Hi all! M new to VSTO. my using VS2005
I have 2 sheets. sheetMain and sheetCalculate and I want to change cells values of sheetMain from sheetCalculate, i tried this but it's not working
Class sheetCalculate
.
.
sub Proc dim sheetObj as sheetMain
sheetObj.cells(2,2)=sheetObj.cells(2,2)+1
end sub .
.
End Class
there error i get is "I have not instancia
-
- Convert .doc to simple text
by thoseion
- 1 Replies
- Last post
by Cindy Meister
- OK, first of all I know this is probably in the wrong board, and probably the wrong forum entirely, but my question relates to Word documents and I thought a good place to start looking for a solution would be the MSDN forums. Anyway, I'm currently developing an application in Java (I know, I should probably be posting over on the Sun forums or somewhere - that will be my next port of call!). Part
-
- Explorer.CommandBars causes VSTO Outlook 2003 add-in to fail. *Pulling hair out!!*
by Tesfaye_SI
- 6 Replies
- Last post
by Mike Walker
- Hello,
I created an application that outputs an html vCard from data stored in a SQL database. It works great as a standalone application on the development machine and other test computers. I was asked to make it run from within Outlook so users could just click a button, customize it, save it and set it as the default signature if they wanted. I've created add-ins in C# for Outlook XP wit
-
- Managing documents from Custom Task Pane
by Helio D
- 8 Replies
- Last post
by Cindy Meister
- I have been experimenting with VSTO 2005 SE and Office 2007 and would appreciate if someone could help me with the following:
I would like to open different documents using a custom task pane and switch between these documents. I can create and open the first document. When it comes to the second document, it gets created on a different window (where my custom task pane is not visible).
-
- How to detect a row is selected
by TSon
- 1 Replies
- Last post
by Dennis Wallentin
- Hello everybody I create a addin for excel 2003 by using vsto. How can I detect a row is selected or not Thank you
-
- Outlook add-in : LoaderLock and AccessViolation problems
by Tadwick
- 7 Replies
- Last post
by Tadwick
- Background: I am writing a .Net 2.0 VSTO SE add-in for Outlook 2003. The add-in provides the following functionality: 1. Toolbar and button created when the add-in loads 2. Button loads a modal windows form FormA 3. FormA launches a modeless FormB with a webbrowser control 4. The webbrowser navigates to a local HTML file that uses an embedded ActiveX control and javascript (I use CoInternetSetFe
-
- parameter passing to winword.exe
by laiseng
- 4 Replies
- Last post
by Cindy Meister
- how do i pass parameter to winword.exe and how do i access that parameter to
winword.exe using VSTO2005SE let say i want to pas winword.exe 100 and i
would like to read the 100 and do computation before i open the document
-
- problem in open VSTO Lab sample and Create VSTO Project
by Gerrylin
- 4 Replies
- Last post
by Gerrylin
- Hi,
I have VS2005 Professional Version installed
including "Microsoft Visual Studio Tools for the Microsoft Office System"
"Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System"
Howevery, I can't find any Word docment or Excel Workbook project Templates. I only can find Addin.
And also I got "The application for th
-
- Office Application Add In Deployment
by Michael Pongan
- 2 Replies
- Last post
by Michael Pongan
- Hi, I need help in deploying my office application add-ins. I created Outlook, Word, and Excel Addins using Visual Studio 2005 Tools for Office 2003. What the add-ins do is the same with the three. It adds a menu button in the office application. The menu button opens a form from one of my assemblies. I was able to run it in my work station and works fine now. Every time I open any of these office
-
- 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.
-
- Microsoft Office Access 2003 Developer Extensions and Visual Studio 2005
by isjam
- 11 Replies
- Last post
by Bryan Ruggeri
- It's truly unbelievable that there appears to be no solution to this issue. After searching countless hours and getting caught in endless iterations following MSDN links, I still have no answer to the question that really shouldn't be that difficult.
Microsoft advertises that the Microsoft Office Access 2003 Developer Extensions are part of Visual Studio 2005. I talked with a Microsoft represen