File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Programming Microsoft Active Desktop using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Programming Microsoft Active Desktop using Java" Watch "Programming Microsoft Active Desktop using Java" New topic

Programming Microsoft Active Desktop using Java

Vilpesh Mistry
Ranch Hand

Joined: May 27, 2003
Posts: 62

My Requirement is to set a HTML page on the Desktop of an visitor(to my Website) having Windows OS.
simply i want to program into Microsoft Active Desktop using java so that i can put the HTML page into visitor's desktop.
any resource or suggestion would be great

Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
My feeling is this won't be easy. There will be security issues and you will probably need to use some native library with JNI to edit the windows settings. I'd be interested to know if anyone comes up with an answer to this one myself.

SCJP 1.4,
eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
This sounds like something you shouldn't even be trying to do. What if the visitor has active desktop disabled (like I always do)? What if their admin has disabled any changes to active desktop in their group policy? And my biggest gripe would be how can you do this without driving the user up the wall?
In anycase, much of active desktop is set in the registry (and in different places in the registry, depending on the OS version). Making changes to the registry from a browser is both dodgy and flaky. If this is an unchangable requirement though, Java is not the way forward. Java run from a browser, quite correctly, can only run in the browser sandbox (unless its signed). You'd be better looking at something written in ActiveX.
I agree. Here's the link:
subject: Programming Microsoft Active Desktop using Java
It's not a secret anymore!