Questions tagged [open-with]

Most operating systems have an option when browsing the filesystem to open a specific file with an application that the user chooses. Of course, this means sending arguments to a program in one way or another, and that the programmer must add some way of recognizing these arguments and using them to process the data.

102 questions
0
votes
1 answer

Writing an App for OS X that allows users to select app with Contextual Menu item "Open With"

I have a Multimedia App that is for Mac OS X using Xcode. The languages used are Objective-C, C++ and C. I want to somehow get my app in the "Open With" contextual menu without having the user do anything. I don't want to "take over" the default…
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
0
votes
1 answer

Open an XML with a QTReport.exe

I am writing a Javascript code. In which I have to open an XML file with QTReport.exe. QTReport.exe is made up of to read the xml file and to show the QTP execution results. I am able to do the following in windows explorer. I did, right click on an…
0
votes
1 answer

Convert NSData into Default MIME type

I have NSData received from server for which i don't know the MIME type. Now i want to convert the NSData into any file like Image/Pdf without knowing the MIME/extension of that file and i want to open that file in iPad. So i want to convert my…
Sasi
  • 1,666
  • 2
  • 24
  • 44
0
votes
1 answer

Using "open with" doesn't opens file in my application

I have OpenFileFialog realized in my Windows Forms application, but when I use Open With in file context menu, or add my item in context menu with command like "myapp.exe %1" it just opens application. Need I to do anything else to realize it?
lenden
  • 800
  • 2
  • 14
  • 38
0
votes
5 answers

How to make Eclipse as a Default Editor FOREVER in Mac OS-X?

The way with Get Info > Open with > Change All bla .. bla .. bla .. doesn't work actually. When i set these way for a type .php (for example), it always open with XCode next time. I've set File Association inside Eclipse already. But whatever, it…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
-1
votes
1 answer

How do I get 'open with vs code' option in MacBook?

I tried it various times by reinstalling it but there is no option as 'open with vs code' after installing it.
lulu26
  • 1
-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
-2
votes
1 answer

When a file is "opened with" a winforms application how do I get the application to use that file's directory?

I am able to set my .mdb files to "open with" my winforms application, but that only opens the winforms application without loading the file. Is there any event that is triggered upon opening the application through a file that will allow me to grab…
DED
  • 391
  • 2
  • 12
-2
votes
1 answer

How do you get files used with "Open With" on Mac in Java?

I've compiled my Java program into the Mac's .app format using the javapackager command. How do I get the files that a user will open my program with using the system's "Open With" context menu command? For example, if I had a file MyFile.txt on the…
William
  • 11
  • 4
-3
votes
1 answer

Display "open with" dialog again in Android

I have an Android app with intent filter for "http". After install the user get "open with" dialog when he press a url in the browser. My question is: If the user chose by mistake "open with x always" and he wants to change his selection to open the…
-3
votes
1 answer

can i make my app (open with) windows menu with java (need examples)

i need some example to make my app as default text editor in java (i mean when I open the text file opens with my program) How can I do that with Java ??
Ahmed Hatem
  • 21
  • 2
  • 5
-11
votes
1 answer

c++ "Open with"

I am trying to write a simple text editor compatible with the "Open with" menu you get when right clicking on a text file (meaning I want my program to be able to read the contents of a text file I right-clicked and opened with my program). A friend…
zomnombom
  • 986
  • 2
  • 9
  • 15
1 2 3 4 5 6
7