I have a problem opening *.txt file from Sharepoint on Windows 8.1 64bit.
When I click on file, either through link or right click and then choosing Edit document, pop-up comes with question if I want read-only or edit mode, choosing either of two, file is opened in browser (it is same in IE, Chrome and FF) and of course I can't edit it.
As far as I know, *.txt file association is set to Notepad program in Windows, for .doc documents MS Word is being opened.
Also when I put link to the file in Windows Explorer file is opened in browser again, only double click on local files opens it in Notepad.
What am I missing here?
I have similar situation. The work around i found is that -> i copy the sharepoint url that comes up and then paste in file explorer. Then it opens in notepad.
But this is annoying - i used to be able to do this just fine in Windows 7/8.1
Srinivas
Make sure the default program associated with the file extension ".txt" is Notepad.
Control Panel\All Control Panel Items\Default Programs\Set Associations
Related
When I compare a file with its unmodified version in Visual Studio from Team Viewer, the Compare Files view is opened. The head version of the file is displayed on the left, the working copy on the right.
Is there a way (preferably a keyboard shortcut) to quickly switch from the Diff viewer to the normal file view of the working copy?
The fastest way I have found is using the following shortcut:
CTRL+', S to Sync Solution Explorer with active Document
And then simply Enter to open it.
The best I have found is to use CTRL + O, [file_name], Enter.
In my 2017 version of Visual Studio will bring up the "Open File" pop up window in the directory of the file you are currently looking at. You'll then need to retype part of the file name in order for Windows to suggest files for you to open.
I don't think it's quite what you wanted but at least you can do it without having to resort to using your mouse!
Note that you don't necessarily need to type the whole of the filename in as you can use the down key to toggle through suggestions offered.
This combination works for me:
Ctrl+Alt+L to open Solution Explorer on respective file
Enter to open the file
In Notepad++ (Windows 7), is there a way to disable the Common File Dialog Box when saving a file? I would like to replace it with the standard Save File Dialog Box.
Notepad++ uses this dialog box for saving:
I would like to use the following dialog box:
Adding shortcuts to "My Place" bar is not an option as I don't plan to use the Common File Dialog Box at all.
The feature was implemented on 2017-01-30.
Settings > Preferences... > Default Directory > Enable "Use new style save dialog (without file extension feature)".
#Tamarindo94 found where the setting was a couple days ago:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/176#issuecomment-299876885
From the sounds of it this feature is on the books for the next release of Notepad++ once the support for XP goes away, details here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/176
I noticed in Notepad++ they still don't have Favorites but they do have Libraries. My work around was to use Libraries instead of Favorites. You can actually add a Library that points to any folder you want. In Windows File Explorer on Windows 8, I had to go to Folder Options and check to turn on "Libraries" so that I could see them. Then I was able to right click and create Libraries pointed to the folders I wanted.
I was opening dreamweaver file. it opened open with option i check the dreamweaver and didnt noticed that always open this type of file was checked, now all the .lnk extension files changed to dreamweaver. i cant open any shortcut. please help me solve the issue
It seems like the registry is changed. I have been having this problem myself before and I had to download a .reg file that fixed the issue.
Windows 7, 8 and Vista(This downloads a .txt file possibly, remove file extension .txt and leave the .reg extension): Click Here.
Windows XP: Click here.
You can fix this yourself in the registry editor by doing the following:
Click Start Menu, and then type regedit in the Start Search and press ENTER.
Browse to the following registry branch:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.lnk
Click on the arrow to expand it and delete the sub-key named UserChoice.
Exit from Registry Editor and reboot your machine.
On our intranet site, we have various MS Office documents linked. When I click on a Word, Excel or PowerPoint file, Firefox gives me the option to Open, Save or Cancel. When I click on Open, the appropriate app is launched and the file is loaded. This is perfect. But for some reason, when I click on a linked Visio file, I only get the option to Save, which is inconvenient.
I know that Firefox knows the linked file is a Visio file because it tells me so in the dialog box: "You have chosen to open example.vsd which is a: Microsoft Visio Drawing".
How can I make Firefox launch Visio when I click on a linked Visio file?
Update:
Firefox is not launching Visio when I click on a linked Visio file because the web server does not identify the content-type correctly. It identifies the Visio file as application/octet-stream instead of application/x-visio. (Thanks Grant Wagner.) This explains why it doesn't work. And in my case, I may be able to get the Apache config file changed, but this is not certain.
However, I would love to know if there is a way to configure Firefox itself to launch Visio based on some other criteria, like file name extension. This way I can open Visio files even if I don't have access to the Apache configuration.
#Dean
There are only two buttons in the dialog box: "Save File" and "Cancel". The "Open with" option is not there at all.
But I think I know what you mean. Sometimes, the "Open with" option is grayed out and only becomes available a moment later. Unfortunately that's not the case here.
If Open With is not available, the most likely cause is that Firefox does not know the MIME type of the document and is assuming it is application/octet-stream, or your web server is serving up files that end in .vnd as application/octet-stream (or some other binary-only MIME type).
To confirm this, download LiveHTTPHeaders and use it to confirm that the MIME type of the file is application/x-visio.
Edit the file %appdata%\Mozilla\Firefox\Profiles\your profile\mimeTypes.rdf
Add in the following
<RDF:li RDF:resource="urn:mimetype:application/vnd.visio"/>
<RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.visio"
NC:prettyName="VISIO.EXE"
NC:path="FULL PATH TO YOUR VISIO\VISIO.EXE" />
<RDF:Description RDF:about="urn:mimetype:application/vnd.visio"
NC:value="application/vnd.visio"
NC:editable="true"
NC:fileExtensions="vsd"
NC:description="Microsoft Visio Drawing">
<NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.visio"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetype:handler:application/vnd.visio"
NC:alwaysAsk="false">
<NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.visio"/>
<NC:possibleApplication RDF:resource="urn:handler:local:FULL PATH TO YOUR VISIO\VISIO.EXE"/>
</RDF:Description>
This is working for me under Firefox 3.6.3 under Windows XP SP2
Added extension 'OpenDownload' which resolved the issue.
Go under Tools, Options.. in firefox, then when the options box comes up go to applications, there you can set all extensions and launch conditions. Actually it's termed "Content Type" and "Action" there...
If the behavior is similar to opening an Application, all you need to do is click the Open/Save dialog and the Open button will become available about a second later. Does this help?
Going under Tools | Options... doesn't seem to work, as after doing so you get an error that an unknown error occurred opening the file.
However, if you install the OpenDownload extension, then you get a run button which successfully runs Visio.
THe problem is with the VSD File type.
Open Windows Explorer
Menu / Tools / Folder options
Click on the File Type TAB
Locate the VSD file type (just type v s d > it will get You there)
There are two Buttons: [Modify] and [Special] -- Click on the [Special] button
--- The Actions associated with the file are listed
You have to add the Open option:
Add the path to Visio as follows:
"C:\Program Files[## correct PATH##]\VISIO.EXE" /e
(Just check how an other filetype is setup, e.g.: DOC or XLS)
Also there is the option: Browse in same window.
Uncheck the Browse in same window. checkbox,
Click [OK]
and there You go! The browser should ask if You want to open or download the file.
and one You mark Your option and remove the checkbox from "Always Ask for this Filetype..." Your VSD Document should open directly in Visio.
Hope this Helps, BR, Zoltan Gajdatsy
Step-by-step:
On Firefox, go to a site with the file, right-click on a vsd or vsdx file and select download.
On the download window, mark remember my choice option.
Go under tools > options > application, search for visio type and change dropbox to "open with" and then, localize the application you wish use.
I tested this on Firefox 33.0.2 accessing files in Sharepoint.
In Visual Studio with TFS as source control, when I view the history and double click a cs file, the file is loaded in notepad. How can i change the application to be notepad++?
I also would like the OS's default application for the file to still be visual studio
After pouring over ProcessMonitor logs I think I found the solution!
You need to change the what the Windows shell (explorer) thinks the "Edit" action for text files. I was able to change this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\text\shell\edit\command
to something other than Notepad (in my case notepad2). Now Visual Studio's TFS's changeset dialog opens cs files with that editor.
This will probably change the edit option for not just cs files, but everything considered "text'. The registry entries for file associations are pretty complicated. I suspect that it would be possible to disassociate .cs files from this common "text" category and make this change only for cs files (but I'm not that ambitious). Also, I wouldn't be surprised if people's file associations / shell commands (open, edit, etc...) vary from machine to machine (OS versions, tools installed, etc) - so YMMV.
The only way I found is to replace notepad with notepad++. This article describes how to do it. Don't forget to check the comments to get a link to the "little exe" that comes with notepad++.
Works like a charm on W7 x64.
Cheers,
Phil
\I was able to configure this by adding new value to the registry.
OS: Windows 7 Enterprise x64
Steps on how to do it.
Run: Regedit (alt + r, type regedit)
Look for HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations
Right click "SystemFileAssociation" -> add new key then name it as .cs
Right click .cs and add new key then name it as shell
Right click shell and add new keys name it as edit and open 6
Right click edit and add new key command then change the default value to point to the file exe you want it to run.
ex: C:\Program Files (x86)\Notepad++\notepad++.exe %1
Don't forget to add the %1 at the end of the .exe
do the same for open
Hope it helps.
I don't see any options in Visual Studio for changing that, so I'm guessing it uses the system's default text editor.
Try assigning Notepad++ as the default handler for *.cs files.
You can do this from withing Notepad++ by going to Settings/Preference/File Association.
You can also do it by right-clicking on a .cs file in explorer, go to Open With/Choose Program..., then select Notepad++ and check the "Always use the selected program to open this kind of file" box before hitting OK.
The only thing that works for me is when I set the default program for the particular file type in Windows Explorer to open with the VS IDE:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
This opens the code in a new instance of VS. Not ideal, but at least it's easier to read.