A
ann
Does somebody know why I get a blank string in strA? Last
time post the wrong code.
"
Option Strict On
Option Explicit On
Public Class Cast
Private Sub FuncA()
Dim strA As String
funcB(CType(strA, Integer))
MsgBox(strA)
End Sub
Public Sub funcB(ByRef objA As Integer)
objA = 1234
End Sub
End Class
"
time post the wrong code.
"
Option Strict On
Option Explicit On
Public Class Cast
Private Sub FuncA()
Dim strA As String
funcB(CType(strA, Integer))
MsgBox(strA)
End Sub
Public Sub funcB(ByRef objA As Integer)
objA = 1234
End Sub
End Class
"