app.path usage points to system32 instead of the actual start location

  • Thread starter Thread starter Shandelby
  • Start date Start date
S

Shandelby

Guest
VB6 programming. In the past I have relied on the usage of app.path to identify the actual location of the directory in which my program starts. Now, I find that app.path is pointing to somewhere in windows system 32. Why is this happening and how can I return app.path usage to what I expect it to be? In explanation, if my program 'prog.exe' exists in location c:\users\dan\mystuff and the code of my program reads 'fileloc = app.path' then I expect the contents of fileloc to read "c:\users\dan\mystuff" instead of somewhere in windows system 32. Thanks in advance for any possible clue to solving this problem. My e-mail name is shandelby@gmail.com

Continue reading...
 
Back
Top