File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes configuring new clsid for MSJVM. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "configuring new clsid for MSJVM." Watch "configuring new clsid for MSJVM." New topic

configuring new clsid for MSJVM.

vidhyasagar reddy
Ranch Hand

Joined: Jul 05, 2005
Posts: 40
Hi guys,

We are facing some issues with applets.
The requirement is to force the applet to use MSJVM irrespective of browser option(IE option "Use SunJRE for <applet> tag") is checked or not.

1. For that I tried to load the applet using <object> tag and passed the clsid as "clsid:08B0E5C0-4FCB-11CF-AAA5-00401C608501" then also it is loading SUNJVM if IE option "Use SunJRE for <applet> tag".

2. When I read the docs , just by deleting TreatAs subkey for clsid 08B0E5C0-4FCB-11CF-AAA5-00401C608501 , it will load the applet through MSJVM and it is loading too.

3. But the problem is if I delete this TreatAs key , it is loading the MSJVM for all the applets using <applet> tag as well as <object> tag aslo if "Use SunJRE for <applet> tag" is checked.

so what is want to know is:

1. can we use <object> tag and force only the applets using <object> tag to load through MSJVM (applets using <applet> tag should work asusual)?

2. Can we configure new clsid for MSJVM?

Don't get me started about those stupid light bulbs.
subject: configuring new clsid for MSJVM.
It's not a secret anymore!