Anyone know about ActiveX in Java?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • S C A

    Anyone know about ActiveX in Java?

    Dear All:
    I'm not sure if this is even possible but does anyone know about using
    ActiveX controls (a Microsoft-specific technology) in Java? I am having a
    heck of a time finding some similar functionality in Java provided by some
    controls (ActiveX) and I was wondering if I can manipulate them using Java?

    Thanks in advance,
    Carl


  • Jared Dykstra

    #2
    Re: Anyone know about ActiveX in Java?

    "S C A" <nospamemail@be llsouth.net> wrote in message news:<rw%Gb.272 38$Ol1.19202@bi gnews3.bellsout h.net>...[color=blue]
    > Dear All:
    > I'm not sure if this is even possible but does anyone know about using
    > ActiveX controls (a Microsoft-specific technology) in Java? I am having a
    > heck of a time finding some similar functionality in Java provided by some
    > controls (ActiveX) and I was wondering if I can manipulate them using Java?
    >
    > Thanks in advance,
    > Carl[/color]


    Are you trying to build an ActiveX container in Java? What is the
    functionality you are looking for?

    Comment

    • S C A

      #3
      Re: Anyone know about ActiveX in Java?

      Jared:
      Thanks for the response. Yes, I am trying to use the ActiveX control via
      Java. The problem is that while I can use it and it works quite well in
      Visual Basic (it's a TAPI wrapper for answering, making calls on Dialogic
      boards), I can't figure out how to use it (the Dialogic telephony board) via
      Java. I do know that Dialogic has a C API and wonder if that will be my only
      or best avenue?

      Thanks for your help,
      Carl
      P.S. This is due to the fact that I am thinking learning Java but don't want
      to miss out on my ability to program the board.
      "Jared Dykstra" <dyksjare@hotma il.com> wrote in message
      news:ba84b53e.0 312292146.52182 d24@posting.goo gle.com...[color=blue]
      > "S C A" <nospamemail@be llsouth.net> wrote in message[/color]
      news:<rw%Gb.272 38$Ol1.19202@bi gnews3.bellsout h.net>...[color=blue][color=green]
      > > Dear All:
      > > I'm not sure if this is even possible but does anyone know about using
      > > ActiveX controls (a Microsoft-specific technology) in Java? I am having[/color][/color]
      a[color=blue][color=green]
      > > heck of a time finding some similar functionality in Java provided by[/color][/color]
      some[color=blue][color=green]
      > > controls (ActiveX) and I was wondering if I can manipulate them using[/color][/color]
      Java?[color=blue][color=green]
      > >
      > > Thanks in advance,
      > > Carl[/color]
      >
      >
      > Are you trying to build an ActiveX container in Java? What is the
      > functionality you are looking for?[/color]


      Comment

      • Jared Dykstra

        #4
        Re: Anyone know about ActiveX in Java?

        "S C A" <nospamemail@be llsouth.net> wrote in message news:<rkkIb.507 86$Ol1.8369@big news3.bellsouth .net>...[color=blue]
        > Jared:
        > Thanks for the response. Yes, I am trying to use the ActiveX control via
        > Java. The problem is that while I can use it and it works quite well in
        > Visual Basic (it's a TAPI wrapper for answering, making calls on Dialogic
        > boards), I can't figure out how to use it (the Dialogic telephony board) via
        > Java. I do know that Dialogic has a C API and wonder if that will be my only
        > or best avenue?
        >
        > Thanks for your help,
        > Carl
        > P.S. This is due to the fact that I am thinking learning Java but don't want
        > to miss out on my ability to program the board.
        > "Jared Dykstra" <dyksjare@hotma il.com> wrote in message
        > news:ba84b53e.0 312292146.52182 d24@posting.goo gle.com...[color=green]
        > > "S C A" <nospamemail@be llsouth.net> wrote in message[/color]
        > news:<rw%Gb.272 38$Ol1.19202@bi gnews3.bellsout h.net>...[color=green][color=darkred]
        > > > Dear All:
        > > > I'm not sure if this is even possible but does anyone know about using
        > > > ActiveX controls (a Microsoft-specific technology) in Java? I am having[/color][/color]
        > a[color=green][color=darkred]
        > > > heck of a time finding some similar functionality in Java provided by[/color][/color]
        > some[color=green][color=darkred]
        > > > controls (ActiveX) and I was wondering if I can manipulate them using[/color][/color]
        > Java?[color=green][color=darkred]
        > > >
        > > > Thanks in advance,
        > > > Carl[/color]
        > >
        > >
        > > Are you trying to build an ActiveX container in Java? What is the
        > > functionality you are looking for?[/color][/color]

        AcitveX components obviously depend on the operating system and are
        not run by the VM. Java is not designed to do this. You may have a
        couple options:

        1. Convert the Java applet to a servlet and use Internet Explorer as
        your servlet container. You can then POST data to the activeX control
        or to the servlet. You can even embed the ActiveX control in a JSP
        page if you wish.

        2. Write a container for the ActiveX control as a win32 executable or
        dll and invoke it from java. You can either exec() it, or use the
        Java Native Interface (JNI) to wrap calls to a dll.

        Both of these are hacks and you should use MFC, VB, or something
        better suited for interfacing with ActiveX. Microsoft may provide a
        way to do this with their VM, but I am unfamiliar with anything
        outside Sun's standards in this respect.

        ---
        Jared Dykstra

        Comment

        Working...