-
- app.config connectionStrings
by cb3431
- 5 Replies
- Last post
by Dennis Wallentin
- I have created a Shared Add-in project. To this solution I have added a User Control project and a WPF User Control project. I am hosting the WPF control in the User Control.
I am trying to get a connectionString from the app.config file, but it acts like the app.config file is not even there.
connString = ConfigurationManager.ConnectionStrings( "sql" ).ConnectionString
-
- VS Studio (vb) question... from a new user!
by Toulousse
- 2 Replies
- Last post
by Cindy Meister
- Hi,
Not sure which forum to address this through, my question is probably easily solved.
I'm trying to work with Office 2003 through VB.Net 2005 (professional, not VSTO).
I'm currently immersing myself in documentation that tells me I need to import Microsoft.Office.Interop....
Which I'm attempting to do without any luck. In solution explorer I've right clicked on the
-
- Outlook Explorer Close event
by EB78
- 14 Replies
- Last post
by EB78
- Hi All,
I have Outtlook Addin (C# 2.0, VSTO 2005, Outlook 2003),
i subscribed to close event:
explorerEvents.Close += new Outlook.ExplorerEvents_10_CloseEventHandler(OnExplorerClose);
but i never get there, why
Only if i open another explorer (right click on folder--> Open in new folder), and close it , then i get the close
event fired, but when i have only one explorer (ma
-
- Upgrading to Office 2007 Causes .NET application not to compile anymore
by Joel Marcey
- 3 Replies
- Last post
by LindsayK
- First, my apologies in advance if this is the wrong forum for this question.
Secondly, sorry for the lengthy post, but I need it to get my point across.
I have a .NET application that uses COM Interop to access the Excel and PowerPoint APIs to do some automation. The application was originally developed using VS 2005 and Office 2003. Here are the key assembly references I had:
-
- Disable all possibilities to answer or forward a message
by Raul Rosenloecher
- 1 Replies
- Last post
by Raul Rosenloecher
- Hi, I have written a FormRegion addin for Outlook (VSTO 2005 SE) for a special message class inherited from IPM.Note. The FormRegions are shown properly. But I have to disable all possibilities to answer or forward this message type. How can I do this The <customActions> section in the manifest doesn¡¯t work. Thanks, Raul
< xml version = " 1.0 " encoding = " utf-8 &qu
-
- Move between content controls in a Word 2007 doc
by kewpcg
- 1 Replies
- Last post
by Cindy Meister
- I am writing code to take advantage of Word 2007 content controls in VSTO.
I have a template full of content controls. I want to the user to be able to freely edit the text of the document, but also move quickly between the content controls.
In prior versions of Word, you could use F11 to jump from one Form Field to the next (or Tab if the document was locked for editing).
Is there a way
-
- Outlook folders in vsto 2005 se
by Jason Bolstad
- 4 Replies
- Last post
by Jason Bolstad
- I need to build an addin that creates folders in outlook that upon selection displays a control/form in the folder window that runs my own logic. I have been able to do this for office 2003 by wrapping a WinForms control as an ActiveX control and then displaying that, however this seems to be a bit of a fudge, not to mention that it runs in a different app domain to my addin, so my singletons etc
-
- Memory Leaks and Performance Issues dealing with VSTA
by aahkam
- 2 Replies
- Last post
by Dmitry Pavlov
- I posted there (Official VSTA vendor appointed by Microsoft) a day ago but has no answer to it yet. Retry it here. http://www.summsoft.com/forums/thread/342.aspx Thank you.
-
- Shortcut Key for excel addin
by Mohan Kumar Karunakaran
- 13 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi,
Is there anyway to assign a shortcut key for the procedures I have created in excel addin using VSTO 2005 SE. I have designed ribbon for these procedures and I would like to access it with shortcut keys like Ctrl + Alt + B or Ctrl + Shift + R
I can assign keytip in ribbon.xml file but it uses Alt combinations and not easily accessible also for custom created procedures. I would l
-
- Adding cell reference to the fields in the task pane
by Sandeep Garg
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi, I have added five fields in the task pane. I want that when the user clicks on one of the field in the task pane and selects a particular cell, the field value should be replaced with the cell address... Thanks, Sandeep
-
- Populate word doc contents with XML (using COM from Word 2007)
by Patrick Ip
- 2 Replies
- Last post
by Patrick Ip
- Based on the tech article,
http://msdn2.microsoft.com/en-us/library/aa203689(office.11).aspx
I am trying to create an application using techniques similar to the ones mentioned in the article. I am using VS C# 2005 with Word 2007 (using word v.12 COM). I have encountered some problems, could you please help
Here is the code I used,
...
Microsoft.Office.Interop.Word.
-
- Differences in event firing between Outlook 2003 and 2007???
by mdpowersslo
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- We have an Outlook addin that works quite nicely in Outlook 2003 under WinXP, archiving email information in a SQL2005 database when NewMail and ItemSent events fire. However, it appears that at times the archiving is not occurring when run on a WinVista/Office2007 machine. Do these events behave differently in Outlook2007
-
- Using the Find object to replace with formatted text in Word 2007
by dirty-shirt
- 6 Replies
- Last post
by dirty-shirt
- I'm using VSTO for Word 2007 and I want to implement a function that will find and change text to "dirty#shirt" however the # needs to be superscripted.. I tried using the Find object but I can't figure out the replacement string to enable Word to superscript only the hash character. Any ideas Tim.
-
- Syntax of AddOleControl
by Roman Benko
- 1 Replies
- Last post
by Cindy Meister
- With VSTO SE, there is an AddOleControl method associated with Microsoft Word's InlineShape object. However, every time I try to use it, I get a "Type Mismatch" error when that line executes. Here is the code I'm using:
Dim myDoc As Microsoft.Office.Interop.Word.Document = Globals.ThisAddIn.Application.ActiveDocument
myDoc.InlineShapes.AddOLEControl _ (ClassType:= "testCont
-
- The Case of the Zombie Add-In
by AaronHarnly
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- I have a solution with multiple Outlook Add-In projects. They all build, debug, and install just fine.
My problem is that when I right-click debug one add-in (thanks, McLean!), sometimes (but, weirdly, not always), *all* of the add-ins in the solution get loaded into Outlook.
I've removed (not just disabled) all of the add-ins in the Trust Center, and ensured that any traces of old
-
- Need help with VSTO install
by Lll
- 2 Replies
- Last post
by Lll
- I have Office 2007 installed on a Windows XP Pro comptuer.
My goal is to do programming for MS Word 2007.
I'm on the MS Empower partnership so I think I can download whatever I need from the MSDN downloads, but I am confused by all the different versions of Visual Studio Tools but I assumed I needed the one for Office. I am looking here at the MSDN certified partner subscriber downl
-
- Outlook Events: Folder treenode Expand/Collapse
by Hir&#38;&#35;2
- 8 Replies
- Last post
by michael
- Hi,
We are developing a VSTO SE Outlook 2003 add-in application. One of its functionality is to implement a certain action upon expansion and collapsing of the Outlook Folders tree nodes .
I am struggling to get an appropriate event handler for the same. We have successfully implemented the ItemAdd event in the past to manage the drag-drop of items on the folders.
Any help would be appre
-
- Context menu customisation for the outlook word editor
by Rishab
- 8 Replies
- Last post
by ReachLee
- I am writing an add-in to Outlook 2007 using VSTO 2005 SE for which I need to add a context menu item that appears in a new mail inspector window when I right click over the body of the email.
I was able to do the same back when winword.exe was run as the default editor in outlook 2003, but now it seems that the editor is run in-proc (I tried accessing the object model through the wordeditor
-
- About Officemenu(RibbonX)
by MK580901
- 2 Replies
- Last post
by MK
- I want to do "Recent Documents" and "Excel Options" on right side of Officemenu to non-display. Is there a method Please teach me.
-
- When will the VSTO support create managed code solutions for word2007?
by Alvin Chen
- 2 Replies
- Last post
by Alvin Chen
- I have a workflow project required to open the word2007 document and approve / reject within the word2007 document. So, when will the vsto support create managed code solutions for word2007
-
- How to develop contextualTabs
by StevenL123
- 1 Replies
- Last post
by Cindy Meister
- Dear all,
I develop a ribbon in powerpoint2007, I want to select a shape, then it will display a contextual tabs, I already config contextual xml in my ribbon.xml file, But I want to know how to display this contextual tabs when I select a shape Anyone give me a idea, Thanks!
-
- how to Setting Code Access Security policies programatically??
by mahavir patil
- 1 Replies
- Last post
by Christa Carpentiere - MSFT
- Hi,
I have created a VSTO 2005 project and deployed in a folder in my web application on a IIS server. Now i want to configure Code Access Security policies throw within my web application programatically, while user downloades some file from my web application. This is to associate VSTO prject assembly to that document to facilitate user with customization functionalities. I want to give "
-
- Office Service Pack 3 (SP3) and VSTO
by davidMartin
- 9 Replies
- Last post
by AvengingManatee
- Hi, I just heard about the new Office Service Pack 3. http://www.microsoft.com/downloads/details.aspx displaylang=en&FamilyID=e25b7049-3e13-433b-b9d2-5e3c1132f206 As I didn't found any information on this forum about it. I suppose that this new Service pack will not affect addin developped with VSTO 2005 SE, right thanks, David
-
- Login Screen
by Azim Ansari
- 1 Replies
- Last post
by Cindy Meister
- How can i create login screen in Excel to restrict the users access on different cells in one worksheet.
Desperately needed, to complete my assignment.
-
- Convert XLSX to XPS
by Vishal Mistry
- 0 Replies
- Last post
by Vishal Mistry
- How to convert XLSX workbook to XPS I am able to convert one sheet at a time using the following code, this would convert only the active sheet but I want to convert the whole workbook.
Dim dir As New DirectoryInfo( "d:\xps" )
Dim filelist As FileInfo() = dir.GetFiles( "*.xlsx" )
Dim filename As FileInfo
For Each filename In filelist
Dim My