Hi Doogle, it works very wellthanks for your big help, but there is some mistake in your module generator script, in this line:
it should be:Code:Print #intFileOut, " Translate = Translate & Chr(EBCDICLookup(Asc(Mid$(strEBCDIC, intI, 1))))"
as your post above it.Code:Translate = Translate & EBCDICLookup(Asc(Mid$(strEBCDIC, intI, 1)))
I've tested the function as below:
And returned character 0, (hex F0 in EBCDIC)Code:Private Sub cmdConnect_Click() con.Connect cmdConnect.Visible = False SetUpTranslate strEBCDIC = Chr(240) test = Translate(strEBCDIC) End Sub
I think this post is resolved. Thanks for the simplest solution from Doogle.![]()




thanks for your big help, but there is some mistake in your module generator script, in this line:
Reply With Quote