Questions tagged [file-association]

A file association associates a file with an application capable of opening that file. More commonly, a file association associates a class of files (usually determined by their filename extension, such as .txt) with a corresponding application.

413 questions
-1
votes
2 answers

Folder of running application

I have problem with my C# app, when is opened via file association, it works in file directory. For example, when I create copy of opened file: File.Copy("C:\Photo\car.jpg", ".\car2.jpg"); // this is only ilustration code. It makes new file…
Jakub Čermoch
  • 431
  • 1
  • 9
  • 20
-1
votes
1 answer

How to open files with differnet application having the same extension

How does Windows determine the application to start when I double-click on an associated file? I installed Visual Studio 2013 on my PC and converted an existing solution from version 2008 to 2013. Interesting, when I double click on a solution in…
Wernfried Domscheit
  • 54,457
  • 9
  • 76
  • 110
-1
votes
1 answer

Cannot set File association with my program under development

Windows 7 - I can't associate the executable I'm programming to the file type it create. I'm using (2 ways) to get the "Open with dialog": 1 ------------------- Control Panel - Default Programs - Associate a file type or protocol with a program I…
Eric Ouellet
  • 10,996
  • 11
  • 84
  • 119
-1
votes
1 answer

Trying to open a file with Eclipe - eclipse.exe isn't added to the Open With: window

Thoughts on fixing this? I'm trying to open my .project file for a homework assignment and the Open With: program (?) doesn't seem to be detecting Eclipse at all. It works perfectly fine on my laptop, but I use my desktop as my main machine and thus…
relapsn
  • 85
  • 7
-2
votes
1 answer

Default Program Won't Open File

I've written a program in C# that creates and opens files in a proprietary file format. I created the installer using InstallShield Express. The files are created and show up with the appropriate file icon that I have assigned to them. The files…
user2272380
  • 103
  • 1
  • 2
  • 13
-3
votes
2 answers

Make C++ program receive file as parameter

What I want to do is a program like notepad. I want that all the ".txt" files, when I double click on them, open with my program instead of notepad. But I don't have any clue how to do this. So, in resume, I want: Make my program predeterminate for…
-4
votes
2 answers

Associating file types with program and saving files with extensions other than .java

For my program I have 2 questions: The program I am creating will act like MS Office. How do I associate Word, Excel, and PowerPoint files with my program? My program lets the user use a lot of code associated with Java (JPanel). Is there any other…
-5
votes
1 answer

How to maintain a file association when calling a program from a batch file?

Is there a way to maintain the original file association when running a program from a batch file? I created a batch file that calls a Windows program and performs some file maintenance. I changed the file association to the batch file. When I…
ginahoy
  • 1
  • 1
1 2 3
27
28