Solved

Calling Java Apps from VB

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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.
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 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…

746 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

9 Experts available now in Live!

Get 1:1 Help Now