dcarp757's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
9 (0.01 per day)
Joined:
02-September 12
Profile Views:
282
Last Active:
User is offline Oct 03 2012 05:58 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   dcarp757 has not set their status

Posts I've Made

  1. In Topic: point to point line draw problem?

    Posted 3 Oct 2012

    View Postmaj3091, on 03 October 2012 - 06:22 AM, said:

    You might be better contacting a mod to move this to the correct forum as it's not VB6 related and you'll get a better response in the correct forum.


    I'm obviously a beginner. This is VB course work out of a VB book (Deitel VB 2008 3rd Ed). What forum do you suggest?
  2. In Topic: user entered graphics coordinates

    Posted 26 Sep 2012

    I figured it out. Thanks!

    Public Class LogoForm
       Dim g As Graphics
    
       Private Sub addButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles addButton.Click
    
          g = logoPicture.CreateGraphics
    
          Dim x1 As Integer
          Dim y1 As Integer
          Dim x2 As Integer
          Dim y2 As Integer
    
          x1 = CInt(Val(x1TextBox.Text))
          y1 = CInt(Val(y1TextBox.Text))
          x2 = CInt(Val(x2TextBox.Text))
          y2 = CInt(Val(y2TextBox.Text))
    
          Dim p As New Pen(Color.Blue, 2)
          Dim b As New SolidBrush(Color.Blue)
    
    
    
          If lineRadioButton.Checked = True Then
             g.DrawLine(p, x1, y1, x2, y2)
    
          ElseIf filledRectangleRadioButton.Checked = True Then
             g.FillRectangle(b, x1, y1, x2, y2)
    
          ElseIf rectangleRadioButton.Checked = True Then
             g.DrawRectangle(p, x1, y1, x2, y2)
    
          ElseIf ellipseRadioButton.Checked = True Then
             g.DrawEllipse(p, x1, y1, x2, y2)
    
          ElseIf filledEllipseRadioButton.Checked = True Then
             g.FillEllipse(b, x1, y1, x2, y2)
    
    
          End If
    
    
       End Sub
    
    

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

dcarp757 hasn't added any friends yet.

Comments

dcarp757 has no profile comments yet. Why not say hello?