Open Notepad from Web Browser in ASP.NET
-
How can I open (popup... not in browser) notepad from browser. For example: I have some .txt file in my database. I want to open it from browser, where user can edit the .txt file and at this time database will be update internally. OR I have some file which I want to open in notepad from browser, it will be display on popup. JUST LIKE: Windows Platform where we use
System.Diagnostics.Process.Start(@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt");
ORSystem.Diagnostics.Process.Start("notepad.exe",@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt");
:confused: If I start a process from ASP.NET using System.Diagonistics.Process.Start method. It start in the background (we can see it in task manager), but I can't see it on the browser.private void Page_Load(object sender, System.EventArgs e) { System.Diagnostics.Process.Start("Notepad.exe"); }
IIS Admin Service runs as a local system So, how can I see the notepad which runs at background? Thank you BILLAH -- modified at 4:49 Sunday 28th May, 2006 -
How can I open (popup... not in browser) notepad from browser. For example: I have some .txt file in my database. I want to open it from browser, where user can edit the .txt file and at this time database will be update internally. OR I have some file which I want to open in notepad from browser, it will be display on popup. JUST LIKE: Windows Platform where we use
System.Diagnostics.Process.Start(@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt");
ORSystem.Diagnostics.Process.Start("notepad.exe",@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt");
:confused: If I start a process from ASP.NET using System.Diagonistics.Process.Start method. It start in the background (we can see it in task manager), but I can't see it on the browser.private void Page_Load(object sender, System.EventArgs e) { System.Diagnostics.Process.Start("Notepad.exe"); }
IIS Admin Service runs as a local system So, how can I see the notepad which runs at background? Thank you BILLAH -- modified at 4:49 Sunday 28th May, 2006Billah wrote:
If I start a process from ASP.NET using System.Diagonistics.Process.Start method. It start in the background (we can see it in task manager), but I can't see it on the browser.
Also, you should realise that it is running it on the server, not the client. If you have the client browser running on the same machine as the server then you are obviously getting confused about what is running as part of the server and what is running as part of the client. You cannot run applications on the client because it is a security risk for the person using the client.
Billah wrote:
I have some .txt file in my database. I want to open it from browser, where user can edit the .txt file and at this time database will be update internally.
Create a page with a big text box and load the text in to that. On the post back you can update the database.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog
-
Billah wrote:
If I start a process from ASP.NET using System.Diagonistics.Process.Start method. It start in the background (we can see it in task manager), but I can't see it on the browser.
Also, you should realise that it is running it on the server, not the client. If you have the client browser running on the same machine as the server then you are obviously getting confused about what is running as part of the server and what is running as part of the client. You cannot run applications on the client because it is a security risk for the person using the client.
Billah wrote:
I have some .txt file in my database. I want to open it from browser, where user can edit the .txt file and at this time database will be update internally.
Create a page with a big text box and load the text in to that. On the post back you can update the database.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog
Dear Colin Angus Mackay, Thank you for your reply. I want a popup notepad which will retrieve data from database. Now it will display in IE. If possible, please Send me a project which display a popup notepad with data or without data where user can edit text and save it in Hard Drive. Thankyou BILLAH
-
Dear Colin Angus Mackay, Thank you for your reply. I want a popup notepad which will retrieve data from database. Now it will display in IE. If possible, please Send me a project which display a popup notepad with data or without data where user can edit text and save it in Hard Drive. Thankyou BILLAH
Billah wrote:
I want a popup notepad which will retrieve data from database.
Notepad cannot retrieve data from the database. It is beyond the scope of the application.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog