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. How can I pass a Lync url from C sharp to Lync and launch the meeting?

How can I pass a Lync url from C sharp to Lync and launch the meeting?

Scheduled Pinned Locked Moved C#
questioncsharptutorial
7 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.
  • T Offline
    T Offline
    turbosupramk3
    wrote on last edited by
    #1

    Hi, Is there a way to automate (is it exposed) Lync loading a meeting url, the way that Outlook does when you click the link inside of the meeting and it calls Lync and opens the meeting? Lync 2013 and Outlook 2010 and C sharp. I've been looking through the Lync SDK and I haven't found any examples of this. I have the Lync url from Exchange already, I only need to know how to pass it to Lync and get Lync to spawn a meeting with it. Thanks

    L 4 Replies Last reply
    0
    • T turbosupramk3

      Hi, Is there a way to automate (is it exposed) Lync loading a meeting url, the way that Outlook does when you click the link inside of the meeting and it calls Lync and opens the meeting? Lync 2013 and Outlook 2010 and C sharp. I've been looking through the Lync SDK and I haven't found any examples of this. I have the Lync url from Exchange already, I only need to know how to pass it to Lync and get Lync to spawn a meeting with it. Thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      turbosupramk3 wrote:

      the way that Outlook does when you click the link inside of the meeting

      Outlook sends me a clickable link; right click on the link and select "copy hyperlink". Next, shellexecute the link.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      T 1 Reply Last reply
      0
      • T turbosupramk3

        Hi, Is there a way to automate (is it exposed) Lync loading a meeting url, the way that Outlook does when you click the link inside of the meeting and it calls Lync and opens the meeting? Lync 2013 and Outlook 2010 and C sharp. I've been looking through the Lync SDK and I haven't found any examples of this. I have the Lync url from Exchange already, I only need to know how to pass it to Lync and get Lync to spawn a meeting with it. Thanks

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        turbosupramk3 wrote:

        the way that Outlook does when you click the link inside of the meeting

        Outlook sends me a clickable link; right click on the link and select "copy hyperlink". Next, shellexecute the link.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

        1 Reply Last reply
        0
        • T turbosupramk3

          Hi, Is there a way to automate (is it exposed) Lync loading a meeting url, the way that Outlook does when you click the link inside of the meeting and it calls Lync and opens the meeting? Lync 2013 and Outlook 2010 and C sharp. I've been looking through the Lync SDK and I haven't found any examples of this. I have the Lync url from Exchange already, I only need to know how to pass it to Lync and get Lync to spawn a meeting with it. Thanks

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          turbosupramk3 wrote:

          the way that Outlook does when you click the link inside of the meeting

          Outlook sends me a clickable link; right click on the link and select "copy hyperlink". Next, shellexecute the link.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

          1 Reply Last reply
          0
          • T turbosupramk3

            Hi, Is there a way to automate (is it exposed) Lync loading a meeting url, the way that Outlook does when you click the link inside of the meeting and it calls Lync and opens the meeting? Lync 2013 and Outlook 2010 and C sharp. I've been looking through the Lync SDK and I haven't found any examples of this. I have the Lync url from Exchange already, I only need to know how to pass it to Lync and get Lync to spawn a meeting with it. Thanks

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            turbosupramk3 wrote:

            the way that Outlook does when you click the link inside of the meeting

            Outlook sends me a clickable link; right click on the link and select "copy hyperlink". Next, shellexecute the link.

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

            1 Reply Last reply
            0
            • L Lost User

              turbosupramk3 wrote:

              the way that Outlook does when you click the link inside of the meeting

              Outlook sends me a clickable link; right click on the link and select "copy hyperlink". Next, shellexecute the link.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

              T Offline
              T Offline
              turbosupramk3
              wrote on last edited by
              #6

              Thanks Eddy, I figured out that it actually tries to use IE first, so I was able to mimic the same behavior with the following code

              if (lyncUrl != "")
              {
              ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe", lyncUrl);
              startInfo.WindowStyle = ProcessWindowStyle.Minimized;
              Process.Start(startInfo);
              }
              else
              {
              MessageBox.Show("Lync url is blank or non existant");
              }

              L 1 Reply Last reply
              0
              • T turbosupramk3

                Thanks Eddy, I figured out that it actually tries to use IE first, so I was able to mimic the same behavior with the following code

                if (lyncUrl != "")
                {
                ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe", lyncUrl);
                startInfo.WindowStyle = ProcessWindowStyle.Minimized;
                Process.Start(startInfo);
                }
                else
                {
                MessageBox.Show("Lync url is blank or non existant");
                }

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                turbosupramk3 wrote:

                I figured out that it actually tries to use IE first

                Weird, I had expected that it would use whatever browser would be the default. Anyway, glad it works :)

                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                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