How to include 1018_2 and 1045_1 in same project

Supporting Visual Studio on Windows
kenbru
Fresh meat
Posts: 4
Joined: Tue Aug 19, 2014 9:13 am
Contact:

How to include 1018_2 and 1045_1 in same project

Postby kenbru » Tue Aug 19, 2014 9:26 am

Is it possible to have both the 1018_2 and 1045_1 work in the same VB app ? I use VB 2010 Express and have two separate apps working fine, but I want to merge them into the same app. I have tried several things like:

Dim WithEvents phidgetTemperature As Phidgets.TemperatureSensor
Dim WithEvents phidgetIFK As Phidgets.InterfaceKit

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
phidgetTemperature = New Phidgets.TemperatureSensor
phidgetTemperature.open()
phidgetIFK = New Phidgets.InterfaceKit
phidgetIFK.open()

End Sub

But I keep getting odd warnings.

User avatar
Patrick
Lead Developer
Posts: 3051
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: How to include 1018_2 and 1045_1 in same project

Postby Patrick » Tue Aug 19, 2014 9:59 am

What kind of odd warnings? This should work just fine.

-Patrick

kenbru
Fresh meat
Posts: 4
Joined: Tue Aug 19, 2014 9:13 am
Contact:

Re: How to include 1018_2 and 1045_1 in same project

Postby kenbru » Wed Aug 20, 2014 9:21 am

I messed around a bit and now it works, thanks :D

-Ken


Return to “VB .NET”

Who is online

Users browsing this forum: No registered users and 1 guest