You can use Java proxy objects with the ActiveX to Enterprise JavaBeans (EJB) bridge.
Use Java proxy objects with the ActiveX to Enterprise JavaBeans (EJB) bridge, as follows:
... Dim clsMyString as Object Set clsMyString = oXJB.FindClass("java.lang.Integer")
... Dim strHexValue as String strHexValue = clsMyString.toHexString(CLng(255))
... Dim oMyInteger as Object set oMyInteger = oXJB.NewInstance(CLng(255)) Dim strMyInteger as String strMyInteger = oMyInteger.toString