Dear visitor, welcome to Jabaco - Community.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
App.Path error?
Hi there,
I am getting some error when I am trying to use App.Path function.
Please give me some advice!
Best regards,
Viktor
I think it will be a good replacement for VB6 after a little improvements and minor bug fixes...
Hi Viktor,
you seem to re-discover many of the pitfalls which have been discovered before.
Please use the search facility of this forum.
Manuel is aware of these shortcomings, but his to-do list is too long to get them resolved over night.
App.Path works for *.exe binaries but fails for *.jar and for IDE program executions.
Greetings
A1880
Hi A1880,
you seem to re-discover many of the pitfalls which have been discovered before.
I did not aware of that!
Please use the search facility of this forum.
I searched for App.Path but nothing shows up!
App.Path works for *.exe binaries but fails for *.jar and for IDE program executions.
And this is a good explanation, thanks!
Best regards,
Viktor
I think it will be a good replacement for VB6 after a little improvements and minor bug fixes...
App.Path = System.getProperty("user.dir")
Hi,
System.getProperty("user.dir")
delivers the path where the exe or jar resides. (with JDK: 1.6.0_18 now always and for ever I hope)
JDK: 1.6.0_18
I searched for App.Path but nothing shows up
try:
AppPath
(w/o ".")
regards
OlimilO
Hi OlimilO,
try: AppPath
(w/o ".")
Thanks for the tip and for the rest!
Best regards,
Viktor
I think it will be a good replacement for VB6 after a little improvements and minor bug fixes...