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. Web Development
  3. ASP.NET
  4. how to run outlook on client

how to run outlook on client

Scheduled Pinned Locked Moved ASP.NET
questiontutorial
12 Posts 6 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.
  • M magichi

    I wanna run outlook on client,just like input "D:\PROGRA~1\MICROS~4\Office12\OUTLOOK.EXE" into run. I don't want to use "mailto:",how can I do?

    S Offline
    S Offline
    Sneha Bisht
    wrote on last edited by
    #3

    Try this using System.Diagnostics; Process.Start("outlook.exe");

    M 1 Reply Last reply
    0
    • S Sneha Bisht

      Try this using System.Diagnostics; Process.Start("outlook.exe");

      M Offline
      M Offline
      magichi
      wrote on last edited by
      #4

      I tried it,but it doesn't work. somebody says the reason is it's server code,not client code,so it doesn't work

      S 1 Reply Last reply
      0
      • M magichi

        I tried it,but it doesn't work. somebody says the reason is it's server code,not client code,so it doesn't work

        S Offline
        S Offline
        Sneha Bisht
        wrote on last edited by
        #5

        Another one function go() { w = new ActiveXObject("WScript.Shell"); w.run('notepad.exe'); return true; } onLoad="go();" event in form

        M 1 Reply Last reply
        0
        • M magichi

          I wanna run outlook on client,just like input "D:\PROGRA~1\MICROS~4\Office12\OUTLOOK.EXE" into run. I don't want to use "mailto:",how can I do?

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #6

          magichi wrote:

          I don't want to use "mailto:

          Why?

          magichi wrote:

          I wanna run outlook on client,just like input "D:\PROGRA~1\MICROS~4\Office12\OUTLOOK.EXE" into run

          Think about it - what happens if the user doesn't have Outlook installed? What if it's installed to a different location? You are writing a web based application, which users expect to honour the security sandbox. Solutions like shelling out using ActiveX scripting have the effect of giving users and experience they wouldn't expect, probably wouldn't like, and certainly won't work on none Microsoft operating systems.

          I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

          Forgive your enemies - it messes with their heads

          My blog | My articles | MoXAML PowerToys | Onyx

          M 1 Reply Last reply
          0
          • M magichi

            I wanna run outlook on client,just like input "D:\PROGRA~1\MICROS~4\Office12\OUTLOOK.EXE" into run. I don't want to use "mailto:",how can I do?

            A Offline
            A Offline
            Anurag Gandhi
            wrote on last edited by
            #7

            You might be looking into <a href="mailto:email@domain.com">open outlook new mail window</a> For details, click here[^]

            Anurag Gandhi.
            http://www.gandhisoft.com
            Life is a computer program and every one is the programmer of his own life.
            My latest article: Group GridView Data

            1 Reply Last reply
            0
            • M magichi

              I wanna run outlook on client,just like input "D:\PROGRA~1\MICROS~4\Office12\OUTLOOK.EXE" into run. I don't want to use "mailto:",how can I do?

              F Offline
              F Offline
              fjdiewornncalwe
              wrote on last edited by
              #8

              Like Pete said... Respect the security sandbox. That being said, I have in a closed intranet setting implemented solutions that intertwine both client based binaries and server based web pages. But only in a closed intranet setting where that can be properly administered and controlled would that be something to be considered. If the purpose is to launch the user's outlook, that is what the mailto directive was created for. A safe way to launch a user's email system from a web app.

              M 1 Reply Last reply
              0
              • P Pete OHanlon

                magichi wrote:

                I don't want to use "mailto:

                Why?

                magichi wrote:

                I wanna run outlook on client,just like input "D:\PROGRA~1\MICROS~4\Office12\OUTLOOK.EXE" into run

                Think about it - what happens if the user doesn't have Outlook installed? What if it's installed to a different location? You are writing a web based application, which users expect to honour the security sandbox. Solutions like shelling out using ActiveX scripting have the effect of giving users and experience they wouldn't expect, probably wouldn't like, and certainly won't work on none Microsoft operating systems.

                I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Onyx

                M Offline
                M Offline
                magichi
                wrote on last edited by
                #9

                yeah,somebody have suggest me to use ActiveX,do u have any example?

                1 Reply Last reply
                0
                • S Sneha Bisht

                  Another one function go() { w = new ActiveXObject("WScript.Shell"); w.run('notepad.exe'); return true; } onLoad="go();" event in form

                  M Offline
                  M Offline
                  magichi
                  wrote on last edited by
                  #10

                  I tried it,but it based on the security of IE option.It based on setting low security.Customs could not set same security of IE.

                  1 Reply Last reply
                  0
                  • F fjdiewornncalwe

                    Like Pete said... Respect the security sandbox. That being said, I have in a closed intranet setting implemented solutions that intertwine both client based binaries and server based web pages. But only in a closed intranet setting where that can be properly administered and controlled would that be something to be considered. If the purpose is to launch the user's outlook, that is what the mailto directive was created for. A safe way to launch a user's email system from a web app.

                    M Offline
                    M Offline
                    magichi
                    wrote on last edited by
                    #11

                    Customs wanna open outlook just like run outlook on their client.They don't wanna see the send mail box,they wanna see the number of unread mails,or other information that could see when they open the outlook.How could I do?

                    F 1 Reply Last reply
                    0
                    • M magichi

                      Customs wanna open outlook just like run outlook on their client.They don't wanna see the send mail box,they wanna see the number of unread mails,or other information that could see when they open the outlook.How could I do?

                      F Offline
                      F Offline
                      fjdiewornncalwe
                      wrote on last edited by
                      #12

                      magichi wrote:

                      Customs wanna

                      Please use full words when you write here. It's truly painful for some of us older guys to read stuff like this.

                      magichi wrote:

                      They don't wanna see the send mail box,they wanna see the number of unread mails,or other information that could see when they open the outloo

                      If they are using outlook and an exchange server, just have the exchange server admins activate the webmail front end??? I think that is what you want.

                      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