Detecting MS Outlook 2002/2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Emil Frank

    #1

    Detecting MS Outlook 2002/2003

    Hi all,

    Via client side JavaScript I need to detect whether Outlook 2002 or
    2003 is installed on a client machine. How can I do that using
    JavaScript?

    Thanks,

    Emil
  • Philip Ronan

    #2
    Re: Detecting MS Outlook 2002/2003

    On 27/9/04 11:49 pm, Emil Frank wrote:
    [color=blue]
    > Hi all,
    >
    > Via client side JavaScript I need to detect whether Outlook 2002 or
    > 2003 is installed on a client machine. How can I do that using
    > JavaScript?
    >
    > Thanks,
    >
    > Emil[/color]

    You can't. Client-side Javascript is built with security features to stop
    people snooping around on their visitors' systems.

    However there is an HTML solution. Something like this should do the trick:

    ===
    <FORM action="...">
    <P>Do you have Outlook 2002/2003 installed?</P>
    <P><LABEL><INPU T type="radio" name="have_oe" value="no" checked>
    No</LABEL><BR>
    <LABEL><INPUT type="radio" name="have_oe" value="yes"> Yes</LABEL></P>
    <P><INPUT type="submit" value="Submit"> </P>
    </FORM>
    ===

    --
    Philip Ronan
    phil.ronanzzz@v irgin.net
    (Please remove the "z"s if replying by email)


    Comment

    • Mark Preston

      #3
      Re: Detecting MS Outlook 2002/2003

      Emil Frank wrote:[color=blue]
      >
      > Via client side JavaScript I need to detect whether Outlook 2002 or
      > 2003 is installed on a client machine. How can I do that using
      > JavaScript?
      >[/color]
      You don't. You can't - security measures stop you snooping on a client
      system at all.

      Comment

      • Emil Frank

        #4
        Re: Detecting MS Outlook 2002/2003

        emilgfrank@yaho o.com (Emil Frank) wrote in message news:<6d819429. 0409271449.7d74 1725@posting.go ogle.com>...[color=blue]
        > Hi all,
        >
        > Via client side JavaScript I need to detect whether Outlook 2002 or
        > 2003 is installed on a client machine. How can I do that using
        > JavaScript?
        >
        > Thanks,
        >
        > Emil[/color]

        Hi,

        Hmm...on the other side there are Java Script utilities available that
        allow to detect whether Office or MS Messenger is installed on the
        client side.

        See:

        An archive of Alcoholics Anonymous history: letters, articles, recordings and primary sources, free to read.


        So I was wondering whether the same could be done for Outlook?

        Thanks,

        Emil

        Comment

        • Philip Ronan

          #5
          Re: Detecting MS Outlook 2002/2003

          On 28/9/04 6:00 pm, Emil Frank wrote:
          [color=blue]
          > Hi,
          >
          > Hmm...on the other side there are Java Script utilities available that
          > allow to detect whether Office or MS Messenger is installed on the
          > client side.
          >
          > See:
          >
          > http://silkworth.net/browser_os/plugs.html
          >
          > So I was wondering whether the same could be done for Outlook?[/color]

          The page you mentioned just checks for browser plug-ins. But even that can't
          be done reliably. In fact all I get from this page is a string of Javascript
          errors, which is kind of funny in a way because I'm actually using Internet
          Explorer.

          --
          Philip Ronan
          phil.ronanzzz@v irgin.net
          (Please remove the "z"s if replying by email)


          Comment

          • Robert

            #6
            Re: Detecting MS Outlook 2002/2003

            In article <6d819429.04092 80900.1182328f@ posting.google. com>,
            emilgfrank@yaho o.com (Emil Frank) wrote:

            [color=blue][color=green]
            > > Via client side JavaScript I need to detect whether Outlook 2002 or
            > > 2003 is installed on a client machine. How can I do that using
            > > JavaScript?[/color][/color]
            No. See below.[color=blue]
            > Hmm...on the other side there are Java Script utilities available that
            > allow to detect whether Office or MS Messenger is installed on the
            > client side.
            >
            > See:
            >
            > http://silkworth.net/browser_os/plugs.html[/color]

            They seem to be doing the work Visual Basic.

            <script type="text/vbscript"><!--
            on error resume next
            Function CanCreate(ctlNa me)

            And use:
            r = new ActiveXObject(c tlName);



            Glad I use Netscape as my browser.


            Robert

            Comment

            • kaeli

              #7
              Re: Detecting MS Outlook 2002/2003

              In article <6d819429.04092 71449.7d741725@ posting.google. com>,
              emilgfrank@yaho o.com enlightened us with...[color=blue]
              > Hi all,
              >
              > Via client side JavaScript I need to detect whether Outlook 2002 or
              > 2003 is installed on a client machine. How can I do that using
              > JavaScript?
              >[/color]

              Use an HTA (jscript). You have a lot more options there.

              This cannot be done without supressing normal javascript security, which an
              HTA is not subject to. I assume this is for an intranet app. Any other use,
              you really can't.


              --
              --
              ~kaeli~
              Join the Army, meet interesting people, kill them.



              Comment

              • Emil Frank

                #8
                Re: Detecting MS Outlook 2002/2003

                Hi,

                Thanks for your help!

                Can you please point me to a few JScript samples that illustrate how
                this could be done!

                Thanks in advance,

                Emil


                kaeli <tiny_one@NOSPA M.comcast.net> wrote in message news:<MPG.1bc48 92eb3b4df4c98a1 83@nntp.lucent. com>...[color=blue]
                > In article <6d819429.04092 71449.7d741725@ posting.google. com>,
                > emilgfrank@yaho o.com enlightened us with...[color=green]
                > > Hi all,
                > >
                > > Via client side JavaScript I need to detect whether Outlook 2002 or
                > > 2003 is installed on a client machine. How can I do that using
                > > JavaScript?
                > >[/color]
                >
                > Use an HTA (jscript). You have a lot more options there.
                >
                > This cannot be done without supressing normal javascript security, which an
                > HTA is not subject to. I assume this is for an intranet app. Any other use,
                > you really can't.
                >
                >
                > --[/color]

                Comment

                Working...