Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24010
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2013-05-11 11:45 -0700 |
| References | <825e44b1-bf36-4dfc-9d90-df4beffb7f7b@googlegroups.com> <518e74ad$0$32105$14726298@news.sunsite.dk> |
| Message-ID | <76b69dc2-d1cc-4095-b4a1-e44a1eabda96@googlegroups.com> (permalink) |
| Subject | Re: Using JAVA inside VBA |
| From | Ghislain <gbenrais@gmail.com> |
Le samedi 11 mai 2013 18:41:16 UTC+2, Arne Vajhøj a écrit :
> On 5/11/2013 12:31 PM, Ghislain wrote:
>
> > I have a compiled commercial jar that I want to use in VBA, something like :
>
> > Dim javaob As Object
>
> > Set javaob = CreateObject("MyJavaAPIObject")
>
> > result = javaob.doSomething()
>
> >
>
> > Unforunately, I can't convert the API to a COM object. As far as I know, it was possible 10 years ago but it is no longer possible unless you use commercial products (like EZJCom).
>
> >
>
> > Do you have any ideas ?
>
>
>
> 12-15 years ago wrapping Java beans as COM objects was hot.
>
>
>
> Not any more.
>
>
>
> But try and see if something like:
>
>
>
> http://www.rgagnon.com/javadetails/java-0045.html
>
>
>
> still works.
>
>
>
> Arne
Thanks Arne but I had tried it already and the packager used is not working anymore. I think the article was written by the time it worked (a long time ago)
Ghislain
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using JAVA inside VBA Ghislain <gbenrais@gmail.com> - 2013-05-11 09:31 -0700
Re: Using JAVA inside VBA Arne Vajhøj <arne@vajhoej.dk> - 2013-05-11 12:41 -0400
Re: Using JAVA inside VBA Ghislain <gbenrais@gmail.com> - 2013-05-11 11:45 -0700
Re: Using JAVA inside VBA Real Gagnon <usenet@videotron.ca> - 2013-05-12 22:52 +0000
Re: Using JAVA inside VBA Arne Vajhøj <arne@vajhoej.dk> - 2013-05-12 20:28 -0400
Re: Using JAVA inside VBA Ghislain <gbenrais@gmail.com> - 2013-05-13 01:43 -0700
Re: Using JAVA inside VBA "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-05-12 10:02 +0100
Re: Using JAVA inside VBA Ghislain <gbenrais@gmail.com> - 2013-05-12 06:55 -0700
Re: Using JAVA inside VBA Arne Vajhøj <arne@vajhoej.dk> - 2013-05-12 20:31 -0400
csiph-web