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. Visual Basic
  4. Draw a Line in VBA

Draw a Line in VBA

Scheduled Pinned Locked Moved Visual Basic
helpquestion
2 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.
  • R Offline
    R Offline
    RonnyS
    wrote on last edited by
    #1

    Hi Folks! I have a BIG problem, i can't work further because of a little thing who doesn't work...! I want to draw a Line in a VBA Makro but it doesn't work! The function from PictureBox -- Image.Line(....) -- is not existing!! Is there another way to draw a line in a picture in VBA? I have only the x / y koordinates form start an end and between these a wan't to draw a line, i don't need more! I hope soooooo much that there is a (easy) way to draw such a line!!! Please help me!! Thank you very very very much!!!! Greetings, Ronny

    D 1 Reply Last reply
    0
    • R RonnyS

      Hi Folks! I have a BIG problem, i can't work further because of a little thing who doesn't work...! I want to draw a Line in a VBA Makro but it doesn't work! The function from PictureBox -- Image.Line(....) -- is not existing!! Is there another way to draw a line in a picture in VBA? I have only the x / y koordinates form start an end and between these a wan't to draw a line, i don't need more! I hope soooooo much that there is a (easy) way to draw such a line!!! Please help me!! Thank you very very very much!!!! Greetings, Ronny

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Draw a line on what control? In what application? You can draw a line in a PictureBox using it's Line method, but you can't on an Image control. Line Method - PictureBox control[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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