Solved

Calling Java Apps from VB

Posted on 1998-06-23
2
133 Views
Last Modified: 2010-05-03
Ok VBlings,
From a standard EXE I would like to call (Shell) a Java Application.
Now, if you have seen Java Applications work before, they must be called by the command
line...
jview myapp.class
Thats to my knowledge at least and in this case, this is how it works. (myapp.class)

Please feel free to comment or even answer the question if you have a good method in
calling (shelling) a Java Application.

Remember, I am NOT talking of Java Applets, so please no answers or comments for using the
Web Browser Control.

Thank you.
0
Comment
Question by:idcvbteam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
clifABB earned 100 total points
ID: 1464102
Shelled applications are called just like you would call it from the command line.

So, in your example, the line which would shell to your Java app would look like this:
RetVal = Shell("jview myapp.class")
RetVal will contain the task id of the shelled app.

As a note, unless jview and/or myapp.class are in your path, you may have to specify the path.
0
 

Author Comment

by:idcvbteam
ID: 1464103
Just that simple.
What a waste of valuable points!
Nothing personal. : )


0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question