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?