Here's a thought, does anyone know how you would go about writing a program ( maybe with vb ) that could start up the current system's JVM and run a java application?
Printable View
Here's a thought, does anyone know how you would go about writing a program ( maybe with vb ) that could start up the current system's JVM and run a java application?
VB Code:
Call Shell("java.exe SomeClass",vbNormalFocus)
:)
Why require the VB runtimes when you can write a C app?
Code:#include <windows.h>
int WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
ShellExecuteA(NULL, "open", "java.exe", "YourClassName",
NULL, SW_SHOWNORMAL);
}
That will work too... I was just looking for a way for it to work. So, do I understand correctly that you need VB runtime files installed on your computer to run a .exe made in VB nomatter how simple it is??
yeah
Oh *****, *****, *****...Quote:
Originally posted by CornedBee
Why require the VB runtimes when you can write a C app?
Code:#include <windows.h>
int WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
ShellExecuteA(NULL, "open", "java.exe", "YourClassName",
NULL, SW_SHOWNORMAL);
}
:)
Huh?