How to use java applet through C #?

I would like to use a java applet that is in the html file, like ..

This Java applet contains a text field, and I want to access it, as whenever I click a button in my C # application, a certain txt appears there ...

I have already embedded it using webBrowser ..

Any sample code or suggestion?! ..

Note: development for visual studio 2008 and I have the source code for the java applet.

+3
source share
2 answers

WebBrowser Java- AFAIK ( , , ActiveX, , ).

, , , JavaScript, ( , ). extern, window JavaScript.

, ObjectForScripting WebBrowser, .

, , script ( , ), , , ObjectForScripting WebBrowser.

, : JavaScript , DOM, .. ..

, , , , DOM ObjectForScripting, JavaScript HTML- .

+1

, , - UserControl WebPart, HTML-, Render. Render (http://msdn.microsoft.com/en-us/library/system.web.ui.control.render.aspx).

, , <object> <param> ( Web.config ), HTML .

0

Source: https://habr.com/ru/post/1732799/


All Articles