Connecting Tech Pros Worldwide Help | Site Map

Anyone know about ActiveX in Java?

S C A
Guest
 
Posts: n/a
#1: Jul 17 '05
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
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Anyone know about ActiveX in Java?


"S C A" <nospamemail@bellsouth.net> wrote in message news:<rw%Gb.27238$Ol1.19202@bignews3.bellsouth.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?
S C A
Guest
 
Posts: n/a
#3: Jul 17 '05

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@hotmail.com> wrote in message
news:ba84b53e.0312292146.52182d24@posting.google.c om...[color=blue]
> "S C A" <nospamemail@bellsouth.net> wrote in message[/color]
news:<rw%Gb.27238$Ol1.19202@bignews3.bellsouth.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]


Jared Dykstra
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Anyone know about ActiveX in Java?


"S C A" <nospamemail@bellsouth.net> wrote in message news:<rkkIb.50786$Ol1.8369@bignews3.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@hotmail.com> wrote in message
> news:ba84b53e.0312292146.52182d24@posting.google.c om...[color=green]
> > "S C A" <nospamemail@bellsouth.net> wrote in message[/color]
> news:<rw%Gb.27238$Ol1.19202@bignews3.bellsouth.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
http://www.bork.org/~jared
Closed Thread