-
- Debugging Problem
by ssouki
- 3 Replies
- Last post
by Mike Walker
- Did anyone encounter problems in Debugging a VSTO application I am working with Excel VSTO and everytime I start a debug session it only lasts for few seconds or several steps and the VS 2005 restarts.
WEIRD...... Pls help.....
-
- Outlook Doesn't Load VSTO add-ins
by chriserin
- 6 Replies
- Last post
by Smoller
- Hello, I've been working on a VSTO outlook add-in project in C# for a couple of months now. Just recently ALL outlook projects have stopped loading in outlook. When I run the debugger Outlook starts but the breakpoint in the ThisApplication.Startup event is never reached. When I go to Tools-->Options-->Other-->Advanced-->Com Add-ins, my addins are registered but unchecked. When I chec
-
- Fixed panel at left in a excel-worksheet
by ilhamik
- 6 Replies
- Last post
by Dennis Wallentin
- Hi,
I need a fixed panel in a worksheet, it has to scroll down or up with worksheet. I could not find a way to do that with VSTO. I use Excel 2007 and VSTO 2005 SE. I searched the forum but found nothing., What i want is something like that: http://stud4.tuwien.ac.at/~e0027385/excel-addin-panel.jpg the image was from an addin taken, so it must be possible but how
-
- Open VSTO project from Windows Form
by cham13174
- 2 Replies
- Last post
by Ji Zhou ¨C MSFT
- I have a solution in VS 2005 that contains several Windows form projects and one VSTO project. I have placed a button on one of the forms. I want when you click this button to open/run the VSTO project. How do I do this
-
- How to deploy XML Schemas for word 2007?
by Khalnayak
- 1 Replies
- Last post
by Cindy Meister
- Anyone knows how to deploy XML Schemas on user's desktop
I tried using API (Application.XMLNamespaces.add()), but when I select that schema in word its not picking up (Throws error somthing like "invalid schema or need more schemas"). Although, the same schema works fine if manually added.
-
- add a checkBox into a comboBox in the ribbon
by Alain Cuvillier
- 5 Replies
- Last post
by Alain Cuvillier
- Hi,
is it possible to add (insert) a checkBox into a comboBox in the ribbon
I didn't manage it !
Thanks,
Alain
-
- 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
-
- positioning in VSTO is non-intuitive !
by mathmax
- 4 Replies
- Last post
by mathmax
- Hello,
The only way I know to position a control in a word document is to add it into a Range or to move the range that contains it... in any case, we must manipulate Range object.
I find this approach quite difficult for several reasons :
- selection of range is quite difficult : no way to define an Id for each of them. Given a usercontrol, I've undestood that the only way to get the
-
- Force ContextLeave Event
by blindi
- 6 Replies
- Last post
by blindi
- If I use TransformDocument(..) in a VSTO2005 Word-solution, and the insertion mark is currently in a XML-Node with an attached ContextLeave-Eventhandler, the event won't fire, but after the transformation the insertion mark is outside of the node. I moved the insertion mark programatically out of the node with Application.Selection.GoTo(..) which worked, but also doesn't fired the event. Is there
-
- Outlook 2007 - e-mail annotations
by Uli-B
- 8 Replies
- Last post
by Uli-B
- Hi, I think I have a very tricky problem. The Outlook add in i am currently writing should feature annotation of e-mails. This should look like the following: An action in the add in should cause the insertion of one or more buttons into an email's bodytext (while these buttons contain some annotation text as their caption), so that these buttons are visible inside the e-mail. When pressing one of
-
- VSTO Packaging
by KevinS
- 3 Replies
- Last post
by Cindy Meister
- Is VSTO a part of Visual Studio or a separate, for-fee product We have Visual Studio 2005 Standard Edition. Not very clear on this bit. If not included, how do we interface with Office products now that direct ActiveX/OLE support is gone
-
- Modifying Commandtext for workbookconnection runtime Excel 2007
by Erik Svensen
- 3 Replies
- Last post
by Dennis Wallentin
- I'm trying to modify a SQL string runtime in Excel 2007.
I keep getting a runtime 1004 "Application defined or object-defined error".
I have one pivotcache in my workbook which is being used in 4 different pivottables.
I connect to a DB2 database.
First I tried
set pvc = Activeworkbook.Pivotcaches(1).WorkbookConnection
pvc.OdbcConnection.Commandtext = vba.Replace(pvc.Od
-
- Excel says "Document Not Saved". How to solve?
by Virge
- 11 Replies
- Last post
by Richbloke
- Good day, all.
I've found the following issue (step by step):
Create a new Excel Template based on VSTO in Visual Studio
Remove two of three sheets from the template's workbook that VS has just generated, so your template will consist of the only one page.
Save the template and project.
Run VSTO template
Try to add a new sheet using template created in (2).
Now, drag Sheet1
-
- Office 2007 Add-in permission problem
by andriscs
- 14 Replies
- Last post
by mikeaerni
- Hi, I've written an Outlook 2007 Add-in with VS2005. When I used VS to deploy the add-in, everything was fine. Now I tried to deploy the add-in on a machine where no visual studio is installed. I're read this and I placed the dll file to a folder and got through the granting wizard of .Net 2.0 configuration. But when I tried to add my VSTO add-in via COM add-in browser, I got this message: <mya
-
- Get Range from Word
by Oleg Volodin
- 4 Replies
- Last post
by Cindy Meister
- Hello All! Help me please: How I can get Word::Range interface with RangeFromPoint() method.
Thank you very much, Volodin Oleg.
-
- how to deploy and auto update a word addin written by vsto 2005
by dollargetdollar
- 4 Replies
- Last post
by Denis Pitcher
- I have written a word addin by vsto 2005 and want to deploy to clients pc with office 2003 standard edition , I have tried to using a windows installer package to deploy (according to the method post here http://go.microsoft.com/fwlink/ LinkID=57779 ) it works, but how can i auto update the addin to the clients pc when I need to change
is there any method can auto update the addin to all clien
-
- bug in MS outlook 2003/visual C++
by sachin555535
- 1 Replies
- Last post
by Steve Hansen
- hi my name is sachin. i am using
win xp professional ver 5.1,
IE 6.0.2900.2180
visual C++ 6.0
MS outlook 2003
while browsing my email this is what happened. 1) viewed an email (from personal folders) with attachment in preview pane. 2) dragged an attachment (e.g. attach.txt) to an open file (open.txt) in "microsoft visual C++" 3) microsoft visual C++ showed that a spac
-
- Hello, can i protect parts of Word 2003 using C#
by nickylba
- 2 Replies
- Last post
by nickylba
- Hello, can anyone help me to solve the folloing question Thanks in advance! I prepared to protect some parts of Word document such that it is not editable for everyone. I find that there is a article saying that one can first protect the whole docment, make it uneditable, and then unlock the the bookmark that you want to edit. The uri is http://msdn2.microsoft.com/en-us/library/ms178793(VS.80).as
-
- 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
-
- Fill in outlook appointment from dotnet application
by zaabdullah
- 8 Replies
- Last post
by David Hernandez Diez
- Hi
I have dotnet 2005 application.I want to fill appontment from my customer data programaticaly.If any one can help on this please.
Zaabdullah
-
- Outlook addin stops responding
by Siddhu
- 6 Replies
- Last post
by Misha Shneerson - MSFT
- Hi, We have built a VSTO-SE add in for Outlook 2003. Our add-in functionality can be be initiated in 2 ways, manually or can be set to initiate after given period of time, something like "auto send/receive mail" functionality. But sometimes when our add-in initiates a process (e.g. auto initiate process) outlook stops responding and crashes. We have to forcefully kill the Outlook proces
-
- Word Mail Addin
by Ramiro Berrelleza
- 2 Replies
- Last post
by X4U
- Hello everyone!
As part of an assignment I have to create an addin to send mails for Word 2007.
The idea is that when a word document is ready, the user will press a post button, and a mail will be created from the content of the word document, and then sent. Up to here everything works fine.
However, the addin must also have the capability to attach other files to the email,
-
- How to write macro in outlook 2003
by Dhaval Mistry
- 2 Replies
- Last post
by Sue Mosher - Outlook MVP
- hi i want to create one macro. Using that macro i would like to export excel sheet which contain all data of address book but in that excel sheet only specified field of address book will be export. is there any site who give me API for code
-
- Prevent Outlook from embedding attached image
by Danila_Master
- 5 Replies
- Last post
by Mike Morton - MSFT
- I'm using Outlook 2003 and C# and I'm trying to create a MailItem using Microsoft.Office.Interop.Outlook.Application
It is working so far, but there is a small problem. I create a new message and set the the BodyFormat to olFormatHTML. Then I attach an image "test.png" to the mail. In the HTMLBody I use this image as a source:
<img border="0" align="middle" s
-
- Show the savdialog after DocumentBeforeSave
by neoret
- 10 Replies
- Last post
by Jyothirmai Yepuri
- Hello
In my application I catch the DocumentBeforeSave event displaying a dialog box giving the user 3 options: "save in a external archiving system" - "save on disk" - "cancel".
If the user presses the "save on disk" I display the saveDialog. I hav two questions regarding this:
1: The first dialog box is still visible even though I close it in my c