Standalone library and VB code

Post Reply
tassos
Posts: 1
Joined: Sat Mar 31, 2018 8:35 pm

Standalone library and VB code

Post by tassos » Sun Apr 01, 2018 12:16 am

Hello all.

I am relevant new to digiCamcontrol and i am trying to build a simple VB application using the digicamControl standalone library.
I am facing an issue where i cannot initialize the connected cameras to my PC. Here is my sample code:

Code: Select all

Imports CameraControl.Devices

Public Class Form1
    Public Property DeviceManager As CameraDeviceManager

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        DeviceManager = New CameraDeviceManager()
        DeviceManager.UseExperimentalDrivers = True
        DeviceManager.DisableNativeDrivers = False

        DeviceManager.ConnectToCamera()

        For Each cameraDevice As ICameraDevice In DeviceManager.ConnectedDevices
            TextBox1.AppendText(cameraDevice.DisplayName)
        Next

    End Sub
End Class

Could you please advise me what i am doing wrong?

Tank you,
Tassos

Standalone library and VB code

Advertisment
 

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest