Solved

Calling Java Apps from VB

Posted on 1998-06-23
2
130 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now