A
Ann
Does somebody know why I get a blank string in strA?
"
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(ByVal objA As Integer)
objA = 1234
End Sub
End Class
"
"
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(ByVal objA As Integer)
objA = 1234
End Sub
End Class
"