Thanks JohnCz, that was the problem.

Is there anyway we can associate an icon as well? Everything works fine but the the files icon still remains the same ukknown file types. Can we change that as well from our program?

Thanks!