How to pass a boolean parameter from VB to Java?

Does anyone know how to call a java method with a boolean parameter from VB?

I have a Java object returned from a method invocation on the packaged JavaBean. This Java object has a method that takes a boolean. I get a type mismatch error when I call this method in VB and pass in a Boolean variable.

When I pass an Integer (or Long) to a int it works.

Can anyone help? Thanks.

Anthony

[422 byte] By [t_a_chen] at [2007-9-26 4:13:29]
# 1
You should make sure that the variable is a Variant Boolon the VB side. For all simple Variant's the ActiveX bridgeprovides a mapping between Variant and Java simple datatype.Sylvia
schleute at 2007-6-29 13:20:14 > top of Java-index,Desktop,Deploying...