-
February 24th, 2009, 04:41 PM
#1
Problem: Set your own icons as icon image on file icon
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?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|