[aprssig] Need some programming advice

Scott Miller scott at opentrac.org
Fri Aug 24 20:03:07 EDT 2007


> 1. Visual Basic - it lets you move existing shapes, but not add new ones

Sure it does, it's just kind of non-obvious how it does it.  The 
following creates 10 circles in VB6:

Dim s(10) As VB.shape
Private Sub Form_Load()
     Dim i As Integer
     For i = 0 To 9
         Set s(i) = Form1.Controls.Add("VB.Shape", "shp" & i)
         s(i).Visible = True
         s(i).Left = 1800 + (i * 150)
         s(i).Top = 1500 + (i * 150)
         s(i).shape = vbShapeCircle
     Next
End Sub

The key is that you have to add each shape to the form's controls 
collection.

> 2. Gambas for LINUX - can't seem to get the thing to install
> 3. JAVA - has potential - very new to me
> 4. PERL - I can quite happily use GD and PERL - but it is not very "live"

It's really not a language issue, it just depends on what GUI libraries 
you're working with.  Macromedia Flash could probably do it easily, I'm 
just not very good with it and I haven't touched it in years.

Scott
N1VG





More information about the aprssig mailing list