I use Visual studio 2005...
here goes some code:

Public Class Form1
Private zero As Double = 0
Private temp As Double = 0
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
If Emant3001.Open(checkBox1.Checked, textBox1.Text) Then
label1.Text = Emant3001.HwId
Emant3001.ConfigAnalog(0.01, Emant.Emant300.POLARITY.Bipolar, 10)
Timer1.Enabled = True
End If
End Sub

Hope this helps