
Finding the current programs path and filename
Quote:
> I am writing a program that needs to be able to refer back to the itself.
> So I need the path and the filename. I don't want to use CurDir and I
> don't want assume the filename is the same one I originally gave it. Is
> there an API call?
> Thanks,
> Jacob
If Right$(App.Path,1)="\" Then
strMe=App.Path & App.EXEName & ".EXE"
Else
strMe=App.Path & "\" & App.EXEName & ".EXE"
End If
--
Please reply through the newsgroup. The reply e-mail
address is garbage to reduce the spam rate.