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 to draw on web page?

How to draw on web page?

Scheduled Pinned Locked Moved C#
helptutorialquestion
6 Posts 3 Posters 2 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.
  • D Offline
    D Offline
    dfernando22
    wrote on last edited by
    #1

    I am new to web development. I am trying to write a web application that a user can click on 2 boxes and program should draw a line between them. I have no clue on how to start this project. Any help is much appropriated. How is google map written? how can they draw shapes and users can click on it? Would like my app to behave the same way. Thanks in advanced.

    P 1 Reply Last reply
    0
    • D dfernando22

      I am new to web development. I am trying to write a web application that a user can click on 2 boxes and program should draw a line between them. I have no clue on how to start this project. Any help is much appropriated. How is google map written? how can they draw shapes and users can click on it? Would like my app to behave the same way. Thanks in advanced.

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

      Are you really sure you wrote this in the right forum? You wouldn't do this using C# - you would use JavaScript for this.

      *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

      D 1 Reply Last reply
      0
      • P Pete OHanlon

        Are you really sure you wrote this in the right forum? You wouldn't do this using C# - you would use JavaScript for this.

        *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

        D Offline
        D Offline
        dfernando22
        wrote on last edited by
        #3

        Thanks for the response Pete. So what you are saying is this functionality is not possible with c#. I though I could do this in C# since I have done similar functions with a Win Forms. What I thought I could create a embedded object (such as ActiveX) and go in that route. So that was a wrong thinking. So I should try this in JavaScript or HTML5?

        P Y 2 Replies Last reply
        0
        • D dfernando22

          Thanks for the response Pete. So what you are saying is this functionality is not possible with c#. I though I could do this in C# since I have done similar functions with a Win Forms. What I thought I could create a embedded object (such as ActiveX) and go in that route. So that was a wrong thinking. So I should try this in JavaScript or HTML5?

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

          If you don't just want it to run in IE on Windows, you shouldn't use ActiveX. If you look at Google Maps (for instance), you will see that they make extensive use of JavaScript.

          *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
          • D dfernando22

            Thanks for the response Pete. So what you are saying is this functionality is not possible with c#. I though I could do this in C# since I have done similar functions with a Win Forms. What I thought I could create a embedded object (such as ActiveX) and go in that route. So that was a wrong thinking. So I should try this in JavaScript or HTML5?

            Y Offline
            Y Offline
            y dsandeepnaidu
            wrote on last edited by
            #5

            I think this correct solution for ur problem bro there will be control in wind froms called web browser i think it will help u well and u should import class library called using.system.diagonstic()

            P 1 Reply Last reply
            0
            • Y y dsandeepnaidu

              I think this correct solution for ur problem bro there will be control in wind froms called web browser i think it will help u well and u should import class library called using.system.diagonstic()

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

              A couple of points. First, when answering questions in the forums, it is best not to use text speak. This is looked on as unprofessional, and will often result in people downvoting your answer. Secondly, it is important to consider what the user is actually asking. He has asked how to draw on a web page, and your answer has absolutely nothing to do with drawing on a web page. I commend you for wanting to help out, but it's better not to answer than to give completely the wrong answer.

              *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
              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