Choosing installation file location

H

Herfried K. Wagner [MVP]

* "Fergus Cooney said:
Someone did say that and then some other guy** proved that
Application.StartupPath was fine even with a changed Shortcut.

ACK. I was not able to repro the problem on my Windows XP machine too,
but someone was talking about Windows 98 or something else.
In my view, Application.StartupPath is ambiguous, for it implies the
initial <working directory> but actually means the source directory of the
application <executable>.

Which poses the question - how to determine the initial working directory?
And I guess this would be CurDir or some such.
'Environment.CurrentDirectory'...

I didn't get his name but his initials were HKW ;-)

;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top