Karl Blessing
Programmer
I tried to load a simple ActiveX control into a Java applet, the ActiveX is a simple one I made in VC++, with a single exposed Method that adds two number, when I use a COM Wrapper on it, and have this code:<br>
<br>
exposedsimple.ExposedSimple.ExposedSimple MyAct = new exposedsimple.ExposedSimple.ExposedSimple();<br>
<br>
MyAct.createControl();<br>
NumB = MyAct.AddThem((short)5,(short)5);<br>
<br>
The Applet remains gray(and never hits the breakpoint I set afterwards), and the Status at the bottom of the Browser said:<br>
"exception: com.ms.wfc.core.WFCException: ActiveX control's top level parent has to be derived from class Form"<br>
<br>
from this I think it means the object I place the Control on, has to be on a Form, is there anyway I can put it on an Applet, even if not visually(being able to use it's methods and what not)<br>
<p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
<br>
exposedsimple.ExposedSimple.ExposedSimple MyAct = new exposedsimple.ExposedSimple.ExposedSimple();<br>
<br>
MyAct.createControl();<br>
NumB = MyAct.AddThem((short)5,(short)5);<br>
<br>
The Applet remains gray(and never hits the breakpoint I set afterwards), and the Status at the bottom of the Browser said:<br>
"exception: com.ms.wfc.core.WFCException: ActiveX control's top level parent has to be derived from class Form"<br>
<br>
from this I think it means the object I place the Control on, has to be on a Form, is there anyway I can put it on an Applet, even if not visually(being able to use it's methods and what not)<br>
<p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)