Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

invalid procedure call or argument in VB

Hi every body, I need some help, I am doing the Vehicles collection programm and I get the run-time error 5, invalid procedure call or argument, I try to solve it but no way.
Thank's
 
Public Function Item(ByVal strKey As String) As CVehicle
'Select a member from the collection
 Set Item = mVehicles.Item(strKey)
End Function
0 Kudos
Message 1 of 2
(3,658 Views)

Hello,

first of all, a couple of questions for you:

1)What NI HW are you using and for which purpose

2)What is your code related to? Have you taken it from an NI libraries example? Which one?

Thank you,

RL 

0 Kudos
Message 2 of 2
(3,631 Views)