G
Guest
I'm trying to write some code to run a .jar file when a button is clicked on
a form but I'm having some problems. I tried using the Shell() command but
no luck. Here's what I tried:
Private Sub Command0_Click()
Shell ("java -jar C:\jarfilename.jar")
End Sub
When I click on the button on the form, nothing opens. Can the Shell()
command be used in this case or is there something else I can use?
Thanks.
a form but I'm having some problems. I tried using the Shell() command but
no luck. Here's what I tried:
Private Sub Command0_Click()
Shell ("java -jar C:\jarfilename.jar")
End Sub
When I click on the button on the form, nothing opens. Can the Shell()
command be used in this case or is there something else I can use?
Thanks.