Please advice
I compiled the following VB6 code ( as --> file --> make project.exe )
But when I run it I get a very strange thing ( I have WIN XP machine )
In spite I defined to run this line:
"java -jar run.jar"
under
C:\Program Files\APP\SW_TOP\Java by chDir
msgBox print diff PATH:
D:\Documents and Settings\Eytan\Desktop
please advice why?
Why chDir not change the directory in my VB6 Code – what's wrong?
VB6 Code:
Private Sub Command_Click()
ChDir ("C:\Program Files\APP\SW_TOP\Java ")
Shell Environ("COMSPEC") & " /c java -jar run.jar", vbNormalFocus
MsgBox App.Path
End Sub
Please advice if there are some other alternative in order to run the "java -jar run.jar" under
C:\Program Files\APP\SW_TOP\Java