open-with

Name program in the Open With… context menu

孤街醉人 提交于 2020-08-06 11:12:21
问题 How can I customize the name of the program visible in the Open With... context menu in Windows XP and 7? For example: I have 3 versions of a product named XYZ installed on Windows; .x files are associated to xyz.exe (COM registration). All versions of the product have the same .exe name. Now in the Open With... context menu, it shows XYZ program 3 times (3 versions are installed) but with the same name. How do I make it show the version as well? I.e. XYZ V1.0 , XYZ V2.0 , etc. 回答1: Save the

Make .jmx file to open by default (double click on file) with jmeter GUI on windows 10

妖精的绣舞 提交于 2020-06-13 00:17:14
问题 I'm trying to make my windows 10 to open .jmx file with jmeter GUI when I double click on it. I' using "apache-jmeter-3.2" and currently, in order to open a jmx file I am opening the jmeter jar "\apache-jmeter-3.2\bin\ApacheJMeter.jar" and then dragging the jmx file into it. I have tried to use the "open with" windows feature, but if i navigate to the jar location and mark "show all files" in order to see .jar extenstions and select it, it show me a windows message says "this app cannot run

If I make a new file type for my program, how do I use “Open With” properly?

纵饮孤独 提交于 2020-01-24 19:23:07
问题 I made a program. I also made my own file type, which the program can create, open, and edit. In Explorer, I right clicked on this new file type and selected "Open With" and chose my program. Of course, it just opens the program without loading the file. How do I let my program know that it's being requested to open a file on startup? Is there some command line argument that "Open With" sends? 回答1: Yes, Windows Explorer sends the path of the file as the command line argument to the executable

Google Drive Open with menu Mime Type for Google files

倾然丶 夕夏残阳落幕 提交于 2020-01-07 04:28:19
问题 I have an issue when I want to add the Google Mime Types in the developer console to allow my app to open Google Files. In the developer console in the section "Integrate with Drive interface" I set some mime type like 'application/pdf' or 'image/png' no issue and in the drive interface in the open with menu I find my app. I want to set Mime Types for Google Drive files but when I want to save modification in developper console I get an error "User request is not valid. Please verify your url

Mimetype vs AppID

孤者浪人 提交于 2019-12-31 04:41:11
问题 You see that it is adivsed to create your file with your app-specific mime type. Is it right way? I wonder because google drive somehow associates files with the application that created them for Open with functionality. Can this be exploited for the file picker? 回答1: FYI-- You mentioned your project ID being alpine-dogfish-833. If you login to the developer console, then click on your project (which takes you to the project "Overview" page), you will see 2 identifiers at the top: Project ID:

Android - get file path of a selected pdf, doc, ppt or xls in my app

耗尽温柔 提交于 2019-12-24 03:12:17
问题 I am developing an android application. My AIM: If the user open the pdf, doc, ppt or xls files in any folder inside the SDCard (or) dropbox (or) email etc..., they must navigate into my app(In my app, I will do some process based on the files they selected). What I did: If the user click on the PDF file, I can get the filepath and they are navigate into my app. For this I have done the following code. Code snippet: In the AndroidManifest.xml, I have added the following code: <activity

Java accessing Window's “Open with…” list

扶醉桌前 提交于 2019-12-24 02:25:13
问题 I would like to get the list of "Open with..." contextual menu in Windows XP/Vista/7 from Java. From the Windows Registry, I've managed to find a way to get the command to launch applications. But I did not find out how to get these applications names and icons as shown in the Explorer Open with list contextual menu. Also, the way to manage these informations seems to change from one version of the OS to another. Is there any library I could use with Java for this ? Thanks. 回答1: You don't

How can I set the name of my program in the Open With dialog?

爷,独闯天下 提交于 2019-12-19 11:05:39
问题 I want the program to read VLC (Move on end) : I've modified my Assembly Info to the following, to no avail: How can I alter the name displayed in the Open With dialog? 回答1: It is stored in the registry as the FriendlyAppName value under HKCR\Applications\YourExeName. Described in this MSDN page. 回答2: Per Hans' answer, this is what did it for me: export.reg Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Applications\VLCMoveOnEnd.exe] "FriendlyAppName"="VLC (Move on end)" [HKEY

c# open file always show “Open With” dialog

早过忘川 提交于 2019-12-13 18:19:14
问题 I have a c# application, which downloads a file, and should always show the Open With dialog, regardless if the extension is a known extension or not. I tried global::System.Diagnostics.Process.Start("rundll32.exe", string.Format("shell32.dll,OpenAs_RunDLL \"{0}\"", filename)); but, when I try to open a .png file, the "Open With" dialog does not show and the file gets opened with my default image viewer. The user should be able to choose an application (eg. maybe he wants to edit the file

Preview and open-with

不打扰是莪最后的温柔 提交于 2019-12-12 03:22:16
问题 I see that the file created with Realtime playground at my Google drive supports Open With functionality. Despite preview is not available, I can click it and playground app reopens. How do I do the same with my app. I have created a demo one, to add/remove list items and it creates the files in my google drive, similarly to the google realtime playground functionality. The open with is also available. Google app files with my app it created. But, clicking it, results in Sorry, we were unable