dcsimg
Problems with using the Javabeans activex bridge.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mat_Kae
Posted On:   Thursday, June 3, 2004 11:08 AM

Hi, When testing my activex control after using the javabeans activex bridge to create it from a javabean, I've run into a rather odd problem. get Methods seem to return values from the wrong methods! For example, let's pretend my activex control stores values about a person. getName would return their age, while getAge might return null! Something is also going wrong with my method that accepts input and returns a value (okay, it is a money conversion program!)... it is returning null! They are consistently returning the same, wrong values each time. I have verified that all these methods work perfectly by running the code in JBuilder with a Main class.    More>>

Hi,


When testing my activex control after using the javabeans activex bridge to create it from a javabean, I've run into a rather odd problem. get Methods seem to return values
from the wrong methods! For example, let's pretend my activex control
stores values about a person. getName would return their age, while
getAge might return null! Something is also going wrong with my method
that accepts input and returns a value (okay, it is a money conversion
program!)... it is returning null!


They are consistently returning the same, wrong values each time.


I have verified that all these methods work perfectly by running the
code in JBuilder with a Main class.


Any idea what to do?


(also, has anybody had any luck getting the activex bridge to work
with vb .NET, with or [hopefully] without vb6?)


Thanks!

   <<Less
About | Sitemap | Contact