• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Java and MS Office

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

In the application (JSF) i want to develop i need to do a lot of MS-Office stuff. From my point of view it would be easy to do this in Visual Studio or C#.
Is there a possibility for Java to talk to Vb and get an answer back (for ex. I'm ready or an exception)?

I've found something for Outlook. But i still need a solution for Word and Excel
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Old versions of BSF (2.2 and 2.3rc1) used to include a VBScript connector. That would allow you to run scripts (and pass parameters back and forth). At a quick glance, those versions seem to be gone from the download area, and even from the archive, though. Maybe the BSF folks can still provide you with a version.

Or is it actually COM objects/DLLs you are trying to talk to? In that case, a library like Jacob can take the pain out of using JNI to do this.
[ September 06, 2007: Message edited by: Ulf Dittmer ]
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For excel, you can use POI
Apple Man
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Apple Man", please check your private messages. You can see them by clicking My Profile.
 
Martin Krueger
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

thank's for your help. i think i will have a look at jacob.
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic