Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can/How do I pass a parameter to a JAVA class?
Message
 
 
To
17/12/2002 05:49:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733576
Message ID:
00733979
Views:
15
Paul,

I don't have any sample code handy at the moment, but your main in the Java code can accept command line arguments. You should be able to find it in the Java docs.

I find that ShellExecute, is just a whole lot easier to use than the old RUN command:

ShellExecute( 0, "open", "java", "yourclass.java your args", "", 1 )


>I'm doing some tinkering with Java at the moment and would like to know how ( if? ) I can pass a parameter to a Java.class file from VFP?
>At the moment I call the file with the RUN command.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform