File associations and ClickOnce Application Reference files
-
When I publish my C# application using Visual Studio Express, and install it, it creates a ClickOnce Application Reference file on the desktop and in the Start Menu instead of just a normal .EXE file - and this is screwing up my File Associations. Could someone kindly suggest how I could have txt files etc opened in my application when dealing with Application Reference files? Thank you
-
When I publish my C# application using Visual Studio Express, and install it, it creates a ClickOnce Application Reference file on the desktop and in the Start Menu instead of just a normal .EXE file - and this is screwing up my File Associations. Could someone kindly suggest how I could have txt files etc opened in my application when dealing with Application Reference files? Thank you
The real .exe file will be stored somewhere in the user's AppData folder (I think). Why not have the associations set on first startup of the program? You could have your software enter the details in to the registry (note: potential permissions/UAC problem) as it will know exactly where it is.
My Blog: This Blog
-
The real .exe file will be stored somewhere in the user's AppData folder (I think). Why not have the associations set on first startup of the program? You could have your software enter the details in to the registry (note: potential permissions/UAC problem) as it will know exactly where it is.
My Blog: This Blog
Thank you - I have searched my entire hard drive in every possible place that there would be an executable file but have not found any. I even checked the AppData folder. Nothing at all. Just a bunch of ClickOnce Application Reference icons. I also tried setting registry info for the associations on startup and it has been unsuccessful. I don't get any errors at all... It just doesn't work. I've also (originally) tried using the File Association dialog that's inside the Publish page where you publish the project and entered ProgID info and icons etc and that approach hasn't worked either. But, funny thing... The custom Icons I used in the File Association dialog in VS are showing up on the files... My app just isn't loading the content of the files that are being double-clicked.