How to Open Url
-
Hi All, I have collection of Url's in my list box ,and these url's contain path to some .js files. What I want is that when user double click on of these url, file should open in notepad. Currently am opening a file in firefox. I don't want to download the file I jsut want to open a file. So am not using web.Client.DownLoad() Any Idea please help. thanks,
A.Asif
-
Hi All, I have collection of Url's in my list box ,and these url's contain path to some .js files. What I want is that when user double click on of these url, file should open in notepad. Currently am opening a file in firefox. I don't want to download the file I jsut want to open a file. So am not using web.Client.DownLoad() Any Idea please help. thanks,
A.Asif
why not just download the file to the temp directory, then run the command "%SystemRoot%\System32\notepad.exe %Temp%\file.js". When you are done, you can delete the file, or just leave it to be deleted by the user when he or she clears the temp directory. Jeff