Archive for April, 2006

How to draw a DVD Box with photoshop:

I grabbed an image from google images, taken from the Basic Instinct 2 movie…

Image 1

Continue reading »

Smooth Jazzers! Did you hear Paul Brown?

When I was searching for some new artists on the web, I found “Paul Brown”, I listenned to samples of his album The City. Wow!! really amazing… I encourage you to get this album as soon as possible!!

This album contains 11 tracks:Paul Brown - The City (Album cover)

1. Cosmic Monkey
2. Hello Again
3. Side Steppin’
4. The City
5. Las Vegas
6. Old Friends
7. Winelight
8. Jumpin’ Uptown
9. Food For The Moon
10. Real Mutha For Ya
11. The City

To hear a song sample, click on “Listen” by that sample. Listen to some samples and tell me what you think!!!
If you’re not a jazzer… just drop this post :P

VB.NET Addin Implementation

Since there isn’t actually a vb.net addin implementation available out there, i decided to give you a commented sample, here we go :

Imports System
Imports Microsoft.Messenger

Public Class MAR Implements IMessengerAddIn

    Private WithEvents Mess As MessengerClient

        Public Sub Initialize(ByVal messenger As Microsoft.Messenger.MessengerClient) Implements Microsoft.Messenger.IMessengerAddIn.Initialize
            Mess = messenger //Set The Object

            messenger.AddInProperties.Creator = "Mario Achkar"
            messenger.AddInProperties.Description = "MAR UNofficial Messenger Addin"
            messenger.AddInProperties.FriendlyName = "Mario's Addin Beta 1.0"
        End Sub

        Private Sub Mess_IncomingTextMessage(ByVal sender As Object, ByVal e As Microsoft.Messenger.IncomingTextMessageEventArgs) Handles Mess.IncomingTextMessage

            If (Mess.LocalUser.Status = UserStatus.Away) then
	        Mess.SendTextMessage(String.Format("I'm Away {0} ({1}) - Please Leave A Message!", e.UserFrom.Email, e.UserFrom.FriendlyName), e.UserFrom)
	    End if
        End Sub

Quite Easy Huh? Enjoy! Wanna Try An Already Made Addin? Click Here

How to make MSN Messenger Add-ins?

Many of you tried, searched or just thought about making a pluggin for MSN Messenger… The good news is that MSN Messenger team has made life easier for Add-ins developpers.

MessengerClient.dll API was added to the MSN Messenger folder since the version 8.0.0683.00, you can download it from here. Before starting to develop anything, you have to enable the Add-ins options with this messenger version because microsoft were trying to hide it. So here’s how you show the option:

Start / Run / “regedit”, in the registery browse to HKEY_CURRENT_USER/Software/Microsoft/MSN Messenger/ then add a DWORD (name: AddInFeatureEnabled and value: 1)…

Restart MSN Messenger, and sign in… now the Add-ins option has been enabled in the options…

The next step to do is start developping the add-in… Since I’m a java developer, C# is a good language to program with! I recommend it so bad!

Have you got your IDE? Visual Studio? Here’s SharpDevelop a free software for developing in C# and VB.Net : Click here to download.

Is it time to start coding? hell yea!!

1st of all you have to add reference to the MessengerClient.dll which is found in the new MSN Messenger folder! (Notice for java freaks: Adding reference to a .dll with .Net is like mounting a .jar file to your java project and importing it)

Let’s Start Coding…

The following code a small add-in which sends an Away message to everyone who’s trying to message you while you’re Away…

using System;
using Microsoft.Messenger;

public class EPLUGIN : IMessengerAddIn
{
private MessengerClient messenger;

public void Initialize(MessengerClient messenger)
{
this.messenger = messenger;
messenger.AddInProperties.Creator = “ElectroSoft”;
messenger.AddInProperties.Description = “Away Messenger”;
messenger.IncomingTextMessage += new EventHandler(this.OnIncomingMSG);
}

private void OnIncomingMSG(object sender, IncomingTextMessageEventArgs args)
{
if (messenger.LocalUser.Status == UserStatus.Away)
{
this.messenger.SendTextMessage(“I’m away… Leave a message… [Plugin by Elie Khoury]“, args.UserFrom);
}
}
}
As you noticed: you have to implement the IMessengerAddIn Interface… which requires you to implement the “public void Initialize(MessengerClient messenger)” function…Happy Coding… send comments guys… I’m sure there are enough things to add!

What about fusion

Welcome to my blog!

Who’s Fusion?? What’s Fusion??

I’ve been asked this question about e^1542342 times…

My favorite style in music: Jazz Fusion (Rock + JAZZ = fusion)

The fusion between arts and computing/digital world etc!

I’ll be posting on this blog some special events, music lessons, music album reviews, programming tutorials and ideas, updates about the projects I’ve been working on!

Have fun!