Search found 6 matches

by pmarlow
Tue Apr 24, 2012 3:32 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Does USBTC-08 work with VB.NET?
Replies: 8
Views: 6361

Re: Does USBTC-08 work with VB.NET?

Great! That did it! Thank you.
by pmarlow
Tue Apr 24, 2012 2:26 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Does USBTC-08 work with VB.NET?
Replies: 8
Views: 6361

Re: Does USBTC-08 work with VB.NET?

Thank you. I had already tried this. It gives an error in VB.NET (won't compile). Has anyone had any success with this? Please offer corrections to my code. Thank you!
by pmarlow
Mon Apr 23, 2012 11:50 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Does USBTC-08 work with VB.NET?
Replies: 8
Views: 6361

Re: Does USBTC-08 work with VB.NET?

Martyn, Thank you. Everything works now except usb_tc08_get_single. Please take a close look at my code and let me know what I am doing wrong. The program crashes at the usb_tc08_get_single function. Declare Function usb_tc08_get_single Lib "c:\PICO\usbtc08.dll" (ByVal handle As Integer, ByRef temp(...
by pmarlow
Mon Apr 23, 2012 5:34 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: USB TC-08 usb_tc08_get_unit_info function VB.NET
Replies: 4
Views: 4417

Re: USB TC-08 usb_tc08_get_unit_info function VB.NET

Thank you for the fast reply. Yes, it works now.
by pmarlow
Fri Apr 20, 2012 3:38 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Does USBTC-08 work with VB.NET?
Replies: 8
Views: 6361

Does USBTC-08 work with VB.NET?

I'm trying to write code for a USBTC-08 (2 units) in Visual Basic 2010 Windows XP using the latest usbtc08.dll. The sample VB6 code that came with the drivers from Pico works fine. But I can't get all the functions to work in VB.NET. Specifically, the functions: usb_tc08_get_unit_info2, usb_tc08_get...
by pmarlow
Fri Apr 20, 2012 2:20 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: USB TC-08 usb_tc08_get_unit_info function VB.NET
Replies: 4
Views: 4417

Re: USB TC-08 usb_tc08_get_unit_info function VB.NET

I'm having the same problem. Any luck finding a solution? The solution posted by Martyn works for VB6, not VB.NET (In VB.NET the info needs to be ByRef, not ByVal, to get data returned, and the string cannot be dimensioned with a fixed length). I tried everything but still couldn't make it work. Ple...