I am now using callbyname. It works fine for the read portion of my form, but the write side returns an error. The error says that my command dosn't accept this number of arguments. I only need one argument to read (probe position = x) but I need two arguments to write (probe possition = x, new value = b). How do I pass both arguments?
a = "get" + Controls("Label " & c).Text
Controls("TextB ox"...
User Profile
Collapse
-
-
Use string to call function
I want to use a string to call a function. I will just post the code because I don't really know the terminology or how to program for that matter. I am using Visual Studio express.
Public Class Form1
Dim estt As New Test.Unit.Drive r.Probe
Dim c As Integer 'counter
Dim x As Integer 'sensor position
Dim rw As String 'read/write
Private Sub ReadButton_Clic k(ByVal...
No activity results to display
Show More
Leave a comment: