Note

The applet in this sample uses a COM component. COM components can access any system resource. To prevent this from being a major security problem, typically, the browser allows only trusted Java .CLASS files to access COM components.

To facilitate development of Java applets that use COM, Microsoft® Developer Studio relaxes this restriction when the browser is run from within Developer Studio. This page will not be able to access the COM resources it needs to run, unless it is run from Microsoft Developer Studio.

To run this applet from Developer Studio:



The source.