Here you go:
VB Code:
  1. Declare Function SetPixel Lib "gdi32" Alias "SetPixel" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long
  2.  
  3. Private Sub Form_MouseDown(...)
  4. Dim Radian As Double, PixelX As Single, PixelY As Single, Angle As Double
  5.  
  6. For Angle = 0 To 359.5 Step 0.5
  7.     Radian = Angle * (3.1415926 / 180)
  8.     PixelX = CentreX + Cos(Radian) * Radius
  9.     PixelY = CentreY + Sin(Radian) * Radius
  10.     SetPixelV Picture1.hDC, PixelX, PixelY, RGB(0, 0, 0)
  11. Next Angle
  12.  
  13. End Sub
  14.  
  15. Private Sub Form_Load()
  16.     CentreX = 100
  17.     CentreY = 100
  18.     Radius = 50
  19. End Sub
I think that will work. Look at what I've changed, it'll help you to figure out where you went wrong.