Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Open Notepad from Web Browser in ASP.NET

Open Notepad from Web Browser in ASP.NET

Scheduled Pinned Locked Moved C#
questioncsharpcssasp-netdatabase
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Billah
    wrote on last edited by
    #1

    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");OR System.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

    C 1 Reply Last reply
    0
    • B Billah

      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");OR System.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

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      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

      B 1 Reply Last reply
      0
      • C Colin Angus Mackay

        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

        B Offline
        B Offline
        Billah
        wrote on last edited by
        #3

        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

        C 1 Reply Last reply
        0
        • B 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

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups