So I am not a Java programmer, that is VERY fair to say. However I understand it just fine. I have programmed in C, C++, and C#. All of which basically shares the same sort of  “syntax” family as Java. What I don’t understand is why Java (or Eclipse) is such a pain.

Click to continue reading “Which do I hate more, Java or Eclipse?”
Go straight to Post

So .NET does some funny things sometimes. Mr. Hanselman has already explained what is going on in a little detail. I added a little something from this bytes.com post.

Seems like it will be the way to go!

string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Person.dll"
AssemblyName an = AssemblyName.GetAssemblyName(filePath);
Assembly dll = Assembly.Load(an);

Type t = dll.GetType("Plugin.Person");
var instance = t.InvokeMember(String.Empty,BindingFlags.CreateInstance, null, null, null);
Person p = (Person)instance;

Go straight to Post

Iz nice… works with multiple monitors to select the main screen.

public MainForm()
{
    InitializeComponent();

    Rectangle r = Screen.PrimaryScreen.WorkingArea;
    StartPosition = FormStartPosition.Manual;
    Location = new Point(Screen.PrimaryScreen.WorkingArea.Width - Width,
        Screen.PrimaryScreen.WorkingArea.Height - Height);
}

Go straight to Post

© 2010 iDevelop Suffusion theme by Sayontan Sinha