PRB: Using Cut/Copy Items in HTML Edit Control Fails in VJ++ 6.0ID: Q200184
|
The following error occurs when you try to use Cut or Copy in an HTML edit box control:
'0x80000001 - Not Implemented'
To fix the problem, call Application.OLERequired() in your main() method before you call Application.run().
DhEdit adhEdit; // This implements an HTML edit box control.
private void HTMLControl1_documentReady(Object source, DocumentReadyEvent e)
{
adhEdit=new DhEdit();
adhEdit.setMultiline(true);
adhEdit.setWordWrap(false);
adhEdit.setCols(40);
adhEdit.setRows(20);
HTMLControl1.setNewHTMLElements(new DhElement[]{adhEdit});
}
'0x80000001 - Not Implemented'
public static void main(String args[])
{
Application.OLERequired();
Application.run(new Form1());
}
For the latest Knowledge Base articles and other support information on
Visual J++ and the SDK for Java, see the following page on the Microsoft
Technical Support site:
http://support.microsoft.com/support/visualj/
http://support.microsoft.com/support/java/
Additional query words:
Keywords : KbUIDesign kbVJ600 kbGrpJava
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: January 19, 1999