Upgrading Calling API Tele Application ?

loyal

Centurion
Joined
Jul 29, 2003
Messages
102
I used this code in Access Application it works fine

Now I need to implement it on VB.NET

But the last line of code stack with syntax error

Can some one offer a solution


Code:
 Dim strDial As String
 Dim ctl As Control

        If TypeOf ctl Is TextBox Then
strDial = IIf(VarType(ctl) > VariantType.Null, ctl, "")
        Else
            strDial = ""
        End If


'This line Stuck with syntax Error
Application.Run("utility.wlib_AutoDial", strDial)
 
Back
Top