Results 1 to 6 of 6
  1. #1
    mwalstra is offline Member
    Join Date
    Dec 2008
    Posts
    7
    Rep Power
    0

    Default ActiveX Control in netbeans

    Hi there,

    I currently have an active X control that i use in my webpages, i would like to know if there are any plugins or something like that available in java that would enable me to utilize the same control but in the netbeans environment.

    Thanks in advance.

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    That's sorta mixing two differing things. You could write one, nobody is to stop you but for one thing, Net Beans is for writing code, ActiveX is a decent implementaion of client-side display tools.....

    Kinda like boats and ariplanes, okay neither is wheatfield technology, but you can put floats on a plane and have something.

    Difference here is that Net Beans is for writing code, ActiveX is for driving ... displaying ?... it's just two different things.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    mwalstra is offline Member
    Join Date
    Dec 2008
    Posts
    7
    Rep Power
    0

    Default

    Hi Nicholas,

    The ActiveX control i am using in my webpages interacts with a scanner, basically i create an object referencing the CAB file, but i would like to know if this is possible in java.
    Or would i have to recompile the ActiveX component to be a "dll" (im not sure of the equivalent in java) and then import that?

    (Sorry for my lack of understanding, i'm actually a web developer, but my company would like me to try get a java version working)

  4. #4
    mwalstra is offline Member
    Join Date
    Dec 2008
    Posts
    7
    Rep Power
    0

    Default

    Hi,

    It seems i am not getting any new replies on this:

    Basically i currently use the following code on a webpage,
    <object width=350 height=350
    classid="CLSID:74F4F118-91E6-4AFC-B8D2-04066781F239"
    id="eztwain"
    name="eztwain"
    codebase="$CAB#Version=1,56,0,12"
    standby="Loading Fica">
    <param name="wmode" value="transparent">
    <param name="EnableLogging" value="True">
    <param name="AppTitle" value="FWApp">
    <param name="LicenseKey" value="1619579093">

    I would like to know if i am able to use the same CAB file in JAVA

  5. #5
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    6

    Default

    Ya you can create an object reference to the file but I think it might better to actually use the file. Are you pulling data from the file?

    I'm still a little unsure of what you want to do with this file but read up on FileInputStream, Runtime.exec()

  6. #6
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Lightbulb interfacing Java and AX

    Stay with him xcallmejudasx, I'm busy right now. A .cab file in java is .... well, dot cab in cs in win proprietary for a compressed file. dot zip is somewhat not as winnie, we have dot war as Web Archive, ( Look into it xcallmejudasx - help him with it ) and as well we have what is called .gzip - the defacto standard for open-standards in file compression routines.

    In Java, we use what is called .jar - which is acronm for Java Archive. Though using several compression algorithms, we have a short intro study just examining the various compression schemes used in the differing file format.

    Start by google for LZW - both of you work on it awhile while I am busy on some preliminary concepting for a compiler.....

    Additional information: interfacing ActiveX and Java
    Last edited by Nicholas Jordan; 12-10-2008 at 12:43 AM. Reason: Additinoal information
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. Replies: 1
    Last Post: 12-30-2010, 01:48 PM
  2. Control on exe
    By jazz2k8 in forum New To Java
    Replies: 3
    Last Post: 08-14-2008, 02:06 PM
  3. Control audio sound
    By Masuka in forum Sun Java Wireless Toolkit
    Replies: 0
    Last Post: 08-05-2008, 10:24 AM
  4. Replies: 0
    Last Post: 07-25-2008, 02:34 PM
  5. control app width based on certain control
    By thebillybobjr in forum SWT / JFace
    Replies: 0
    Last Post: 05-15-2008, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •