Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. C# or vb.net Java applet

C# or vb.net Java applet

Scheduled Pinned Locked Moved Visual Basic
csharpjavagame-devhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aerosmith2k1
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • A aerosmith2k1

      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.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        A Offline
        A Offline
        aerosmith2k1
        wrote on last edited by
        #3

        That is interesting and a good read on ocr Is there an easy way to load the applet on a vb form?

        D 1 Reply Last reply
        0
        • A aerosmith2k1

          That is interesting and a good read on ocr Is there an easy way to load the applet on a vb form?

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups