As I couldn't seem to find one I'm curious if there is a nuget package available for VSTO, or if anyone can recommend steps for building Add-ins on a cloud based system, like VSO. (I do not want to place the PIAs in source control)
Thanks
Al
As I couldn't seem to find one I'm curious if there is a nuget package available for VSTO, or if anyone can recommend steps for building Add-ins on a cloud based system, like VSO. (I do not want to place the PIAs in source control)
Thanks
Al
Hello,
it is possible to add my add-in to the start tab and not as his own tab?
I´m using vs 2015.
greetings
selam alazar simachew
We developed an add-in for Visio with the Office developer tools in Visual Studio 2015. In order to run, the add-in requires the Visual Studio 2010 Tools for Office Runtime (VSTOR 2010).
The installation of our add-in works without problems with Visio 2010 and 2013, but with Visio 2016 the setup stops with an error message, because the file "MSVCR100.dll" is missing. We were able to reproduce this issue with various test add-ins on clean installations of Visio 2010, 2013 and 2016 on Windows 7, 8 and 10.
As far as I know, the VSTOR 2010 runtime is usually installed with Visio and Office 2016, and the problem does not seem to be a missing VSTOR - the setup of our add-in checks for the presence of VSTOR 2010 in the Windows registry (it is a prerequsite in our Visual Studio project) and we can see in the installation log that the check returns a positive result. Still, we run into an error as soon as the setup tries to call MSVCR100.dll.
To us this looks like a bug in Visio (and Office) 2016, as if Microsoft forgot to install a of copy MSVCR100.dll in the Windows/System32 folder during Office setup, as part of the VSTOR components.
Did anyone experience the same problem? Of course you may not see the problem if you upgraded to Office 2016 from a previous version of Office, because then the missing file in question may be on your system from the previous installation.
Thanks, Andrea
I used the user32.dll import call to move a custom task pane freely and it works pretty well. My question is, will this work on iPad as well?
Below is a sample code that I included in my add-in project.
[System.Runtime.InteropServices.DllImportAttribute("user32.dll", EntryPoint = "FindWindowW")]
selam alazar simachew
Hi all, i´m a little bit lost with the symptoms....
I´ve got a VSTO addin for Excel written using c# and visual studio 2010.
The adding works great for office 2010, office 2013 even deploying them using an installer.
I´ve found in office 2007 is not running after the installer is complete. Curiously the addin is listed under the COM Addins but it doesn't load or run.
I´ve installed Office 2007 on my dev box and built the adding using Visual Studio 2010. The Addin runs good!
It seems to be a problem with the manifest or something.
Can anybody give me a hint?
Thanks in advance.
Hi all,
since I switched to Office 365 I get a build error for my office app. It is a panel app for excel.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets(450,5): error : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
Versions:
Office 365 ProPlus - en-us 15.0.4763.1003
Visual Studio Professional 2015 14.0.23107.0 D14REL
.NET Framework 4.6.00079
Office Developer Tools for Visual Studio 2015 ENU 14.0.23116
I know how to develop Add Ins for office applications using visual studio and c#. However, I was wondering if I can add tabs and run my applications from another menu such as shown below:
(I cannot add image because my account seemingly is not verified. Let me explain the menu I want to create tabs in):
If you open Word 2013. Click on File. The menu on the left hand side that contains tabs like Info,New and Save...I want to be able to add my custom tab there.
OR
If you click on Save/Save As I want to be able to add my custom tab beneath 'Computer'.
Is that possible?
Working in Windows 7 / Office 2007 with VSTO I want to perform the following steps;
I understand from this thread question that I need to use the MailItem.Copy function to create a copy and then use the "Move" function to move it somewhere else.
I have also read this forum question on the Copy function which has some thing interesting to me from Ken Slovak
"I often will create an RDOMail item in the hidden Items collection in Drafts if I want to save it but not have it show up the UI"
What is the name of the folder or item within the Drafts folder that is hidden? Can I move my mailitem here after I have copied it withOUT using Redemption?
If I can save to the drafts folder is this folder synced to exchange? I would like the mailitem copy to not be saved on the exchange server.
If the drafts folder is not an option to move to, then what is a reliable place to move to that is not linked to the exchange server. For example do I need to go to the effort of creating my a .pst and put my copy/temp file in there.
Hi,
I have been using following code to generate ppt on button click. Usually I will create the first slide as blank slide and duplicate it to no of slides I need to generate. Now I want to apply theme to my ppt. I went ahead and applied theme to the first slide.
PowerPoint.Application ppt_application = new PowerPoint.Application();
PowerPoint.Presentation ppt_presentation = ppt_application.Presentations.Add(MsoTriState.msoTrue);
PowerPoint.CustomLayout ppt_layout = ppt_presentation.SlideMaster.CustomLayouts[PowerPoint.PpSlideLayout.ppLayoutTitle];
ppt_presentation.PageSetup.SlideWidth = 720;
ppt_presentation.PageSetup.SlideHeight = 540;
PowerPoint.Slide slide;
PowerPoint.TextRange text;
PowerPoint.Shape shape;
slide = ppt_presentation.Slides.AddSlide(1, ppt_layout);
slide.Shapes[1].Delete();
slide.Shapes.Placeholders[1].Delete();
slide.ApplyTheme(@"C:\Users\Karthik\Desktop\custom.thmx");
The theme has the first slide with a line, image at center and logo at bottom left. The rest of the slides don't have the image at center but has the line and logo.
Since I duplicate the first slide, the theme of first slide applies to the rest of the slides( the image at center applies to the rest of the slides as well)
The scenario is the same even if I try to apply theme to the first slide or the ppt_presentation object.
Please help me to generate new slide instead of duplicating the first slide.
Hi,
I've been looking around and reading articles about disabling the pop-up of " you should only open attachments from a trustworthy source", but none of the solutions seem to work
Any suggestions ???
Thanks,
I'm creating an Add-In for Outlook with VSTO.
Before sending a MailItem some special tasks will be done within the send-event. While this tasks are done, a modal form with a progress bar will be shown. That works fine. But while the progress bar is shown, the user cannot interact with Outlook. Whole
Outlook is frozen.
-> I want that the user can interact with Outlook while the tasks are done on the MailItem to be send.
So I created a new thread for the special tasks including showing the progress bar.
Following steps will be done in the send-event:
Check a bool variable if the tasks were already done.
This also works fine. But then the modal form with the progress bar isn't modal anymore.. The user can interact with Outlook (good!). But he can also interact with the MailItem while the tasks are running and the progress bar is showing (not good!)...
So question is, how can I block the MailItem, set it into readonly or something different to avoid that the user can modify the MailItem while showing a progress bar?
Hi,
Can anyone help me?How to fixed it?
We have recently upgraded to office 365, we are trying to create a new add-in for outlook, however creating a default add-in using all default options in visual studio 2015, crashes outlook.
Steps to reproduce:
Your help would be appreciated
Glen.
How come the addons are not shown in Outlook?
Event log entry:
-----------------------------------------------------------------------------
Outlook loaded the following add-in(s):
Name: Microsoft Exchange Add-in
Description: Exchange support for Unified Messaging, e-mail permission rules, and calendar availability.
ProgID: UmOutlookAddin.FormRegionAddin
GUID: {F959DBBB-3867-41F2-8E5F-3B8BEFAA81B3}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\Microsoft Office 15\Root\Office15\ADDINS\UmOutlookAddin.dll
Boot Time (Milliseconds): 0
Name: Skype Meeting Add-in for Microsoft Office 2013
Description: Skype Meeting Add-in for Microsoft Office 2013
ProgID: UCAddin.LyncAddin.1
GUID: {A6A2383F-AD50-4D52-8110-3508275E77F7}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\Microsoft Office 15\Root\Office15\UCAddin.dll
Boot Time (Milliseconds): 16
Name: Outlook Social Connector 2013
Description: Connects to social networking sites and provides people, activity, and status information.
ProgID: OscAddin.Connect
GUID: {2163EB1F-3FD9-4212-A41F-81D1F933597F}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\Microsoft Office 15\Root\Office15\SOCIALCONNECTOR.DLL
Boot Time (Milliseconds): 0
Name: OneNote Notes about Outlook Items
Description: Adds Send to OneNote and Notes about this Item buttons to the command bar
ProgID: OneNote.OutlookAddin
GUID: {93E5752E-B889-47C5-8545-654EE2533C64}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\Microsoft Office 15\Root\Office15\ONBttnOL.dll
Boot Time (Milliseconds): 265
Name: Invoegtoepassing McAfee-e-mailscan
Description: Outlook-invoegtoepassing voor McAfee-e-mailscan
ProgID: mfeotlkaddin.scan
GUID: {6D51AC3F-7048-4C0F-9831-18E4F701EF86}
Load Behavior: 3
HKLM: 1
Location: C:\Windows\SysWow64\MfeOtlkAddin.dll
Boot Time (Milliseconds): 32
Name: liEWFDRFAGDRFAH
Description: liEWFDRFAGDRFAH
ProgID: liEWFDRFAGDRFAH
GUID: {00000000-0000-0000-0000-000000000000}
Load Behavior: 3
HKLM: 0
Location: file:///G:/TFS/**** Office Addons/Main/UploadandOffice/liEWFDRFAGDRFAH/bin/Debug/liEWFDRFAGDRFAH.vsto|vstolocal
Boot Time (Milliseconds): 375
Name: ****.Office.Outlook
Description: ****.Office.Outlook
ProgID: ****.Office.Outlook
GUID: {00000000-0000-0000-0000-000000000000}
Load Behavior: 3
HKLM: 0
Location: file:///G:/TFS/****Office Addons/****.Office.Outlook/Published/****.Office.Outlook.vsto
Boot Time (Milliseconds): 437
Name: Microsoft SharePoint Server Colleague Import Add-in
Description: The Add-in allows Microsoft SharePoint Server to import colleague suggestions based on your Outlook content
ProgID: ColleagueImport.ColleagueImportAddin
GUID: {EFEF7FDB-0CED-4FB6-B3BB-3C50D39F4120}
Load Behavior: 3
HKLM: 0
Location: C:\Program Files\Microsoft Office 15\Root\Office15\ADDINS\ColleagueImport.dll
Boot Time (Milliseconds): 0
Hi
My Outlook initialization is asynchronous (using TPF with an StaTaskScheduler) - but when it is done, I'd like to execute certain operations that access the outlook object model - so GUI thread it is.
I know how to do it in WPF and Winforms, but what about a VSTO add-in?
Regards
Stephan
I'm creating an Add-In for Outlook and want to sign my project (the .vsto-file) with a certificate.
For that I use "Sign the ClickOnce manifests" in the properties of the project in Visual Studio 2015. With choosing "Select from File..." I can select my .pfx certificate. It's password protected, so a dialog will open asking for the password. All this works fine! I can build my project and my .vsto-file is signed with my certificate.
The problem is in building my project using TFS. I get following error:
C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (2883, 0)Unable to find code signing certificate in the current user’s Windows certificate store. To correct this, either disable signing of the ClickOnce manifest or install the certificate into the certificate store.
I already installed the certificate on the TFS (on local machine) by double-clicking it. But it doesn't solve my problem...
I already tried to installed Windows SDK 7.1 (like recommended in another post). Actually we have SDK 8 on TFS. With tryin to install SDK 7.1, I got the error, that I have just a pre-release version of .NET 4.0 installed. So I tried to install .NET 4.0, but I got the error, that this version is already installed...
I already tried to use "Sign the assembly" with choosing a strong name key file in Visual Studio. But I got the error, that the certificate and the private key cannot be found for the decryption...
I already tried using a certificate without a password. This works fine with building on the TFS. But this is no solution in my case...
I would be so thankful to get help :)