Hello,

I have a vb6 app, the error from event view is
Code:
Faulting application vb6.exe, version 6.0.81.76, stamp 3592011f, faulting module vba6.dll, version 6.0.0.8169, stamp 358b0c74, debug? 0, fault address 0x0001982e.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
And a message box pop out.
Code:
Exception has been thrown by the target of an invocation.
The code is
Code:
Dim sCharacterSet As String
Property CharacterSet As Long 'from a reference
' ......

If sCharacterSet <> "" Then
        If IsNumber(sCharacterSet) Then
            mPrinter.mjPrinter.CharacterSet = Val(sCharacterSet) 'HERE
        End If
    End If
Thanks