Im Moment sieht mein Quelltext so aus.

Code:
 	Private Declare Function InitCam Lib "camdll.dll" (ByVal DeviceNo As Integer) As Integer
    	Private Declare Function PanTiltCam Lib "camdll.dll" (ByVal x As Integer, ByVal y As Integer) As Integer
    	Private Declare Function CenterCam Lib "camdll.dll" () As Integer
    	Private Declare Function FreeCam Lib "camdll.dll" () As Integer


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Int(InitCam(1))                  '-> Initializes the Camera 
    End Sub


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Int(CenterCam(0))          '-> Centers the Camera 
    End Sub



    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Int(x = 100)
        Int(y = 50)
        Int(PanTiltCam(X, Y)) '-> Moves the Camera 
    End Sub

    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        Int(x = 0)
        Int(y = 50)
        Int(PanTiltCam(X, Y)) '-> Moves the Camera 
    End Sub


    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        Int(FreeCam()) '-> Frees the Camera
    End Sub

Und die DLL bekomm ich auch nicht in .NET rein.

Das mach ich doch über die Verweise oder??