By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,569 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,569 IT Pros & Developers. It's quick & easy.

Anyone know about ActiveX in Java?

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"S C A" <no*********@bellsouth.net> wrote in message news:<rw*******************@bignews3.bellsouth.net >...
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

Are you trying to build an ActiveX container in Java? What is the
functionality you are looking for?
Jul 17 '05 #2

P: n/a
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" <dy******@hotmail.com> wrote in message
news:ba**************************@posting.google.c om...
"S C A" <no*********@bellsouth.net> wrote in message

news:<rw*******************@bignews3.bellsouth.net >...
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

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

Jul 17 '05 #3

P: n/a
"S C A" <no*********@bellsouth.net> wrote in message news:<rk******************@bignews3.bellsouth.net> ...
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" <dy******@hotmail.com> wrote in message
news:ba**************************@posting.google.c om...
"S C A" <no*********@bellsouth.net> wrote in message

news:<rw*******************@bignews3.bellsouth.net >...
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

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


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
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.