Open documents from Team Explorer with Notepad++ - visual-studio-2012

My team uses the documents feature of Team Explorer 2012 to store release notes and stuff. Whenever I open one of these documents from the Team Explorer documents panel, it launches the URL in Firefox.
In the case of a .sql file, Firefox prompts me to download the file or open it with another application. But in the case of a .txt file, it just displays it in the browser.
When I right click one of these documents and choose edit from the context menu in the Team Explorer documents panel, it opens the file in Windows Notepad.
I can't find any option in Firefox or in Visual Studio to change this behavior, and I'd like to open the document in Notepad++. How can I do this?

To change the default editor for an existing file
On the File menu in Visual Studio, choose Open and then select File.
In the Open File dialog box, select a file of the type you want to change.
For example, if you want to change the default editor for text files, select a .txt file.
Still in the Open File dialog box, click the down arrow next to the Open button, and then select Open With.
In the Open With dialog box, choose an editor from the Select a program to open list.
Click the Set as Default button and then click the Open button to open the file.
To add an editor to the Open With dialog box
On the File menu in Visual Studio, choose Open and then select File.
In the Open File dialog box, select a file of the type you want to change.
Choose the arrow adjacent to the Open button, and then select Open With.
In the Open With dialog box, choose Add.
In the Add Program dialog box, enter the path and name of the executable program (.exe) for the editor you want to add.
In the Friendly Name text box, type a unique name for the editor that you want to include in the Open With dialog box.
In the Add Program dialog box, choose OK.
http://msdn.microsoft.com/en-us/library/vstudio/hy2sthf1(v=vs.100).aspx

Related

How to select paste option when we use open context menu keywork (Robotframework(python-3.8)- selenium)

How to select paste option when we use open context menu keywork (Robotframework(python-3.8)- selenium) Please guide ....screenshot where i trigger open context menu keyword
i have no clue how to click on paste option after run open context menu keywork in robotframework.. Paste from clipboard keyword also not working even after library mentioned in setting (RPA.Desktop)
press keys/press key not working for this site
Site reference (https://www.w3schools.com/html/tryit.asp?filename=tryhtml_default_default)
Expected: - data should be entered/pasted in html body[here i want to paste data or enter data - curser(|)
(https://i.stack.imgur.com/JnAb6.png)

How to open an Excel Online document as a PDF

We have an Excel Online file that I'd like to link to, but as a pdf. In other words, I want a link that opens the contents of the Excel Online file as a PDF file. Ideally, admin users would be able to edit the excel file, then end-users would be able to open the PDF version of that file, as it is continuously updated by the admin users. Is this possible? I would need a link to the PDF version of the file.
I did come across this thread, but the answer isn't actually answering the question. https://superuser.com/questions/1133384/is-it-possible-to-link-or-sync-an-excel-spreadsheet-with-a-pdf
Based on your response above I believe the following may accomplish what you want.
What you will need to do is enable the Developer Tab in Excel so we can create Macros. We will be creating a Macro that will Save the excel file as a PDF. My assumption is that there is one worksheet in the excel file. When you enable the macros, and save the first time it you will need to save it as a xlsm file to save the macros with the file. Once you do this perform the following below.
In Onedrive create a new folder and call it "MyPubDocs" for example.
In Excel open up your online Xlsm file and do a SaveAs
In the file dialog Box navigate to the Onedrive folder you created and take note of the folder name. It might show...
Web Sites > https://d.docs.live.net > > MyPubDocs
Click on the header bar and copy the URL and save it.
In Excel go to the developer Tab, if you don't see then go to File Menu -> Options -> Customize RIbbons -> Popular Commands (left) and Main Tabs (right) and check the Developer checkbox. click OK.
Click on Macro Button Set the Macro name to "SaveToOneDrive" ad click create.
That should open a IDE where you will paste the following command.
ActiveWorkbook.SaveAs Filename:="https://d.docs.live.net/XXXXXXXXXXXXXX/MyPubDocs/" & "MyExcelFileExportAsPDF.Pdf"
When creating the macro you should be able to assign a hotkey to that macro.
Now whenever the admin finishes saving the excel file, they can press the hotkey or run the macro and it will save the file to the location.
If you want to associate the macro to the save event of the workbook, you can, but auto save should be turned off.
After the first time you saved the pdf, go to onedirve and navigate to the pdf file. Create a sharable link that you can distribute to your users. When they navigate to that sharable link it should show them the most recent pdf.
HTH

Saving a .csv in Excel converts to a .tsv

I have a simple test csv file:
If I open this file in Excel, delete column 2 and click the save icon, close and reopen the file, it converts it to a tab delimited, rather than comma delimited file. I've reproduced this on two machines.
Open the file in Notepad and see what it uses, if it's the tab then you need to change the regional settings on the computer:
Change the separator in all .csv text files:
1) In Microsoft Windows, click the Start button, and then click Control Panel.
2) Open the dialog box for changing Regional and Language settings.
3) Type a new separator in the List separator box.
4) Click OK twice.

"Cannot insert object" Error when inserting PDF files/objects into Microsoft Excel

I am currently using microsoft excel 2010. Trying to insert some PDF files into the spreadsheet.
I cliked Insert Tab -> Object -> select Adobe Document (Checked the Display as icon checkbox) from the list -> Go on to the "Create from file" tab -> Select the pdf file from my computer (Checked display as icon) -> press the OK button
Then the following error appear in a dialogbox:
"Cannot insert object".
Other Objects (such as other excels and words) and Pictures can be inserted without problem.
Tried the following, and did NOT help at all:
Reopen excel spreadsheet
Delete the file MSForms.exd from any Tempsubfolder in the user's profile
Delete all the MS Office updates
Delete all the files end with .exd
Finially I figured out a way to solve this PDF attachment problem on excel: Select a Package instead!
Go to Insert Tab -> Object -> double click Package in the list of options -> then the "Create Package" dialog will appear where it will guide you through the attachment process!
It even allows you to rename the file name of the attachment.
Hope it helps.
Usually it is because you still open the pdf file. Make sure the pdf file you were trying to insert is closed.
Go to Task Manager, close the the current process running for inserting object.
For instance- if you want to insert .doc file. In task manager, under processes close app "Microsoft word". It would work & let you insert the .doc file.

how to make opening txt file in Excel work like if you right-click in Windows Explorer and Open With Excel?

My application interfaces with Excel using tab-delimited Unicode text files. I require that some cells have multiple lines (alt-enter in Excel, produces LF character (10)).
If I right-click on the txt file in Explorer and Open With..Excel, it opens correctly. However, if I open Excel, and from within Excel either open the txt file by browsing to it, or open it through the Most Recently Used list, it treats the LF as a CR and creates a new row starting at that point.
How can I get Excel to open the file correctly from within Excel (i.e., open the file the same way as if I had right-clicked on it in Explorer and selected Open With..Excel)?
Edit: Chris Persichetti provided a lot of good information on a related question here.
I think that you should try this: on the ribbon, click the Data tab, then in the "Get External Data" section, click "From Text". this allows you to customize how excel opens the text file.

Resources