This sample is located in \Samples\Native\BrowserAppletControl.
Note It is recommended that you have Microsoft® Visual C++® version 5.0 or higher installed.
Description
Using the Sample
Key Project Files
Technologies Demonstrated
This sample shows how to use the Microsoft® ActiveX® Browser Applet Control, which is the same control used by Microsoft® Internet Explorer to handle the <APPLET> tag. This control was added in the Microsoft virtual machine provided by the Microsoft SDK for Java 2.02 and by Microsoft® Internet Explorer 4.0.
To compile the sample
Use Nmake.exe to compile the makefile in the \Samples\Native\BrowserAppletControl directory. The makefile compiles the C code into an executable and also compiles the Java applet. Type the following command:
Nmake
To run the sample
Run the generated executable, AppletHoster.exe.
This file contains C code that implements the application that will host the Java applet.
SampleApplet.javaThis file is a simple Java applet for demonstration purposes.