Solved

Calling Java Apps from VB

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS expression Issue finding a string 10 89
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 54
Passing a Text Box name to a Sub 6 99
Collapse and expand table in Word 2010 2 31
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

808 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