Can you dynamically build a function call ?

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Is it possible in VB to dynamically build a function call?

eg Something like:
strParams = strParam(0) & ", " & strParam(1)
strFunc = "Logon"
if not( frmMain.objMxAPI.strFunc( strParams ))


Regards,
Simon.
 
* "Simon said:
Is it possible in VB to dynamically build a function call?

eg Something like:
strParams = strParam(0) & ", " & strParam(1)
strFunc = "Logon"
if not( frmMain.objMxAPI.strFunc( strParams ))

Have a look at 'CallByName'.
 
Back
Top