Error loading examples
Posted: Fri Oct 05, 2018 8:47 am
hi
trying to use the examples over Visual Studio 2012 I get the error on line starting with While. the error is in "IsNot Form".
any idea to solve it?
(trying to use both Phidget22_TemperatureSensor_VBNET_Windows_Ex_20180905 and Phidget22_HumiditySensor_VBNET_Windows_Ex_20180905)
Dim par As Control = Me.Parent
While (TypeOf par IsNot Form)
par = par.Parent
End While
CType(par, Form).Text = phidget.ChannelName
the code in c# compilate and is able to excute, but on VB.NET not
trying to use the examples over Visual Studio 2012 I get the error on line starting with While. the error is in "IsNot Form".
any idea to solve it?
(trying to use both Phidget22_TemperatureSensor_VBNET_Windows_Ex_20180905 and Phidget22_HumiditySensor_VBNET_Windows_Ex_20180905)
Dim par As Control = Me.Parent
While (TypeOf par IsNot Form)
par = par.Parent
End While
CType(par, Form).Text = phidget.ChannelName
the code in c# compilate and is able to excute, but on VB.NET not