Ok, i got the control working in vb.net if anyone is interested.
I'm using Visual Studio 2010 Express, it was just released. Link: http://www.microsoft.com/express/
Here is the code
Imports Leadwerks
Imports Leadwerks.Control
Public Class Form1
Private buffer As Buffer
Private ground As Body
Private groundmesh As Mesh
Private mesh As Mesh
Private body As Body
Private Sub LetkControl1_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LetkControl1.Init
Dim world As New World
Dim cam As New Camera
FileSystem.AbstractPath = "C:\Leadwerks Engine SDK"
cam.ClearColor = New Color(0, 0, 1, 1)
cam.Move(New Vector3(0.0!, 0.0!, -8.0!))
Dim Light As Light = Light.CreateDirectional()
Light.Rotation = New Vector3(45, 45, 0)
Light.Position = New Vector3(0, 100, 0)
Light.Range = 1000
buffer = New Buffer(LetkControl1.Width, LetkControl1.Height, 7)
body = body.CreateBox(1.0!, 1.0!, 1.0!)
body.Mass = 1.0!
body.Position = New Vector3(0, 4, 0)
mesh = mesh.CreateCube
mesh.Parent = Me.body
body.SetKey("name", "body1")
ground = body.CreateBox(10.0!, 0.1!, 10.0!)
groundmesh = mesh.CreateCube
'groundmesh.Scale = New Vector3(10.0!, 0.1!, 10.0!) //It crashes on this line, so i can't scale ground yet.
groundmesh.Parent = Me.ground
ground.Position = New Vector3(0.0!, -1.0!, 0.0!)
ground.SetKey("name", "ground")
body.CollisionType = 1
ground.CollisionType = 1
Collisions.Set(1, 1, True)
LetkControl1.Start()
End Sub
Private Sub LetkControl1_Redraw(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LetkControl1.Redraw
Me.Text = Leadwerks.Timing.FPS.ToString
World.Update(Core.AppSpeed)
buffer.Current = buffer
World.Render()
buffer.Current = LetkControl1.Buffer
Light.Render(buffer)
End Sub
Private Sub LetkControl1_Resize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LetkControl1.Resize
buffer = New Buffer(LetkControl1.Width, LetkControl1.Height, 7)
End Sub
Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
LetkControl1.Stop()
End
End Sub
End Class
Hope this helps anyone using vb.net.