Can an MS Outlook 2016 custom addin add columns to the Select Rooms panel? - outlook-addin

We are trying to determine the feasibility of adding more columns to the "Select Rooms" panel in Outlook 2016. We would feed the data in the new custom columns from Active Directory.
Before I dig into learning how to write a add-in we would like to know if it is even possible. Would c# be required? Or could it be done in Visual Basic with macros?

No, you cannot do that - the columns are determined by the particular Address Book provider (MSEMS in your case).

Related

TFS Excel Add-In: Change Query Source Programatically / Macro

I would like to change TFS Excel Add-in List Query programmatically using excel macro.
I have requirement to provide bulk edit work items functionality using ASP.Net Web Application. I am planning to create pre-defined excel template (Bind with Empty TFS Query) and copying it to web server. I am creating TFS Query programmatically based on user input (work item id) and downloading this template file on client when user request "Bulk Edit" functionality. I want to run macro which will update TFS Excel Query and refresh list pragmatically. I tried sample app to refresh TFS Excel list (https://blogs.msdn.microsoft.com/team_foundation/2010/11/06/programming-for-the-tfs-excel-add-in/) which is helpful but I would also like to change "List Query". I also tried accessing TFS Excel custom properties to change connection string or query but not sure which property and how? I need input for following items
Change TFS Excel Add-in List Query programmatically using excel
macro OR
Update TFS Excel Custom Property to update Server / Query
name and refresh list
Well, there really is no supported allready prepared way to do that. Here is the official doc from MSDN: https://www.visualstudio.com/en-us/docs/work/office/bulk-add-modify-work-items-excel

Outlook2013 What's the control Id for New and Delete

Hi, I'm trying to add another group in between these 2 groups, But I couldn't find the control Id for any of them.
You can find the list of built-in control IDs in the following documents:
Office 2013 Help Files: Office Fluent User Interface Control Identifiers
Office 2010 Help Files: Office Fluent User Interface Control Identifiers
I found it, they are GroupMailNew and GroupMailDelete.

Automate MS project

Is there a way that we can automate the input in ms project 2010. Below are the scenarios:
We have a vb.net application that uses to inputs task name, hours, estimate and completion date time.
Is there a way that we can upload those date in ms project 2010.
There is a way. If you use desktop version of MS Project (Pro or Standard) then the only option you have is to use OLE automation.
Through the OLE Automation you will get a reference to an instance of Application class which is key class in every MS Office application. From the Application you can get a list of currently open projects using Application.Projects collection or even get current project using Application.ActiveProject.
As soon as you have a reference to a project you can access all tasks in the project using Project.Tasks collection. (Index of all collections starts with 1)
The most of Task fields like Name or Start date are available through properties of a Task: Task.Name = "something" or Task.StartDate = "1/1/2001"
Anyway here is a link: msdn.microsoft.com
Another story is if you have Project Server and you want to do all the things faster. In this case you should use PSI (Project Server Interface) - collection of web services which give you access to the most of Project Server functions.
MSDN has great articles with samples how to work with projects using PSI and here is a link: MSDN about PSI. You can search around the link to find more articles about other services available through PSI.
If you're able to put your data into Excel as mentioned in your comment, then it would be fairly straightforward to write a VBA program that reads the excel data and updates the Project tasks with the data in the workbook.

How to communicate ms word and ms access in vb.net?

I want to create a program that could generate reports from an ms access database and place it on ms word, how can I do that. Please help, I dont have any idea on how to do this.
If you're doing this from vb.net, it seems to me that it would be simpler to automate Word, which has no difficulty utilizing Jet/ACE data as data source. I don't see any reason to involve the Access application in this, unless you have complex logic that needs to be executed within Access to get correct results in Word. For instance, Word doesn't do parent/child data display very well, but Access reports do that very easily.
Another question is the final disposition of the results. It may be that you don't need Word at all, e.g., if you're using Word for nothing more than generating PDFs. In that case, it might make more sense to create Access reports and output those to PDF (there's an add-in available for for A2007, and in previous versions, you can use the VB automatable PDFCreator, which is free).
In short, my conclusions would be:
if you're just merging data in Word from a Jet/ACE data store, then automate Word.
if you need to execute complex logic, it's probably better to automate Access and either output Access reports directly, or automate Word from Access.
In neither case, I believe, would you be automating both Word and Access directly from your VB.NET application.
You should connect to the Access Database using a Typed Dataset.
Right-click the project, click Add New Item, select Typed Dataset, and follow the wizard.
To control Word, add a reference to Microsoft.Office.Word and use the Application class.
You can build reports in MS Access that have the Export to Word functionality built into them.
You can invoke the report from your code and then call the export functionality and give it parameters so that it will export to a .doc file that you name. You can then invoke MS Word and open the .doc file up for display.

Office 2007/2003 VSTO Shared Add-In Design Query

I am designing a shared add-in using VB.Net 2008 and VSTO that has to fire up when any MS Office App is started. It has to work for both 2002, 2003 and 2007 applications. I have managed to put together a working add-in that pops up a test message stating the version of Office and the Application name and tested this across all the apps ok.
The next part of the solution is to code the application specific code that needs to run for document auditing and corporate protective marking as well as, for example; in Excel checking that all the Add-Ins are linked to the Network Add-Ins folder.
My approach from now was going to be to late bind against the application object and set one of my typed (e.g. Excel) application object references which exist in the code to this object.
I'm still relativly new to VSTO so if I am doing something odd please can you let me know! :)
Ta.
I have completed this project and did it the way I specified using late bindig. It works lieka dream for all office apps both XP and 2007. :) I feel like I am announcing this to myself though as I didn't recieve a single answer or comment. Maybe you should have sexed up the title a bit Mas. Yeah maybe I should.