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. WPF
  4. client side serial communication

client side serial communication

Scheduled Pinned Locked Moved WPF
csharpasp-netquestion
13 Posts 4 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.
  • J javadadabi

    I want to communicate with serial port on client side system via asp pages.I think silverlight is the best solution,but there is no asp.net sample about this topic. would you please tell me if there is a sample in this site or other web pages? thanks

    A Offline
    A Offline
    Abhinav S
    wrote on last edited by
    #2

    Silverlight is not the best option for what you are trying to do. Silverlight runs in a sandboxed environment where accessing serial ports is not possible.

    Build your own survey - http://www.factile.net

    J 1 Reply Last reply
    0
    • A Abhinav S

      Silverlight is not the best option for what you are trying to do. Silverlight runs in a sandboxed environment where accessing serial ports is not possible.

      Build your own survey - http://www.factile.net

      J Offline
      J Offline
      javadadabi
      wrote on last edited by
      #3

      Dear Abhinav S I couldn't find an issue about my question. :^) I googled and find some link but there is no brief sample.what should i do? 1 http://stackoverflow.com/questions/8989538/serial-communication-with-silverlight-5-com-port[^] 2 http://forums.asp.net/t/1438280.aspx/1?Serial+port+communication+in+asp+net[^] 3 http://forums.silverlight.net/t/21606.aspx/1[^]

      A 1 Reply Last reply
      0
      • J javadadabi

        Dear Abhinav S I couldn't find an issue about my question. :^) I googled and find some link but there is no brief sample.what should i do? 1 http://stackoverflow.com/questions/8989538/serial-communication-with-silverlight-5-com-port[^] 2 http://forums.asp.net/t/1438280.aspx/1?Serial+port+communication+in+asp+net[^] 3 http://forums.silverlight.net/t/21606.aspx/1[^]

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #4

        Try using WPF.

        Build your own survey - http://www.factile.net

        J 1 Reply Last reply
        0
        • A Abhinav S

          Try using WPF.

          Build your own survey - http://www.factile.net

          J Offline
          J Offline
          javadadabi
          wrote on last edited by
          #5

          This site needs to sign in but I don’t know why I can’t sigup

          1 Reply Last reply
          0
          • J javadadabi

            I want to communicate with serial port on client side system via asp pages.I think silverlight is the best solution,but there is no asp.net sample about this topic. would you please tell me if there is a sample in this site or other web pages? thanks

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

            Create a webservice on the server side that accepts the port data and a desktop app on the client side that reads the serial port and sends the data to the webservice. Or; use automation (via MSHTML or a webbrowser control) to update the ASP page from a desktop app that reads the serial port. Or; create a webservice on the client side that reads the serial port; a Siverlight app on the client side can then access the webservice to get port data.

            J 1 Reply Last reply
            0
            • L Lost User

              Create a webservice on the server side that accepts the port data and a desktop app on the client side that reads the serial port and sends the data to the webservice. Or; use automation (via MSHTML or a webbrowser control) to update the ASP page from a desktop app that reads the serial port. Or; create a webservice on the client side that reads the serial port; a Siverlight app on the client side can then access the webservice to get port data.

              J Offline
              J Offline
              javadadabi
              wrote on last edited by
              #7

              Thanks for your answer. Is there any sample about these ideas?

              L 1 Reply Last reply
              0
              • J javadadabi

                Thanks for your answer. Is there any sample about these ideas?

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

                I gave you 3 options; you first need to decide which option you are going to use, and then break out it's components. After that, there are plenty of examples out there (including on this site) to: 1) create a web service (server and/or client side) 2) read a serial port 3) browser automation using MSHTML 4) browser automation using the web browser component 5) calling javascript on a page and passing parameters

                J 1 Reply Last reply
                0
                • L Lost User

                  I gave you 3 options; you first need to decide which option you are going to use, and then break out it's components. After that, there are plenty of examples out there (including on this site) to: 1) create a web service (server and/or client side) 2) read a serial port 3) browser automation using MSHTML 4) browser automation using the web browser component 5) calling javascript on a page and passing parameters

                  J Offline
                  J Offline
                  javadadabi
                  wrote on last edited by
                  #9

                  What hapened if there was a sample including this five issues together? I'll try again to achieve my purpose. But I hope I would make a component,when user connects to my website an activex download pops up and he accept it then every thing will be solved through internet borrowser. Is that possible?i'm sure but it's too difficult for me.

                  P L 2 Replies Last reply
                  0
                  • J javadadabi

                    What hapened if there was a sample including this five issues together? I'll try again to achieve my purpose. But I hope I would make a component,when user connects to my website an activex download pops up and he accept it then every thing will be solved through internet borrowser. Is that possible?i'm sure but it's too difficult for me.

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

                    First off, I wouldn't use an ActiveX control - that will limit you to PCs. Secondly, what exactly are you expecting from us?

                    *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                    "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                    CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                    1 Reply Last reply
                    0
                    • J javadadabi

                      What hapened if there was a sample including this five issues together? I'll try again to achieve my purpose. But I hope I would make a component,when user connects to my website an activex download pops up and he accept it then every thing will be solved through internet borrowser. Is that possible?i'm sure but it's too difficult for me.

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

                      Everything is possible (if you want it bad enough).

                      J 1 Reply Last reply
                      0
                      • L Lost User

                        Everything is possible (if you want it bad enough).

                        J Offline
                        J Offline
                        javadadabi
                        wrote on last edited by
                        #12

                        Thank you.

                        J 1 Reply Last reply
                        0
                        • J javadadabi

                          Thank you.

                          J Offline
                          J Offline
                          javadadabi
                          wrote on last edited by
                          #13

                          But how does other commercial components work?like active comport.

                          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