I am trying to revive an old Java application that I wrote several years ago.
It used Microsoft's java VM (jview) at the time. The app is a 3 tier
application.
The client stuff is just java and I can get it to run in SUN's current java.
There is a custom protocol that moves the data from the client to the server
(RMI didn't exist then).

The Server App, on the other hand, used com interfaces to access and control
MS Access, Visio, and PowerPoint.

Basically, a user creates an interactive specialty drawing on the client and
all that the info gets transferred to the Server app and saved into the MS
Access DB. The user can request (from the Client) that a drawing be printed
out from Visio or PowerPoint (on the Server). The Server App reads the data
stored in the MS Access DB and "draws" the drawing in either Visio or
PointPont and then prints it out.

So, my current problems is:
1) Microsoft doesn't do java anymore (no more jview and jvm).
2) I need modern com interfaces (from java) to control modern MS Access,
Visio, and PowerPoint.

The old java classes I used were:
dao350, jconfigdserveractivex, msacc8, mso97, msppt8, msrdo20, stdole2,
vaoutils, vbeext1, ven2232, vishlink, vishtmlo, vislib32

I can't seem to find these interfaces to the modern version of the apps I
need.
I think there might have been something built into the old MS JVM that
allowed these to work.... not sure.

Do these interfaces (actually a more modern current form of them) exist for
SUN java?
Can any of the (modern versions) of the 3 apps be controlled(driven) from
java as it exists today?

Re: Calling office COM interfaces from java code by Buckland

Buckland
Tue Mar 25 19:56:20 PDT 2008

Hi Anand,

You may want to check in the Source Forge discussion groups on this or the MS Java SDK group through the link below.
=========
<<"Anand" <Anand@discussions.microsoft.com> wrote in message news:868D4552-35FE-4F72-BDC5-3EE04D933921@microsoft.com...
I am trying to revive an old Java application that I wrote several years ago.
It used Microsoft's java VM (jview) at the time. The app is a 3 tier
application.
The client stuff is just java and I can get it to run in SUN's current java.
There is a custom protocol that moves the data from the client to the server
(RMI didn't exist then).

The Server App, on the other hand, used com interfaces to access and control
MS Access, Visio, and PowerPoint.

Basically, a user creates an interactive specialty drawing on the client and
all that the info gets transferred to the Server app and saved into the MS
Access DB. The user can request (from the Client) that a drawing be printed
out from Visio or PowerPoint (on the Server). The Server App reads the data
stored in the MS Access DB and "draws" the drawing in either Visio or
PointPont and then prints it out.

So, my current problems is:
1) Microsoft doesn't do java anymore (no more jview and jvm).
2) I need modern com interfaces (from java) to control modern MS Access,
Visio, and PowerPoint.

The old java classes I used were:
dao350, jconfigdserveractivex, msacc8, mso97, msppt8, msrdo20, stdole2,
vaoutils, vbeext1, ven2232, vishlink, vishtmlo, vislib32

I can't seem to find these interfaces to the modern version of the apps I
need.
I think there might have been something built into the old MS JVM that
allowed these to work.... not sure.

Do these interfaces (actually a more modern current form of them) exist for
SUN java?
Can any of the (modern versions) of the 3 apps be controlled(driven) from
java as it exists today?>>
--
Please let us know if this has helped,

Bob Buckland ?:-)
MS Office System Products MVP

>>*Courtesy is not expensive and can pay big dividends<<

LINKS
A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsoft.public.java.sdk
or via browser:
http://microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.java.sdk

B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com






Re: Calling office COM interfaces from java code by Anand

Anand
Wed Mar 26 22:18:00 PDT 2008

Thanks for suggesting the other links. I will try those.

"Bob Buckland ?:-)" wrote:

> Hi Anand,
>
> You may want to check in the Source Forge discussion groups on this or the MS Java SDK group through the link below.
> =========
> <<"Anand" <Anand@discussions.microsoft.com> wrote in message news:868D4552-35FE-4F72-BDC5-3EE04D933921@microsoft.com...
> I am trying to revive an old Java application that I wrote several years ago.
> It used Microsoft's java VM (jview) at the time. The app is a 3 tier
> application.
> The client stuff is just java and I can get it to run in SUN's current java.
> There is a custom protocol that moves the data from the client to the server
> (RMI didn't exist then).
>
> The Server App, on the other hand, used com interfaces to access and control
> MS Access, Visio, and PowerPoint.
>
> Basically, a user creates an interactive specialty drawing on the client and
> all that the info gets transferred to the Server app and saved into the MS
> Access DB. The user can request (from the Client) that a drawing be printed
> out from Visio or PowerPoint (on the Server). The Server App reads the data
> stored in the MS Access DB and "draws" the drawing in either Visio or
> PointPont and then prints it out.
>
> So, my current problems is:
> 1) Microsoft doesn't do java anymore (no more jview and jvm).
> 2) I need modern com interfaces (from java) to control modern MS Access,
> Visio, and PowerPoint.
>
> The old java classes I used were:
> dao350, jconfigdserveractivex, msacc8, mso97, msppt8, msrdo20, stdole2,
> vaoutils, vbeext1, ven2232, vishlink, vishtmlo, vislib32
>
> I can't seem to find these interfaces to the modern version of the apps I
> need.
> I think there might have been something built into the old MS JVM that
> allowed these to work.... not sure.
>
> Do these interfaces (actually a more modern current form of them) exist for
> SUN java?
> Can any of the (modern versions) of the 3 apps be controlled(driven) from
> java as it exists today?>>
> --
> Please let us know if this has helped,
>
> Bob Buckland ?:-)
> MS Office System Products MVP
>
> >>*Courtesy is not expensive and can pay big dividends<<
>
> LINKS
> A. Specific newsgroup/discussion group mentioned in this message:
> news://msnews.microsoft.com/microsoft.public.java.sdk
> or via browser:
> http://microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.java.sdk
>
> B. MS Office Community discussion/newsgroups via Web Browser
> http://microsoft.com/office/community/en-us/default.mspx
> or
> Microsoft hosted newsgroups via Outlook Express/newsreader
> news://msnews.microsoft.com
>
>
>
>
>
>