Programatically Managing an Outlook Distribution List - c#

I am trying to automate the management of an Outlook distribution list. Currently, if I want to add/remove users from a DL, I have to go into the Outlook GUI and manually modify the membership of the DL. The task becomes tedious and rather error prone.
Can anyone shed light on what tools,technologies and steps I can use to accomplish this?
I am a beginner who is doing this particular effort at work, as a personal development project for growing more technical skills.

You can use a VBA code or develop an Outlook add-in. It depends whether you are going to deploy your solution on other PCs. VBA macros are not designed for distributing on multiple PCs.
I'd suggest starting from the Getting Started with VBA in Outlook 2010 article. Then you can find a lot of articles with a sample code in the Concepts (Outlook 2013 developer reference) section.
Finally, you may find the How To: Create a new distribution list item in Outlook article helpful. It looks like you are interested in the AddMember and RemoveMember methods of the DistListItem class.

Related

How do I make a C# project that 3 users can work on at the same time?

Me and two others are starting to make games, we all have some knoledge of C# and VB.Net, we are using C# with the XNA Managed Runtime Environment to make a game.. We have one problem we can't find an answer too though. How do all three of us work on the same project? I saw something about Team Foundation Server, but would that allow us all to work on the project? Or is that just for statistics and time activated builds..
Thanks, Matthew
You need source control. That could be Team Foundation server, it integrates nicely with Visual Studio. Git is also a very popular alternative, but it's more complex.
I started out with SVN server and that was simple and easy for me. You should google for what suits your needs.
Source control is something that runs separately from your project, it has little or nothing to do with your preference of language.
Any source control solution will work to help you manage the project in a team. This includes Team Foundation Server, but also github.com, Bitbucket and other options.
Team Foundation Server is primarily used as a source control tool (can also be used for build management, storing test cases etc.). If you want to maintain a history of the changes to any code, then go ahead with Team Foundation Server or some other source control. A source control would also help you in making local changes and then merging your change with the changes made by others afterwards.
Yes TFS (Team Foundation Server) will help you.
It has a source control, which keeps track of changes made by individual developer and let you merge your changes with code on server or rollback any changes
It provides project management capability, to create user stories and tasks then assign each commit with task to let everyone know that "this change is performed for following task"
and many more ..

Navigating website with application

I'm looking to make a C# application to automate some processes for me. One of which would be navigating a few websites that I frequent, such as grooveshark. I'd like my application to be able to log me into the website and search for/play a song.
I've done some googling on the topic and came across something called selenium. I was wondering if this was the best tool for what I would like to accomplish or if there is another option that would be a suit my needs better?
Thanks in advance!
In order to automate your process , you can use Microsoft Test Manager , who is tool about testing and generating code
On Microsoft Test Manager 2012 , for example you have new functionnality such as Exploratory Test, the process is you explore your application and generate your test.
Link : http://msdn.microsoft.com/en-us/library/vstudio/hh191621.aspx
After creating your tests, you can generate Coded UI Test and include in your build process
Note : you must use Team Foundation Server or Service in order interact with Test Case WorkItem
Selenium will do fine, unless the sites use Flash. If they do, you are pretty much stuck.
https://code.google.com/p/selenium/
http://selenium.googlecode.com/git/docs/api/dotnet/index.html
http://docs.seleniumhq.org/docs/03_webdriver.jsp
I would read up on Selenium and come back when you have a specific problem.
If you have Visual studio Premium or greater I would suggest Coded UI. I would also suggest CUITe http://cuite.codeplex.com/ as it simplifies the code.
It definately depends on what your automation is going to be able to. I don't know Selenium at all. I think it's for recording certain actions on a website in a certain order. Though you will only be able to automate the process as far as the website (the actual client) capabilities offer.
If you'd like to build some different, more advanced behaviour the client doesn't provide yet, you'd need to build your own client. That'd need some backwards engeneering. That'd be the case for e.g. automating browser games. Usually a browser game client doesn't provide scanning certain amounts of players and automatically comparing them to your own player profile, so building this feature on your own would be the only possible solution.

Can anyone offer a step-by-step reference about the development of excel plug-in

I just start studying how to develop the excel 2010 plug-in by VSTO, and I use C#. But I find it hard to continue. I want to develop the plug-in with interface like there are buttons or checkBox, instead of UDF.( May use Ribbon I believe) I've learnt some from Excel-DNAļ¼Œ but it's not what I want. Can anyone give me a reference or a link on that? Better a step-by-step tutorial.
Microsoft provides a decent tutorial here along with samples and object model diagrams.
http://msdn.microsoft.com/en-us/library/cc668205.aspx
For UI customizations:
http://msdn.microsoft.com/en-us/library/bf08984t.aspx

Reporting with Visual Studio 2010

I am at the moment working on a project on Visual Studio 2010 using C#.
One of my main tasks is to print invoices with a pretty strict layout, that is, some elements have to be positioned precisely say 3 mm from each other.
I had realized this project a long time ago using Access and its report framework, and it was quite useful because it allows page footers, report footer and so on.
I wanted to know what technology I should use in this case. I'm thinking about using Crystal Reports but I don't know if I should use the Microsoft Reporting framework instead.
Could you give me some advice, and if possible, suggest me a good tutorial about that technology?
For example, do you know any specific features one of them has?
What about deployment? Any of them is easier to handle?
Depending on your version of SQL Server, you can use Reporting Services. It's a very nice environment for building and managing reports.
Is this a web app or a desktop app that you're building?
I am looking to do something similar and I have been playing around with this Free Library as well as this one too

developing Outlook Add in

How can i developed a plugin like the sales report or my links? i already developed a addin, but it goes to the menu. How can i insert it like that?
http://www.add-in-express.com/images/2007/adx-vsto/outlook/outlook-regions.gif
Well, the screenshot you linked is already from a site that tells you one way to do it...
ADX is an amazing component set that's worth every single penny (also check their discounts page)!
I guess I should add that I am not affiliated with Add-in-Express. I am just a happy user of their product and was a bit surprised that you linked to their site yet asked exactly for what they're offering. They even have extensive video tutorials on how to create Outlook form regions.
Maybe you should rephrase your question? Maybe you want to know how to achieve that same effect without using ADX?
Just found the way to do this. This two websites help a lot to accomplish that.
http://msdn.microsoft.com/en-us/library/aa338197%28office.12%29.aspx
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/b72b048f-f439-4417-970a-fea57a8b2bec
You need to developed Com Addin using Addin Express. I have done similar thing. You can subscribe either standard version of Pro version of Addin Express
https://www.add-in-express.com/add-in-net/index.php

Categories