-
- 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
-
- Outlook ActiveInspector Changed event
by Kostadin Georgiev
- 5 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hello
I am developing Outlook Add-In using VSTO 2005 SE. Lets imagine the following situation:
The user has opened two mail windows (inspectors). And he clicks on them switching the active ones.
Is there any event that I can subscribe to in order to handle those active inspectors switchings. I need something like DocumentChangedEvent in word.
Thanks,
Kostadin
-
- Persona how to
by SimonWood_1
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Guys,
A request for help. I have been looking for several days for an example on how to create an action entry under the persona menu. Writing a new smart tag is fine, but I can't find any information on how to get my code inside the persona bits. I want to add some extensions to the PersonName smart tag and this is covered by the persona menu.
Any pointers gratefully received
-
- Limit WinForm to Single Instance with C#?
by Tadwick
- 2 Replies
- Last post
by Tadwick
- I have a windows form that cannot be loaded as modal. How can I ensure that if a user tries to load another instance of the form it checks that an instance exists and makes that one active
I asked this question in the Windows Forms General forum but I couldn't adapt the suggested solution to my VSTO project. If anyone can shed some light on this, I'd be very grateful.
Thanks, Tad
-
- Not Able to debug VSTO word Application
by Thekkepad
- 4 Replies
- Last post
by Andrew Cherry [MSFT]
- Hi,
I Have installed VSTO 2005 SE last week and started experimenting in that. Now I am not able to debug the word ADDIN projects. Even if i add any code in _StartUp Method It is not executing...
Any clue
Suresh
-
- Error accesing outlook contacts
by LOTG
- 3 Replies
- Last post
by Mikkel Skovby
- Hi, I've got a problem accessing a large number of outlook contacts. It always crashes after doing 248 contacts. It exits with the error : Unable to cast COM object of type 'System.__ComObject' to interface type 'Outlook.ContactItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063021-0000-0000-C000-000000000046}' failed due to the foll
-
- Getting data from an Excel WorkSheet
by JuanPa_EC
- 5 Replies
- Last post
by thorkia
- Ok, I know you've read questions like this before, but I'm sure this is an special case.
I'm trying to read some data from an excel worksheet, I use the next code:
OleDbConnection cnx = new OleDbConnection ();
string cnxStr = string .Empty;
OleDbDataAdapter da;
cnxStr = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=\"" + file_name + "\"; Extended Properties=\"Exc
-
- VSTO problem with DataGridView not drawing correctly in VSTO Excel workbook
by judir
- 4 Replies
- Last post
by Tony_From_AMB
- We have an application that works fine with a multi-select list box that displays as soon as the Excel workbook opens. We have been asked to replace the list box with a DataGridView and we are having many problems getting the DataGridView to display. We have tried filling the grid before we show the form, but only part of the grid displays on the screen, borders, checkboxes, and gridlines don't sh
-
- F5 -> "File already exists"
by Victor Hadianto
- 14 Replies
- Last post
by Mike Walker
- Hi,
I'm new with VSTO development and been experiencing this really annoying issue. Everytime I hit F5, it launches the Excel document associated with the project. However once Excel launched, it often (not all the time but quite often) gives me the "File already exists" error message. I then must open the Excel file manually from File -> Open. Everything works then.
Strange tha
-
- Deployed RTD does not function at all
by Wayne Clements
- 2 Replies
- Last post
by KevinUT
- I have a written a simple RTD for MS Excel 2003 using VS 2003 and it works fine on my computer
I have added a Setup application and excluded
MSO.dll EXECE.dll and dotnetfxredist_x86.msm
I have built the RTD and SETUP on my computer
I can run Excel and use the RTD on my computer with 100% success
I can right click and install the SETUP application on my computer
And I can still
-
- Ole In word
by Rico Rodriguez
- 2 Replies
- Last post
by Rico Rodriguez
- I have an OLE object in word it is a Topaz Signature. Does anyone know how to Create an OLE object that Mirrors another Ole Object i.e. If the first ole object changes the second one will change to mirror it
-
- Word - Embedded Object of type "Package"
by BernhardWaelchli
- 6 Replies
- Last post
by BernhardWaelchli
- Hi I have thousands of work documents with embedded object which I need to extract. I am able to extract embedded word or excel but I am having troubles with embedded Objects of the type "Package". I am able to determine that an embedded object is a package but I am not able to determine what that package contains. A package could contain again another word document or a picture but I co
-
- How to Debug a VSTO 2005 Solution with Office 2007?
by Oleg Krupnov
- 4 Replies
- Last post
by Oleg Krupnov
- Hi, I've built a VSTO 2005 solution for Word that works perfectly in Word 2003, but fails in Word 2007. It's hard to fix the error without debugging, so my question is: Is there a way to debug a VSTO 2005 solution with running Word 2007 If not, what would you suggest me Thanks.
-
- InfoPath 2003
by KZWAN
- 3 Replies
- Last post
by KZWAN
- I want to do some coding for InfoPath 2003. The download for Microsoft Office InfoPath 2003 Toolkit for Visual Studio 2005 now directs you to the Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System which does not apparently provide support for InfoPath 2003, only InfoPath 2007.
How can I get the tools for InfoPath 2003
Thanks!
Kevin Winegardner
-
- How can I get my XML element under the Outlook07
by Peter.Zhao
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- I created Com-addin for the Outlook(both 03 and 07 version). In the Outlook2003 html editor, I append an XML tag after the html email body, then I send this email to the Outlook2007.
In the Outlook2007, this XML element can be saw by viewing the html source under the view mode.
But if I click the "reply" button, and try to get my XML element from the string return by m
-
- Excel Add-In
by Aleks
- 7 Replies
- Last post
by Badrul
- Hi all,
First, I'm new in VSTO developpement so sorry if my questions are ... stupid.
I'm developping an Add-In for Excel 2007 and discover that every rule I code in C# (for example) will not be applied if the sheet is opened by an Excel that does not have my Add-in Install.
My application is for someone (Mr A) that need to get some data from a DataBase, then give it to someon
-
- Insert Row Event
by JoeDev
- 3 Replies
- Last post
by Dennis Wallentin
- Exist an Insert Row Event
I need to recalculate formulas (insert the new inserted rows in the formula), its possible
Im using Excel 2003 and VSTO2005
Thanks!
-
- VSTO se sorting problem
by MothDoc
- 13 Replies
- Last post
by MothDoc
- Hi Ji I am trying to do something similar but I am afraid I am getting nowhere. I am trying to build a function within excel that will allow one to stipulate the performance of calculations and other formulae based on the cell background colour. For instance I have a column of figures B2:B9 with the following values and cell colours B2: 2 pink B3: 3 white/no colour B4: 0 pink B5: 0 white/no colo
-
- Selecting a range of cells in Word
by DawnBC
- 2 Replies
- Last post
by DawnBC
- Hi there, I'm trying to select a number of consecutive cells within a table in Word, and these cells span across two rows. I set the range as follows: int start = table.Cell(1, 4).Range.Start; int end = table.Cell(2, 3).Range.End; range.SetRange(start, end); The range is set correctly, as I checked the Text property, and the result is as expected. However, when I try to use range.Select(), the ent
-
- Cannot add Outlook add-in manually after installation
by dyowee
- 1 Replies
- Last post
by Christin-MSFT
- Good day!
I created an Outlook add-in and installed it using the msi that can be built from the VSTO solution. Then I removed it from COM Add-Ins window in the Trust Center menu item. If I try to put it back by selecting the manifest file, since it is the location indicated when I originally installed it, it produces an error and says that it is not a valid Outlook add-in. Why is this so
-
- Only have Add-In project types
by Shawn de Wet
- 2 Replies
- Last post
by Shawn de Wet
- I have just installed VS2005 tools for Office 2007 system...when I launch VS2005 and select New Project, I now have an Office Node, but in there I only have Add-In project types...I expected to find an Excel Spreadsheet project type, among others. Could anyone advise as to why I only have the Add-In project types
-
- VSTO 2005 SE Outlook Requirements on End Users Computers
by Gary Betts
- 6 Replies
- Last post
by Gary Betts
- After a long struggle I finally have an Outlook Add in developed under VSTO 2005 which will deploy to other Office 2003 machines and seems to work well.
However I cannot get it to deploy to a machine where the office version is XP ( Fine I accept that this is not supported) But where the Outlook version is 2003 the machine having been updated using the licence/CD provided with exhange server 20
-
- Is there a way to get the domain or server info about outlook account ?Thx.
by Dante.L
- 1 Replies
- Last post
by Phil Hoff - MSFT
- I can get the acc info about user display name,smtp address,mail type....by use outlook 2003 api.But i could not find a way to get the email servers or exchange server adress and domain.
In vsto2005, the object account also don't have the info about this....How can i get them
Thx.
-
- Setting CurrentThread.CurrentCulture From Browser Creates Bad Japanese In Excel Document Created Using PIA
by TokyoDev
- 1 Replies
- Last post
by TokyoDev
- I'm having a problem where an .NET 2.0 web application server is not correctly writing Japanese text into cells in an Excel worksheet object.
Googling highlighted some MSDN Library articles that were helpful in pointing me in the right direction (specifically "Creating Excel Solutions for Use in Multiple Countries/Regions Using Visual Studio Tools for Office" for Office 2003 / VS 2005
-
- Using VSTO within a Windows Application
by jimmmyw
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hello,
I want to create a windows application. One of the functions of the windows app is to bring up a embedded excel sheet created in a VSTO project. Is this possible
Thanks for your help
Jim