-
- UserDefined properties displayed empty?
by Jonathan Miller
- 2 Replies
- Last post
by Jonathan Miller
- I'm trying to program Outlook 2007 using VSTO 2005 SE. Basically, I've created a folder with user defined properties. I've created items in the folder and set the properties using the PropertyAccessor. I can even enumerate the items and read back the properties values. However, when I add my UserDefinedColumns to my view there is nothing in them! What is the deal. It makes me think that the values
-
- Is there a way to activate a certain Tab on the Ribbon?
by kewpcg
- 3 Replies
- Last post
by Andrew Whitechapel - MSFT
- I have a Word 2007 application level add-in that creates a custom tab on the ribbon ("MyTab").
I would like to write code in the DocumentOpen to force "MyTab" to be the current active tab when certain documents are in use.
Is there a callback that will allow me to force a particular ribbon tab to be selected
-
- how to create sub menues in Command bars and how to display forieng lanuages as fonts in the buttin caption
by Pati123
- 6 Replies
- Last post
by Cindy Meister
- Hi, I created a right click command bar menu. I want to show a sub menus because the current bar i created is too lengthy. Also i want to show sinhala(Sri Lankan language) in the caption of the command bar. How can I handle these. Tharindu
-
- NewMailEx and cached mode
by Pierre Savard
- 8 Replies
- Last post
by Helmut Obertanner
- hi, I am using VSTO and I need to grab all incoming email to see if the subject have a certain TAG and if so I will do somthing.
I fist use the NewMailEx function, this is working well but I can't grab email received by a Send & Receive or when Outlook open in Cached mode. I read several post on the net exploring many solution but i can't found any conclusion of the best way to achieve
-
- Word 2007 don't read "OpenXMLEncryption" registry key
by ch.magus
- 2 Replies
- Last post
by ch.magus
- Hi,
I have written a com-ins which implement "EncryptionProvider" interface in Visual C++, and set registry key " HKEY_CURRENT_USER\ Software \Microsoft \Office \12.0 \ Common \Security \OpenXMLEncryption" . But Word 2007 don't load my add-ins.
Thanks.
-
- does visual studio tools for Microsoft Office......
by srichand
- 7 Replies
- Last post
by Peter Jausovec
- hi, this is srichand. does Visual Studio Tools for Microsoft Office provides add-in plugins for outlook.... i have VSTO(SE) up on installing it i got an error regarding the registry key where can i find solution for that.. thanx one and all... srichand
-
- CASPOL / Security complaint
by cpurick
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- No excuses. I've heard all about how CAS is a fact of life, but there's no reason -- none whatsoever -- that this system can't generate meaningful messages when trapping loader exceptions.
The least MSFT could do would be to tell us which assembly has inadequate evidence or permissions. There's no reason you can't tell us where the problem lies when you refuse to run our code over what amounts
-
- differentiating emails in sent items and inbox
by Bassem Murad
- 6 Replies
- Last post
by Bassem Murad
- Hello all,
im developing an outlook plugin that sends emails data to a DB when a button is clicked. i need to fnd a way to differenciate the emails in the inbox and sent items. The problem is the plugin will be used on outlooks that run with different languages. do i cant rely on the the folder name because of the outlook language is not english, sent items' name wont be the same.
an
-
- How to combine two ranges?
by Dmitriy Ovdienko
- 12 Replies
- Last post
by Cindy Meister
- Hi All
Do you know any method that can combine two ranges
Using following code I can't achieve this because COMException is raised with HRESULT 0x800A03EC:
using Microsoft.Office.Interop.Excel;
Range r = sht.get_Range( "B2,C3" , missing ); // faires COMException with HRESULT = 0x800A03EC:
-
- Word Automation and Default Window Position
by JRQ
- 7 Replies
- Last post
by JRQ
- Is there a way to tell Word automation object not to save the current window position when Quit() is called
Basically, I'm trying to reuse Word Spellchecker in my project. So I assign the Top property of the automation object to -3000 to move it off the screen. Then set the Visible to False so it won't show up on the taskbar.
However, when the automation object if finally closed and released
-
- Cannot create history item when a form is modal
by jlabrou
- 5 Replies
- Last post
by jlabrou
- Hi,
I'm building an add-in for Outlook 2007 with BCM using vb.net and vsto.
BCM is a kind of crm(xxx-lite) so i need a new entity like "customer services" and a new
form which handles this entity. when this form is opened it's modal(for my reasons) and it's
NOT an outlook form but a custom form(for my reasons again).
The last tab of this form contains the history items
-
- Outlook Primary Interop Assembly question: how to access Quit event?
by Pete R
- 9 Replies
- Last post
by Pete R
- This isn't a VSTO question per se, but this is where the People Who Would Know hang out...
I am trying to create a Quit event handler so that I am notified when Outlook is quitting. If I create an app object like so:
Microsoft.Office.Interop.Outlook. Application app = new Microsoft.Office.Interop.Outlook. Application ();
I see a StartUp event, NewMail event, NewMailEx event, etc., but
-
- Help regarding Smart Documents.
by Prashnaths
- 3 Replies
- Last post
by Cindy Meister
- Hello this is prashanth im working on smart documents,i installed visual studio tools for office 2005,when i exexute the programe i am unable to see the action pane in my word document and i'm unable to see word document design view in the project.Can you please send me the sample application on smart document and basic requirements to run the application.
Thank You,
Prashanth
-
- VSTO, Outlook and web services problem
by del_ave
- 4 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hello,
I have created a simple web service (actually, it's the default one created by VS when selecting the "web service" item template). The service has one method:
[ WebMethod ]
public string HelloWorld()
{
return "Hello World" ;
}
I am using Visual Studio 2005, .NET 2.0 on an XP SP2 machine. The web service is deployed to the server
-
- Edit the Document Object Model in a new Outlook Mail Item
by Grant Carthew
- 2 Replies
- Last post
by Grant Carthew
- Hi all,
I have a DataSet with a table that I want to place into a new mail item. What is the easiest way to achieve this so that the table is nicely formatted
Can I access the DOM in the mail items I have looked into it, but did not have much luck.
Any pointers welcome.
Grant.
-
- Open VSTO template using word.exe and /t switch
by Khalid K.
- 2 Replies
- Last post
by Cindy Meister
- Greetings again,
I created another very simple "Hello World" VSTO Word Template application. I compiled it and deployed it to the following directory:
c:\projects\testing\WordTemplate15\Doc3.dot
I gave explicit FullTrust security to the above folder and to the entire "c:" for that matter.
When I open the template by browsing through File Explorer, a document bas
-
- How do I Exprot to Excel
by Amitabh_W
- 2 Replies
- Last post
by Amitabh
- Hi All, I have an web application where user can export the results of search action to an excel file so he can locally store it.. I have done this with very simple code which is Response.ContentType = "application/vnd.ms-excel"; Response.AppendHeader("content-disposition", "attachment; filename=StackRanking.xls"); Response.Charset = ""; System.IO.StringWrit
-
- Creating installshield installer for a VSTO 2005 SE app
by Andy_T1
- 3 Replies
- Last post
by Misha Shneerson - MSFT
- I am finally able to get the VSTO 2005 SE installed with the Visual Studio installer. However, I would like to make an installer in Install Shield.What are some of the steps/caveats I need to be aware of before proceeding Also, the setSecurity custom action - how would that translate into Install Shield Thanks.
-
- Is there a way to activate a certain Tab on the Ribbon?
by kewpcg
- 3 Replies
- Last post
by Andrew Whitechapel - MSFT
- I have a Word 2007 application level add-in that creates a custom tab on the ribbon ("MyTab").
I would like to write code in the DocumentOpen to force "MyTab" to be the current active tab when certain documents are in use.
Is there a callback that will allow me to force a particular ribbon tab to be selected
-
- Outlook 2007 AddIn Contactlist
by Patrick Ebert
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi experts!
I¡® m trying to develop a .Net addIn for Outlook 2007, but I have some problems without any idea to handle them by now.
How do I force my addIn to find out which contacts are selected while the contactlist or the businesscardviewer is displayed
Or even how do I enable my AddIn to react on a kind of selection_changed event in this section
Thanks for reading!
-
- VSTO SE Soft disable
by Janni Kajbrink
- 14 Replies
- Last post
by AllTec
- Hi,
I'm having the exakt same problem as described in the following article http://blogs.msdn.com/pcreehan/archive/2006/07/06/vsto-add-ins-and-the-newinspector-event.aspx . I've written an empty VSTO SE add in which is "soft disabled" as soon as Outlook is started without any user interface.
Is there any solution to this problem As most of the users who will be using my add
-
- How to convert string to new mail
by abhimanu
- 9 Replies
- Last post
by Dparora
- Hi ,
I am trying to develop a project that receives new mail in the form of a continuos string separated my delimiters and also contains attachment as byte array.
How could I convert these string into my mail item and save it into my custom folder during runtime.
Thanks in advance.
Regards
Div
-
- pvkimprt syntax error.. ?
by harvard_isaac
- 1 Replies
- Last post
by Dennis Wallentin
- i have used visual studio command prompt and using makecert and cert2spc commands they succeeded.. then i downloaded pvkimprt.exe and typed the command pvkimprt -pfx myspc.spc mypvk.pvk but on both cmd and visula studio command prompt it gave me a command line option syntax error... how will i create my pfx file
-
- I have a problem in Accessing MPP file from a linked server in SQL Server
by fagrnada
- 1 Replies
- Last post
by Mohit Gupta - MSFT
- Hello,
I have a problem in Accessing MPP file from a linked server in SQL ServerI
I have succseded to connecto to the MPP file from vb code, but i am now trying to make a linked server from SQL Server to this file, using the provider: Microsoft.Project.OLEDB.11.0, but it gave me an error connection, IDBInitialize::Initialize.returned 0x80004005 The error number is 7399: OLEDB Provider 'Micro
-
- VSTO 2005 SE does not support OF2003 and OF2007 side by side on the development computer
by Tadwick
- 2 Replies
- Last post
by Tadwick
- Hi,
Can someone pls elaborate on the following statement from the VSTO how to install page.
"VSTO 2005 SE does not support installing Microsoft Office 2003 and the 2007 Microsoft Office system (or different versions of the same application, such as Word 2003 and Word 2007) side by side on the development computer" ( http://msdn2.microsoft.com/en-us/library/54ds2za4(vs.80).aspx )