Hi!

Do u know how to use your own (self made) icon as a file icon when u save with:

Employee e1 = new Employee("A", 45000.0);
FileOutputStream fos = new FileOutputStream("employee.ser");
ObjectOutputStream oos = new ObjectOutputStream(fos);
oos.writeObject(e1);

?

Well I'm developing a program where u can draw stuff on a drawingboard, so when I want to save that project (drawingboard with drawn stuff on it) I want to use my own icon but I don't know how to do it, and I have googled a lot.

When I save the project the icon of the saved project is the Unknown Icon...

Do u have any ideas?

Or can I add my icon to shell32 and the retrieve my icon from there or something similar?