Solved

Calling Java Apps from VB

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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

809 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