Installing ActiveX Bridge
I have installed JDK 1.0 (VisualCafePDE) and JDK 1.2, BDK 1.0. In C: I have \Programs\Javasoft\Jre\1.2\ and \1.3\.
JRE.EXE is only in VisualCafePDE\Java\Bin\.
I have now installed "j2re1_3_1-win-i.exe" the new 1.3.1 Plugin. Ok for plug-in and applets but where is the bridge? In the docs they speak of ">java sun.beans.ole.Packager" or of ">jre -cp ...;lib\swingall.jar;...;%CLASSPATH%sun.beans.ole.Packager".
But where is Packager ? Where is swingall.jar? where is the folder \bridge\ ?
May somebody help me ?
Thanks.
Thanks Matthew for your reply.
With the right JAWS.JAR it worked.
Finally I have listed the contents of my four JAWS.JAR (>JAR -tf JAWS.JAR) and found the good one.
In the books and in the SUN page it is absolutely not clear.
By the way, I have never understood the CLASSPATH for JDK 1.2 (in place of the former CLASSES.ZIP).
I should make some housekeeping of the many versions I have installed.
Thanks again and regards.
Carlo
Similar Messages
-
Does the ActiveX Bridge work if not C++ installed?
I've been reading the ActiveX Bridge developer guide at
http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
and it seems that you must have Visual C++ installed to run the packager.exe to create a dll. I kind of wasn't sure whether to believe that so I tried the Person tutorial (thanks scsi-boy) at
http://www.reallyusefulcomputing.com/java/activex/tutorial.php
and tried tweaking it to use the new 1.4.2 packager but I got the error
C:\j2sdk1.4.2\bin>packager -reg c:\PersonBean.jar Person
Failed to generate type library, missing midl.exe.which gives me the idea that I really do need C++ installed to run this (I'm guessing midl.exe is part of C++) - bit of downer when we only have VB.
Can this really be true? Have any VB people got it working out there?packager.exe depends on the tools available with Visual C++, and therefore you must have it installed to make the packager work. Visual C++ IS NOT required to execute the bean, only to run the packager.exe.
-
Catching Events from Com side using ActiveX bridge
Hi,
I have packaged a java swing application into an activex control using the ActiveX bridge. I now need to be able to fire events from my java code which the com/VB code needs to be able to trap. The event handler on the com side looks like this: function(BSTR param1, BSTR param2, BSTR param3), but the java event model only allows passing the EventObject in the param for the introspector to work. How do I fire an activex event that the com client is able to trap??Thanks, beders. Your solutions above works, although I found the only way to install the SDK was to the use following URL rather then the one beders suggested:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm
This SDK is the full one and not just the Core SDK so may take a little longer to download.
You also need to ensure that the location to cmd.exe (ie. C:\WINDOWS\system32) is on the path variable otherwise SetEnv.bat fails when it calls cmd.
J -
How to run ActiveX bridge packager without VC++
Hello everybody,
The ActiveX Bridge Developer Gude states that I have to
install Microsoft Visual C++ 6.0 with SP3 to run the ActiveX packager.
Is there a way to run the packager without installing MS VC++ on my computer?
What components from VC++ are actually required?
May be they can be found in other software?
Thank you to anyone who give me a hint.I found the link below while trying to determing the same thing, but I have not actually attempted to get it working yet.
http://forum.java.sun.com/thread.jsp?forum=40&thread=522688&tstart=0&trange=15 -
Can not see some videos, Can not install Activex 9.o47
My name is Alex, I have been working on getting flash to play
for about 3 weeks.
I have uninstalled both shockwave and flash many many times
using all different sites. I have turned off my firewall,
anti spy, and antivirus when downloading. I have shut
everything down that was running. I have closed everything.
I have restarted each time between downloads. I have then
downloaded the install from many many sites. Closed everything, and
installed.
I have uninstalled from ADD/Remove. I have reinstalled. Now,
when I go to ADD/Remove programs it shows that both Flash and
Shockwave are there.
Seriously, I have downloaded and uninstalled and installed so
many times from so many sites.
Each time the screen shows I have done it successfully. But I
cannot get it to play. I have turned off all popup blockers that I
know of.
I still run my anti virus, firewall spyware etc. But says
there is nothing to prevent Flash from playing some of the pages I
use to see.
I have done a Reg clean. And I have installed after all that
and still does not work.
I am the admin on the computer and I am the only one who runs
it. I use firefox for my browser but I tried to get it in IE and
still nothing.
Everything was going absolutely fine till I done the stupid
mistake of updating my Flash player,
seen then my computer is going banana, I don't understand why
is that,
I can actually see U tube videos, but I can not see other
videos like trailers from IMDB, <Your browser is blocking
display of our video player. If you would like to see the video,
please turn off any ad-blocking or Flash-blocking software that you
are using>.
That's what he said on the screen where the video suppose to
play, I can only see advertising, It should be the other way
around,
and even the news on yahoo I can not see them, only ads.
I had no problems before, no pop up I could see the videos
absolutely fine and especially no ADS and then that days,
I wish I could cancel that day, I'm try to fix this problems
all ready 3 weeks and nothing, I did try everything but nothing.
I have download flash Player 9.0.47.0 manage to install but
found impossible to install Activex 9.0.47.0 seems to be impossible
I do know why. disinstall everything reinstall but nothing,
# Select Start.
# Select Run.
# Type cmd
# In the command window, type the following:
uninstall_flash_player.exe /clean
The answer is: uninstall_flash_player.exe is not recognised
as an internal or external command,
operable program or batch file.
does not work, try million of time, does not work.
Does anybody know why?You are not the first one to notice..................
http://forums.adobe.com/thread/748720?tstart=0
Please do submit a request for it to be changed www.adobe.com/go/wish -
ASP page hang for calling ActiveX bridge!!!
Below are the steps I done
Note: Using jdk1.5.1.
1) It is my java program, i make it as simple program
public class FirstProgram{
public FirstProgram(){
public String getMessage(){
return "hello";
2) My manifest.stub is like this:
Name: FirstProgram.class
Java-Bean: true
3) Then I generate the "FirstProgram.jar" file.
4) Then I register like this
jdk1.5.1\bin\packager -out C:\Program Files\Java\ j2re1.5.1\axbridge\bin -reg FirstProgram.jar FirstProgram
5) I tested this dll with Visual Basic. It works fine.
6) I tested this dll with VB script in ASP.
<%@ Language=VBScript %>
<%
Dim oTest
Set oTest = CreateObject("FirstProgram.Bean.1")
Response.Write oTest.getMessage()
Set oTest = Nothing
%>
or I tried like this
<%@ Language=VBScript %>
<%
Dim oTest
Set oTest = Server.CreateObject("FirstProgram.Bean.1")
Response.Write oTest.getMessage()
Set oTest = Nothing
%>
Page will be be unavaible and i run it again (then IIS will hang and die).
1) How do i solve this problem? Why it is able to run in VB not in asp? Is it because IIS bug?
Note: Windows Server 2003 IIS 6.0/ Windows XP IIS 5.1 ( I have tested it on
these two environments, it gave me same results).
2) I read some forums said we might need to use javareg.exe to register this component. Is it true? Where can I get this component?
Thanks for you help!!!I am having the same problem.
I am running Windows 2003 Server and trying to create the object, but it is hanging. I am running the Sun JRE 1.5.3 ActiveX Bridge.
I have tried both IIS6 and IIS5 Isolation Mode, but neither work. Under IIS5, IIS just hangs.
HELP! -
Uninstalling Adobe Bridge CS6 after installing Adobe Bridge CC
I got all of my Adobe Applications on my MacBook Air through the new Adobe Cloud service. At that time, all of the applications were Adobe CS6. When I saw that Adobe Bridge CC was available, I downloaded it immediately. I had been having problems with Adobe Bridge CS6 working with my Adobe Photoshop CS6. After installing Adobe Bridge CC, I did not find the uninstaller application for Adobe Bridge CS6. I found two copies of the uninstaller for Adobe Bridge CC. Where can I get a copy of the uninstaller for Adobe Bridge CS6 for Mac?
Vizzpat there is no separate uninstaller for Adobe Bridge CS6. Adobe Bridge CS6 is installed by several applications. When those applications have all been removed then Bridge CS6 will be removed as well.
In general you can locate the uninstallers for Mac OS in the Applications/Utilities/Adobe Installers folder. You can also find additional information regarding installing and removing applications at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html. -
I have a new mac. I installed my Bridge CS4 and Photoshop CS4 that I ran on my old mac. When I import RAW pics from my Nikon D90 they come in with the extension of .NEF. Apparently this is not a readable form for Bridge as the picture does not appear. I believe I need a converter to convert .NEF to .dng but I can't find one. Any ideas?
You do not need to convert to DNG.
The NEFs from your camera model have been supported since ACR 4.6 and 5.1.
What you need to do is update your ACR plug-in to version 5.7, the latest and last version for CS4. Right now, you are probably on ACR 5.0, the version supplied with the original release of Photoshop CS4.
Be aware that the Adobe updater is extremely unreliable when it comes to CS5, so that you must do the update manually. There are detailed instructions on the ACR 5.7 plug-in download page. You MUST follow those instructions to the letter.
Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Camera Raw 5.7 update -
I need the solution to install ActiveX controls throught CAB file (Micorsoft Cabinet) for non-admin users. Our solution is working for user accounts with adminstrator rights but not for nonadmin users.
So far we have tried solution given here: http://msdn.microsoft.com/en-us/library/dd433049(v=vs.85).aspx
and here:
http://blogs.msdn.com/b/askie/archive/2012/09/27/guidlines-on-implementing-activex-installer-service-axis.aspx
But we could not succeed. Pls Help !Hi,
Apologize for the late reply and the misunderstanding about the ActiveX download location, we could change the location through the below registries:
Use Registry Editor to change the "ActiveXCache" value to the location you want in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
Use Registry Editor to change the "0" value to the location you want in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache
NOTE: The values you enter in steps 1 and 2 must match.
More information, please check
How to Change the Download Location for ActiveX Files (registries exists in IE11).
Regarding the urls that download the cab files into user profile directory, would you mind to share the URL?
And here is some information regarding inf files:
About INF File Architecture
We may check the value of DestDir, DestDir can be set to 10 to place the file into the \Windows directory or to 11 to place the file into the \Windows\System directory. If no value is specified, the file is placed into the \Cache directory.
Best regards
Michael Shao
TechNet Community Support -
Problems with the ActiveX bridge for Java beans when using third-party .jar
I encountered the following problem when using the ActiveX bridge for a java bean:
I am using JDK 1.4.2_09 and MS Visual Basic 6.0 (SP6). I wrote a java bean called ProcessViewer (my class ProcessViewer inherits from JComponent and implements the interfaces Serializable and AdjustmentListener) which I would like to use within a VB 6.0 application. I used the ActiveX bridge (packager.exe) to generate a DLL (ProcessViewer.dll) and registered it successfully. The java bean GUI-control works fine within my VB 6.0 application unless my java bean (ProcessViewer.jar) uses any third-party .jar files.
But when I tried to add a reference to some third-party class (com.sap.xxx.xxx....) I got some problems. I could solve the problem with packager.exe by setting the correct CLASSPATH. But at runtime my VB 6.0 application does not work. It crashes or it reports an error like this: "The control ... could not be loaded from axbridge.dll" (although I deployed my .jar file correctly to the directory C:\Programme\Java\j2re1.4.2_09\axbridge\bin and lib). Setting the CLASSPATH environment variable before calling my VB 6.0 application (exe) did not solve the problem.
How can I teach my VB 6.0 application (containing the Java bean ActiveX control) where to find the third-party .jar file? Copying the third-party .jar file to the JRE lib-folder or to the axbridge\lib folder did not solve the problem either.
I studied the documentation about the ActiveX bridge given at:
http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
but I am missing informations on how the third-party .jar files can be found during runtime of the ActiveX container (e. g. a VB 6.0 application).See how to solve your problem with JNI:
http://codeproject.com/cpp/OOJNIUse.asp
More examples (for SWING) in tools setup:
http://www.simtel.net/product.php[id]95126[SiteID]simtel.net
http://www.simtel.net/product.php[id]94368[SiteID]simtel.net
http://www.simtel.net/product.php[id]93174[SiteID]simtel.net -
Interfacing problems using the Activex Bridge
I have a bean that's based on a JPanel. I am packaging it and then using it in Visual Basic as an OCX component.
I have to adhere to an interface on the VB side so that the bean will plug into the rest of our product.
I'm hitting several problems, all of which I'm attributing to to the fact that the packager introspects the interface for the typelib instead of asking me what I want to expose and how I want to expose it.
1) Getter/Setter methods for properties which contain additional attributes arent recognised as such.
e.g. for property foo:
public int getFoo() is fine
but
public int getFoo(int extraCriteria) doesn't work.
The packager doesn't recognise it as a valid getter and so doesn't bind it to Foo in the typelib.
NB: I've also tried explicitly binding the methods in the bean's beanInfo, (using PropertyDescriptors), but to no effect.
2) Typelib is only generated for the top level bean so how do I provide a similar interface for any java object that it returns?
Any java objects that I return from methods in my bean cannot be interfaced:
Therefore I have to deal with them all as VB Object and I'm also back to square one with my getFoo instead of "= Foo" problem.
3) The packager arbitrarily listens to, and exposes, any events that my class throws. This includes events that are fired from any of the classes that I'm extending. Therefore I'm getting 20+ events showing up from my JPanel on the VB side, NONE of which I'm interested in. When the packager finds an event firing method it automatically exposes it AND registers the activex bridge as a listener of it. Again this is a case of the packager introspecting instead of asking the programmer what they want to expose...
Basically I need help in either a) solving these specific problems, or b) coming at it from the opposite end and finding a way of getting control over what is exposed to VB. (Although this doesn't help me with problem 2)
Any suggestions?
Cheers
Paul JamesSee inline
>
I have a bean that's based on a JPanel. I am packaging
it and then using it in Visual Basic as an OCX
component.
I have to adhere to an interface on the VB side so
that the bean will plug into the rest of our product.
I'm hitting several problems, all of which I'm
attributing to to the fact that the packager
introspects the interface for the typelib instead of
asking me what I want to expose and how I want to
expose it.Did you make sure that you marked the bean in the jar
correctly? (The manifest.mf must declare the bean as bean
so that the corresponding bean info can be found in the same jar)
>
1) Getter/Setter methods for properties which contain
additional attributes arent recognised as such.
e.g. for property foo:
public int getFoo() is fine
but
public int getFoo(int extraCriteria) doesn't work.
The packager doesn't recognise it as a valid getter
and so doesn't bind it to Foo in the typelib.
NB: I've also tried explicitly binding the methods in
the bean's beanInfo, (using PropertyDescriptors), but
to no effect.That might be a COM restriction? IN that prop get and prop put
have to have a certain signature. If your method is public
and part of the bean info, then you should at least have the method.
(That always worked for me...)
>
2) Typelib is only generated for the top level bean so
how do I provide a similar interface for any java
object that it returns?Run the packager over all additional beans.
>
Any java objects that I return from methods in my bean
cannot be interfaced:
Therefore I have to deal with them all as VB Object
and I'm also back to square one with my getFoo instead
of "= Foo" problem.Once you start with your first bean, all subsequent objects
you receive from your first bean can be analyzed via the
java reflection mechanism on the VB side. Somewhere in the
documentation for the ActiveX Packager, there is sample code
on how to do this (how to get the class, find a method, invoke the
method, create new objects for some other class, pass it to your bean
etc).
>
3) The packager arbitrarily listens to, and exposes,
any events that my class throws. This includes events
that are fired from any of the classes that I'm
extending. Therefore I'm getting 20+ events showing
up from my JPanel on the VB side, NONE of which I'm
interested in. When the packager finds an event
firing method it automatically exposes it AND
registers the activex bridge as a listener of it.
Again this is a case of the packager introspecting
instead of asking the programmer what they want to
expose...The reason is that VB only knows one event interface (
marked as dispinterface). This interface has to contain all
events for the bean. I suppose the packager just goes and
collects all events it finds for the bean, including all the
inherited ones. The bridge has to be registered for all of them,
otherwise no event could pass through.
>
Basically I need help in either a) solving these
specific problems, or b) coming at it from the
opposite end and finding a way of getting control over
what is exposed to VB. (Although this doesn't help me
with problem 2)
Any suggestions?
Cheers
Paul James -
The question above (and below) asks it all I think.:
I have the Photoshop CC/Lightroom CC package.
In Creative Cloud It says Install beside Bridge, instead of Try Me. May I use it?Of course you should use it.
Bridge is an integral part of Photoshop, even though it now acts like a separate application. In its first iterations, Bridge was called simply The Photoshop File Browser. That is all it is, a file browser that shows you what files you have, and which hands your files to the appropriate application, whether that be Photoshop, Camera Raw, Lightroom, Acrobat, Illustrator, InDesign or even MS Word.
Bridge does not open, edit manipulate or save any files. -
How to install activex and flash player
I am good with computer, so I need help to download flash
player and activex.
when i try to download flash player I get error to install
activex
Please help with this issue.
Regards,
nadviSee this cool mp3 xml player with visualization, playlist and
skins. Fully customisable. Vector.
http://flashden.net/item/mp3-xml-strongplayerstrong-with-visualization-and-skins-vectorise d/11851 -
I want to install Photoshop/bridge on a new Mac. Can I transfer these apps from my old mac? Or can I get an update installed on my new Mac?
Do not transfer. Install using installation files. If you need to you can download most older applications thru the following page...
Download and Installation Help -
https://helpx.adobe.com/download-install.html -
I'm looking for some help and advice. I have just bought an Acer Aspire One Windows XP Netbook and would like to install Adobe Bridge onto it so that I can view and organise my RAW images after downloading from the camera whilst away on holiday. I do not want to install Photoshop onto this device due to screen size and anyway the touch up / correction process will give me something to do over the winter months. Is there a way that I can load bridge on it's own as it is normally loaded on as part of the photoshop install. Any help would be grately appreciated
I think you need Photoshop: Camera Raw is a plugin to Photoshop. You can use Bridge to host and run ACR without launching Photoshop. But you will need minimum screen dimensions required by ACR. If your netbook does not offer the required minimum sceen dimensions and you don't need to process your raw images with camera raw, you might consider a standalone browser product just to view and organize the raws (somethimg like Breezebrowser? ... perhaps others can pffer suggestion.
Maybe you are looking for
-
Mac mail not showing jpg attachments after yosemite install
I use Mac Mail and have recently upgraded to Yosemite. Since upgrading I can no longer view jpg images sent by email from my security camera system. They used to be shown within the message, but since the upgrade to Yosemite they're not shown in th
-
I just purchased one of the new aluminum 20" iMacs and I wanted to use it for editing some video. I am concerned about whether FCE will run on it or not. I read some stuff on the internet and I am not sure if it will or not. Something about the graph
-
Warum sind meine Color Swatches verschwunden?
Hallo, in Illustrator habe ich eine Zeichnung mit dem Pencil Tool und meinem Tablett nachgezogen. Dieses Tablett ist entsetzlich unzuverlässig, und clickt ständig wo es garnicht soll. Und mit einem Mal waren meine Linien nicht mehr schwarz, sondern n
-
In my web application, I use session object to carry variables cross pages. After the data is no longer need, I call session.invalidate(); session = request.getSession(true); to invalid the old session and open a new one
-
I just purchased a new Ipad2 Having trouble with activation. What do I do?
I just purchased a new ipad2. I'm unable to activate it. What do I do?