Hi Ian, > ...open a text file in its app.path folder but it is > crashing saying it can't find the file, even though > it is actually there. The exe sits in C:\Program > Files\xyz ...
Does the user account have access to that folder? On a tightly locked-down system (for example, one with XP SP2 installed), you will experience problems reading files outside of 'user data' folders (like appdata and mydocs). Another potential reason is that the user has a virus or 'security tool' installed that functions as a stub under hkcr/exefile/... intercepting all exe and com calls, and running them in it's own namespace. This would effectively make app.path the path of the current environment owned by the stub application. (which might be c:\) Regards, Shawn K. Hall http://ReliableAnswers.com/ '// ======================================================== "The radical of one century is the conservative of the next. The radical invents the views. When he has worn them out the conservative adopts them." -- Mark Twain ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [EMAIL PROTECTED] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
