Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   Managed DirectX (http://www.xtremevbtalk.com/managed-directx/)
-   -   Link Java with Visual Basic (http://www.xtremevbtalk.com/managed-directx/319625-link-java-visual-basic.html)

graemeian 12-17-2010 07:03 AM

Link Java with Visual Basic
 
I have an application where I need to superimpose numerous pictures with a CAD drawing. There exists a Java source code that will upload the picture to screen. Is there a way to convert the Java subroutines into drivers for VB? Is this an efficient method? Is VB the way to go or should I bite the bullet and use another language? Thank you.

Qua 12-17-2010 08:59 AM

Upload the picture to the screen?

You can't call java methods from any other language. If the method returns a stream of bytes (that is the picture) then you might be able to expose it through a web service, but it will be quite the tangled solution. I think biting the bullet and writing your solution in Java as well would be the best solution (and recommend everyone to stop writing new solutions in Java so it can go extinct ASAP;)).

AtmaWeapon 12-17-2010 10:02 AM

There's commercial solutions, but nothing free that I've seen. If you've got the Java source it shouldn't be too hard to write VB .NET based off it so long as it's not using third-party libraries you *don't* have the source for. Maybe you should link to the Java source if you're able and someone could tell you if it looks impossible.

graemeian 12-17-2010 05:25 PM

Thank you.


All times are GMT -6. The time now is 03:58 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.