C# or vb.net Java applet
-
I was wondering if anyone knows how to Read or communicate to/from a java applet. I'm an avid pogo player for some reason once i started i cant stop hehe. But i want to extract my token score, or even display the java game window in a win app. I am totally lost as to where to start, I can't find any tutorials on communication to java applets, or even how to display them in a certain language, Is there any help someone can give me, and point me in the right direction. It would be greatly appreciated, Thank you.
-
I was wondering if anyone knows how to Read or communicate to/from a java applet. I'm an avid pogo player for some reason once i started i cant stop hehe. But i want to extract my token score, or even display the java game window in a win app. I am totally lost as to where to start, I can't find any tutorials on communication to java applets, or even how to display them in a certain language, Is there any help someone can give me, and point me in the right direction. It would be greatly appreciated, Thank you.
Java applets run in their own runtime. There is no way to communicate directly with the applet unless it's written to expose a server, either through COM or TCP/IP. Getting the results out of the Java window, like your score, would involve OCRing the Java window! Java renders its windows without using any Win32 controls, so trying to use stuff like WM_GETTEXT on a window handle is useless.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Java applets run in their own runtime. There is no way to communicate directly with the applet unless it's written to expose a server, either through COM or TCP/IP. Getting the results out of the Java window, like your score, would involve OCRing the Java window! Java renders its windows without using any Win32 controls, so trying to use stuff like WM_GETTEXT on a window handle is useless.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007That is interesting and a good read on ocr Is there an easy way to load the applet on a vb form?
-
That is interesting and a good read on ocr Is there an easy way to load the applet on a vb form?
Don't know - never tried. Never had a reason to. I don't think there's a COM component you can put on your form to show a Java window. You might want to checkout a Java-dedicated board for an answer to this one, like Sun's Support Forums[^]. The only thing I can think of would be to put a WebBrowser control on your form and have it navigate to the source of your Java code, be it a website or a file path.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007