A
Abraham Khalil
Here's an example -
Have a method in one of my main class bean called
public MailBean getMessage(int number) {
}
and MailBean has the methods of a message to getSubject, recipients
etc
I've package my main bean class that's using getMessage method as a
jar then create dll
Same concept with MailBean class. All my bean classes implements
Serializable just in case...
The problem is how do I use the MailBean java object in VB?
Tried with late binding as:
Private objMyBean As Object
Set objMyBean = CreateObject("MyBean.Bean") // Main bean class
// Now in MyBean class has method of getMessage that returns another
bean object
// How to do this part?
Tried...
Dim objMailBean As Object
Set objMailBean = objMyBean.getMessage(1)
Getting some Automation error trying to access getSubject method of
the objMailBean object
For some reason it doesn't recongize objMailBean as a MailBean.Bean
object? Any ideas?
Thanks
Have a method in one of my main class bean called
public MailBean getMessage(int number) {
}
and MailBean has the methods of a message to getSubject, recipients
etc
I've package my main bean class that's using getMessage method as a
jar then create dll
Same concept with MailBean class. All my bean classes implements
Serializable just in case...
The problem is how do I use the MailBean java object in VB?
Tried with late binding as:
Private objMyBean As Object
Set objMyBean = CreateObject("MyBean.Bean") // Main bean class
// Now in MyBean class has method of getMessage that returns another
bean object
// How to do this part?
Tried...
Dim objMailBean As Object
Set objMailBean = objMyBean.getMessage(1)
Getting some Automation error trying to access getSubject method of
the objMailBean object
For some reason it doesn't recongize objMailBean as a MailBean.Bean
object? Any ideas?
Thanks