Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

I cannot get files to open my application unless they are in the same folder

$
0
0

I am trying to open up my application with a file (I know how to associate a file to the app!) but for some reason the file has to be in the same folder as the exe file! I know that I have made this work before with another application. For some reason I cannot get it to work this time. Is there some kind of setting that allows the application to be opened regardless of where the associated file is located?

I hope that I have described the situation adequately. If more information is required then I am happy to expand upon what I have said. I have all the code working properly - the file will open up the app and the filepath is received and processed fine. It just will not open the app unless it is in the same folder.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>