SamCogan.com

Archive for the ‘University’ Category

XSL Citation/Bibliography Styles for Word

Tuesday, October 13th, 2009


After my post on getting Word for Mac to recognise new citiation styles, I got a number of requests for stylesheets to use for Harvard style referencing. I’ve found the stylesheet I used, plus a number of other ones Including ACM, IEEE etc.

I presume these are freely distributable, I can find no reason why they would not be, so here they are.

Styles.zip

Tags: ,
Posted in University | 1 Comment »


Moving Organizational Units in powershell

Monday, January 12th, 2009


It turns out that whilst you can happily create a new mailbox in any OU you want, you cannot then move it to a different OU using the set-mailbox command. In fact what you have to do, is move the base Active Directory object. To do this you need to know (or work out) the distinguished name of both the user you are trying to move, and the OU you are trying to move it to. You then use the MoveTo method of the PSBase Object to move it. The code to do this looks like this:

</span>

<span> "$from=[ADSI] 'LDAP://&lt;DIstinguisedNameOfUser&gt;'"</span>

<span>"$to=[ADSI] 'LDAP://'&lt;DistinguisedNameofOUToMoveTo&gt;"</span>

<span> "$from.PSBase.MoveTo($to)"</span>

<span>

On a side not. The PSBase object, basically gives you access to the underlying Powershell Object, not the specialised version for a user, mailbox etc. A good explanation is available here.

http://blogs.msdn.com/powershell/archive/2006/11/24/what-s-up-with-psbase-psextended-psadapted-and-psobject.aspx

Tags: ,
Posted in University, Windows | No Comments »


Singleton per ASP.net Session

Wednesday, January 7th, 2009


A class in my current project is accessed multiple times in a session, and stores error messages that need to be read by multiple classes, so I wanted to make this class a singleton. However a singleton in asp.net is then available to the whole application, not something I want, as error messages are per user. So after some experimenting, I came up with a simple way to make your singleton session bound.

instance method of singleton:

public singleton Instance
{
get
{
string name = "singleton";

if (HttpContext.Current.Session[name] == null)
HttpContext.Current.Session[name] = new MyClass();

return (singleton)HttpContext.Current.Session[name];
}
}


Tags: ,
Posted in University | No Comments »


Research Material

Monday, October 13th, 2008


So, as part of my project, I need to include a large section of research on Exchange, its competitors/alternatives and its use in both large and small business. I’m currently scouring the library catalouges for papers, but I fear they will be thin on the ground, so a hunt through white papers may be next.

If anyone knows of any articles/papers on exchange, particularly its use or benefits to small business, I would appreciate it!

Tags:
Posted in University | No Comments »


Final Year Project

Tuesday, October 7th, 2008


So I think i’ve settled on an idea for my degree project. I’m going to be building a control panel for Microsoft Exchanged, based on asp.net and powershell.

This is all assuming I can satisfy the research criteria part, I’m thinking of looking into usability and HCI, as this control panel will be designed for non-IT users (managers mainly) to use, and so usability will be a big factor. I’m also going to looking at process models and system lifecycle etc, but I guess everyones doing that.

I’m pretty excited about the idea, aleast teh development part, and even the design bit. Not so keen on the research!

Tags: ,
Posted in University | No Comments »