Thanks very much Jan, I knew it had to be simple.
Peter.
>Peter Hibbs <peter.hibbs@btinternet.com.NO_SPAM>'s wild
>thoughts were released on Mon, 16 Jun 2008 14:18:01 +0100
[quoted text clipped - 4 lines]
>
>app.path
That's not quite true Jan. That's the directory where the *.vbp or *.exe
file came from. Although the question might have been ambiguous, the current
working directory (i.e. where files are read and written by default) would
be returned by CurDir()
Tony Proctor
> Peter Hibbs <peter.hibbs@btinternet.com.NO_SPAM>'s wild
> thoughts were released on Mon, 16 Jun 2008 14:18:01 +0100
[quoted text clipped - 9 lines]
>
> https://mvp.support.microsoft.com/profile/Jan.Hyde
Peter Hibbs - 19 Jun 2008 20:01 GMT
Tony,
The app.path was what I wanted, i.e. the folder in which the app is
sitting. Using 'current folder' in the Subject line perhaps was a bit
misleading. Thought I would just clarify and thanks for your response.
Peter Hibbs.
>That's not quite true Jan. That's the directory where the *.vbp or *.exe
>file came from. Although the question might have been ambiguous, the current
[quoted text clipped - 16 lines]
>>
>> https://mvp.support.microsoft.com/profile/Jan.Hyde
Tony Proctor - 20 Jun 2008 08:46 GMT
Thanks for the update Peter. I did wonder whether that's what you really
meant, and I knew Jan knows the difference. However, I decided to reply
mostly for the benefit of the newsgroup archives
Tony Proctor
> Tony,
>
[quoted text clipped - 25 lines]
>>>
>>> https://mvp.support.microsoft.com/profile/Jan.Hyde
Jan Hyde (VB MVP) - 20 Jun 2008 09:09 GMT
"Tony Proctor"
<tony_proctor@aimtechnology_NoMoreSPAM_.com>'s wild thoughts
were released on Thu, 19 Jun 2008 15:46:59 +0100 bearing the
following fruit:
>That's not quite true Jan. That's the directory where the *.vbp or *.exe
>file came from. Although the question might have been ambiguous, the current
>working directory (i.e. where files are read and written by default) would
>be returned by CurDir()
The OP asked for the directory where the exe resides. I
didn't see anything ambiguous. Not that it matters, the
extra information may prove useful anyway.
J
> Tony Proctor
>
[quoted text clipped - 11 lines]
>>
>> https://mvp.support.microsoft.com/profile/Jan.Hyde
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde