584,826 active members*
5,275 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Posts
    3634

    Arrow Draw a line (VB.net 2005)

    dertsap,

    The attached code will draw a line with VB.Net 2005, Un-comment the rectangle code to draw a rectangle.

    Make sure you have a value in each textbox (No error handling in the code).



    .
    Attached Thumbnails Attached Thumbnails draw_line_1.jpg  
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2005
    Posts
    3634
    This site (link below) has a bunch of code for vb.net.

    For more drawing with GDI+ scroll down to "2D".

    http://www.java2s.com/Code/VB/CatalogVB.htm



    .

  3. #3

    Talking thank you

    thank you

  4. #4

    Re: Draw a line (VB.net 2005)

    Thanks!!
    I just need some 2d code for vb.net.

Similar Threads

  1. Draw line tangent from small circle to large circle
    By WEDDLETON in forum ViaCad / Shark
    Replies: 2
    Last Post: 07-30-2014, 05:53 AM
  2. How to draw a break line in Acad 2010 (2d)?
    By bullandbladder in forum Autodesk
    Replies: 1
    Last Post: 02-12-2013, 01:55 PM
  3. newbie - cant draw a line
    By Fred Evans in forum Solidworks
    Replies: 4
    Last Post: 10-25-2011, 03:47 PM
  4. Replies: 5
    Last Post: 09-09-2009, 01:58 PM
  5. Projecting Line, Autocad 2005
    By Nmbmxer in forum Autodesk
    Replies: 2
    Last Post: 04-05-2006, 03:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •