I was looking for that just a few days ago.
Thanks!
Thanks!
| People often encounter problems when they make their final executables, and start them from a shortcut on the desktop or similar. This will solve those problems! Add it as the first thing in your code, and you're home free. |
; Path to executable Global apppath$ = SystemProperty$("appdir") If Lower$(Right$(apppath$,4))="bin\" ; Running from the IDE apppath$ = CurrentDir$() End If If Right$(apppath,1)<>"\" Then apppath = apppath+"\" ChangeDir(apppath) |