Sagewire Logo

JAVA calling C# or VBA (MS Office API) ?

7 Message(s) by 6 Author(s) originally posted in java api


From: Oleg Konovalov Date:   Wednesday, June 02, 2004
Hi,

I am writing a JAVA application which among many other things
has to call some Microsoft Office [PowerPoint] internal methods,
which only seems to be possible from either VBA or C#.

Can anybody suggest a way of JAVA calling VBA or C# ?

I do know how to call an executable from JAVA
or JAVA interface with C/C++ through JNI .Thank you in advance,
Oleg.

P.S.: If you know how to call PowerPoint from JAVA or VC++,
please speak out too.


From: JavaJug Date:   Thursday, June 03, 2004
wrote in message:

Hi,
I am writing a JAVA application which among many other things
has to call some Microsoft Office [PowerPoint] internal methods,
which only seems to be possible from either VBA or C#.
Can anybody suggest a way of JAVA calling VBA or C# ?
I do know how to call an executable from JAVA
or JAVA interface with C/C++ through JNI.
Thank you in advance,
Oleg.
P.S.: If you know how to call PowerPoint from JAVA or VC++,
please speak out too.



I'm not an expert, but I think that CORBA is usefull for such things.
That's what told my CORBA teacher...
Good luck !

Xav


From: Liz Date:   Thursday, June 03, 2004
Hi,
I am writing a JAVA application which among many other things
has to call some Microsoft Office [PowerPoint] internal methods,
which only seems to be possible from either VBA or C#.
Can anybody suggest a way of JAVA calling VBA or C# ?
I do know how to call an executable from JAVA
or JAVA interface with C/C++ through JNI.



If the 'vba', 'c#', 'c' or 'c++' is made into a '.dll' just
follow the tutorial information at the Sun web site.

Thank you in advance,
Oleg.
P.S.: If you know how to call PowerPoint from JAVA or VC++,
please speak out too.


>


From: Stefan Poehn Date:   Friday, June 04, 2004
"Liz" <Liz@xxxxxxxxxxx> schrieb im Newsbeitrag

> Hi,
>
> I am writing a JAVA application which among many other things
> has to call some Microsoft Office [PowerPoint] internal methods,
> which only seems to be possible from either VBA or C#.
>
> Can anybody suggest a way of JAVA calling VBA or C# ?
>
> I do know how to call an executable from JAVA
> or JAVA interface with C/C++ through JNI.
>
If the 'vba', 'c#', 'c' or 'c++' is made into a '.dll' just
follow the tutorial information at the Sun web site.



Or use a JAVA-com-bridge like JIntegra (commercial, but not very expensive,
http://j-integra.intrinsyc.com/). There is also a open source-like licensed
JAVA-com-bridge http://danadler.com/jacob/. I have worked with Jintegra and am
very happy with it.

I think there are still more JAVA-com-bridges, do a web search on "JAVA com
bridge".

Regards
Stefan


From: Oleg Konovalov Date:   Friday, June 04, 2004
Liz,

Could you please post a link to the document on Sun's site ?

Thank you,
Oleg.

wrote in message:

> Hi,
>
> I am writing a JAVA application which among many other things
> has to call some Microsoft Office [PowerPoint] internal methods,
> which only seems to be possible from either VBA or C#.
>
> Can anybody suggest a way of JAVA calling VBA or C# ?
>
> I do know how to call an executable from JAVA
> or JAVA interface with C/C++ through JNI.
>
If the 'vba', 'c#', 'c' or 'c++' is made into a '.dll' just
follow the tutorial information at the Sun web site.
>
> Thank you in advance,
> Oleg.
>
> P.S.: If you know how to call PowerPoint from JAVA or VC++,
> please speak out too.
>
>






From: Oleg Konovalov Date:   Friday, June 04, 2004
JAVAJug,

I've done a lot of JAVA-CORBA-C++ development before
and wouldn't recommend that option unless you go from JAVA to C++
over the network, use JNI for that. Too much overhead and very hard to
debug.

In my case they live on same machine, so the only reason I am doing that
is because Microsoft does not give any access to Office API (application programming interface)through JAVA
(that Sun-Microsoft wars over JAVA).

Thank you,
Oleg.

wrote in message:

wrote in message:
> Hi,
>
> I am writing a JAVA application which among many other things
> has to call some Microsoft Office [PowerPoint] internal methods,
> which only seems to be possible from either VBA or C#.
>
> Can anybody suggest a way of JAVA calling VBA or C# ?
>
> I do know how to call an executable from JAVA
> or JAVA interface with C/C++ through JNI.
>
>
> Thank you in advance,
> Oleg.
>
> P.S.: If you know how to call PowerPoint from JAVA or VC++,
> please speak out too.
>
>
I'm not an expert, but I think that CORBA is usefull for such things.
That's what told my CORBA teacher...
Good luck !
Xav





From: Andrew Thompson Date:   Friday, June 04, 2004
wrote in message:

(that Sun-Microsoft wars over JAVA).



They are supposed to be over.
<http://www.physci.org/jvmclean.jsp>
('recent' news near top of page)

Maybe if you ask Microsoft again, nicely... ;-)

F'Ups set to c.l.j.programmer, as it
was one of only two of the five groups
to which this was cross-posted that is
actually a valid group.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology



Next Message: JAVA.util.Logger prints message twice


Blogs related to JAVA calling C# or VBA (MS Office API) ?

Developer Tools
Java Language Conversion Assistant is a tool that automatically converts existing ... You can now use the Win32 Speech API (SAPI) to develop speech applications with Visual ... Office 2003 Editions: PowerPoint VBA Language Reference ...

A COLLECTION OF ARTICLES ON VB.NET
NET and Java and the end result was a particular application developed using . ... NET can gain high-speed access to MS SQL Server, Oracle, DB2, ... The initial version consisted of a designer, the Crystal Reports API and the Crystal ...

How Microsoft Lost the API War
It can be with reference counting or garbage collection; it can be Java, Lisp, ... Often I've written the same code, once in C++ calling the Windows API and once in ... But the idea of unifying the mess of Visual Basic and Windows API ...

blow boy giving job story 6 elm nightmare picture street chinese ...
application game game java nature theme wallpaper wallpaper rental in rocky point mexico ... insufficient system resource exist to complete the api safe system ... ms office font density new orleans population security officer patch ...

Eike Rathke: About OpenDocument Formula Specification (OpenFormula ...
A macro (OOoBasic as well as VBA) can do almost everything with current users ... configure --without-java is given#i68622# - udk: Listening for Writer document ... with different sortings are differently ordered in MS Office and ...

Dosya uzantılarının manaları
API Application Program Interface file; used by Adobe Acrobat ... JAR Java ARchive file (a compressed file for applets and related files) JAVA Java source code ... XLV Microsoft Excel VBA module XLW Microsoft Excel workbook / workspace ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional