Display TFS queries in Word [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm a few months into programming, and I have task right now to create a new Ribbon Tab for Word where I can pick a Template and a TFS query to be displayed in that template. It already exists exactly like that in Excel. I have the Tab and a few Buttons, like 'Select Query', but how do I get the TFS Project Collections, and do I create a WinForm as a dialog for picking a project? I'm new to the whole Office thing in Visual Studio.
Isn't there a way to get the code behind the Excel 'Team'-Tab?

Check out http://www.modernrequirements.com/. This is a tool that already does things like this for you.
But if you want to reinvent the weel, then you can check https://dev.office.com/docs/add-ins/get-started/create-and-debug-office-add-ins-in-visual-studio for information how to create your own plugin. You custom office plugin with connection to the TFS api (see: https://www.visualstudio.com/en-us/integrate/api/overview) will make you go a long way.

Related

How package and distribute C# application [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I have to create a form for a task that is done by multiple people at the company I work for. Due to the circumstances, I have choosen Windows Forms and C# to make it. However, I'm not sure how I'm going to make the program available to my colleagues.
In Python, I use PyInstaller to create a .exe file and distribute my programs in a way that no one needs to install a Python interpreter to use it. Is there anything similar for C#?
Right click project and choose publish.
There’s a lot of tutorials about it.

Add news to c# application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
We have a c# application wich is used by user to do stuff ;-)
What I want is to add at the startpage of the application some news or information like "hey, there is a new update for the application" or "did you know this feature..." Basically I want something similar like the startpage in Visual Studio.
The news should remain when there is no internet connection and update when there are new entires.
What's the best way to do this?
Thanks
Let your application read some data from file located in the server (XML is good idea), Also you must save the current version of your app in some file (or some where).
So after comparing between the two values you can decide what to show in your news bar.
To show some news you can just read it from another XML file in the server, Then organized it like you want.
here is good ways to read XML from server Read an XML file from http address

Programmatically accessing TFS history [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a solution under TFS source control and had written some sample code using an external library that was deleted a few months ago. I am certain that the code was checked in before that class file was deleted.
I am able to manually browse to previous versions of even deleted files and copy old code but the number of check-ins is massive since then.
Is there a way to programmatically access TFS history using C# so I can automate the process of "Find in historic/deleted files"?
I know people have written scripts in PowerShell for TFS but I'd prefer to write a C# utility if it is possible. Any hints in the right direction would be appreciated.
Shai Raiten's Blog is great for learning the TFS API.
For getting file history - read this post:
http://blogs.microsoft.co.il/shair/2014/09/10/tfs-api-part-55-source-control-get-history/

Add new winforms into a big application after shipping to the customer [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Lets assume that we have developed and shipped an application to many customers. We would like to add new screens to that application without removing and re-installing from customers computers the entire application. We just want to send a DLL or an EXE file to the customer, then they will put that file and place it to application folder. Then application will find and recognize that DLL or EXE and let user use that WinForm?
How can I do that? Would you please give me an idea?
professional and complete solution is MEF if you want something simple, you could use something like Assembly.LoadFrom(filePath) and iterate types in it. check for if the type is derived from System.Windows.Forms.Form (you should use typeof(Form).IsAssignableFrom(loadedType))
This problem is why web-applications are so popular. A single install for everyone. Change without re-installing in multiple locations.
This problem is why SAAS exists. The true solution to this problem is get off the winform-gui model.
Think bigger!

Adding a menu item to Windows Explorer right click context menu in C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am developing an application in which I want to add a menu item to context menu which appears when we right click one or more file or folders in Windows Explorer. By selecting multiple files or folder and clicking my item in context menu it should send the path of all the files and folders to my application executable for further processing. Please provide me some code for this if possible in C#.net. I searched on internet it is not possible but I think there should be some way because .NET is highly attached to Windows Shell. And if not possible please provide me code in either of these languages VB, VB.net, C, C++, or any other.

Categories