473,893 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 17 '05 #1
3 7236
"S C A" <no*********@be llsouth.net> wrote in message news:<rw******* ************@bi gnews3.bellsout h.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
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******@hotma il.com> wrote in message
news:ba******** *************** ***@posting.goo gle.com...
"S C A" <no*********@be llsouth.net> wrote in message

news:<rw******* ************@bi gnews3.bellsout h.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
"S C A" <no*********@be llsouth.net> wrote in message news:<rk******* ***********@big news3.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******@hotma il.com> wrote in message
news:ba******** *************** ***@posting.goo gle.com...
"S C A" <no*********@be llsouth.net> wrote in message

news:<rw******* ************@bi gnews3.bellsout h.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1343
by: S C A | last post by:
Dear All: I just posted about ActiveX controls and would like to know if anyone can give me Java info on using Telephony like that provided by Microsoft's TAPI? What I mean is that I specifically need to interface with a Dialogic board and don't know how to find any Java code/component to do that? Thanks in advance, Carl
1
2235
by: Mattt | last post by:
Hi, I've run into a rather odd problem. get Methods seem to return values from the wrong methods! For example, let's pretend my activex control stores values about a person. getName would return their age, while getAge might return null! Something is also going wrong with my method that accepts input and returns a value (okay, it is a money conversion program!)... it is returning null! They are consistently returning the same, wrong...
1
2119
by: Euan Crawford | last post by:
Can I do this? Is it even a good idea? I need to build an application that will self-install over the internet. The restriction is that the application uses a 3rd party ActiveX control. However I don't want to write any new COM code. As far as I can see my options are; - no-touch install windows app (with embedded control) - .NET User control (with embedded control)
3
2270
by: | last post by:
Hello All, I am doing some research on ActiveX and it's place in .NET. In .NET, does ActiveX have an equivalent counterpart. Where would I be able to locate information on this subject. Thanks.
5
3893
by: ESPN Lover | last post by:
I need a good primer in how to program an ActiveX control that is launched client side to communicate with the server. I've read thru three C# books and none of them even touch on the subject. I've searched web sites and found nothing. Is client side ActiveX programs on the way out? Is there any online examples of how to code an ActiveX control to take to the server?
31
2798
by: Jim Hubbard | last post by:
I am downloading the REALbasic 5.5 demo and was just wondering if anyone else had tried it. I am tired of Microsoft constantly changing things and breaking backward compatibility ON PURPOSE. I'd like to offer my customers the ability to run my apps on Windows, MAC or Linux - and REALbasic claims the ability to do that from one set of source code.
1
1592
by: david | last post by:
I have the following question about them and need your help. 1. Can ActiveX control open a socket in client machine to connect to a third machine other than web server? 2. Can ActiveX control invoke a client side application? I remember it can before. Any restriction on it? 3. Same questions to Java Applet within Web browser. Thank you very much.
4
5703
by: marcosnogood | last post by:
Hello, I need to dynamically load an activex object because what object to load is based on certain conditions. Also I need to wait for the object to have initialized before moving on. What I did was having the activex object set a variable and have the javascript spin on that variable (a wait function)... function load() { var newsection = document.createElement('div');
2
2346
by: mhwang111 | last post by:
I have a Java application which is interfacing with a Windows ActiveX control (using a third party tool named JacoZoom). The problem I'm encountering is that the ActiveX control is writing out to a log file when the control is first instantiated. This file is going out to the "Current Directory" which is the Windows Desktop. I realize there is no concept of the "current directory" in Java (such as can be accessed by chdir), but is there ANY...
0
9985
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11243
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10839
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7173
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5858
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4684
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4280
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.