Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21251

Invalid call of argument vb6

$
0
0
Hello guys

I stucked on error but my program works fine i just wanna explanation why im getting this error

Here is the code

Code:

Private Sub cmdencrypt_Click()
  For i = 0 To Len(txtulaz.Text)
    slovo = Mid(txtulaz.Text, i + 1, 1)
    asci = Chr(Asc(slovo) + 1)
    txtizlaz.Text = txtizlaz.Text + asci
  Next
End Sub

and the error says "Invalid procedure call or argument"

Viewing all articles
Browse latest Browse all 21251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>