Click here to Skip to main content
15,906,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i want to display xml file wich i have it in my project by cliking to button
i want to see the content of my file for example in Notepad++ not in browser
thanks in advance

What I have tried:

what i have tried :
i just search in the net :/
Posted
Updated 30-May-16 1:39am
Comments
anup.bhunia 30-May-16 7:45am    
Actually you don't have that much freedom in web, you (webserver) cant dictate what application a client machine would use to open a particular file type. But you can specify file type using header meta data.

1 solution

See, for instance, this documentation page: ProcessStartInfo Class (System.Diagnostics)[^].
 
Share this answer
 
Comments
Member 11573837 30-May-16 9:20am    
hi CPallini,
thank you for answering me, my issue is to display my xml file is exist in my project
just display it in notepade for example

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900