Brett Wraight has asked for the wisdom of the Perl Monks concerning the following question:

I am writing a app that uses win32 gui and activex.pm I am also using the DHtmlEdit.pm which is a wrapper that allows for html editing.

This works except for inserting tables in the DHtmlEdit.pm there is this bit of code would any one know how to correct this....

so that tables wills work...I think I need to change this but need some help

# DECMD_INSERTTABLE = 5022,> # TODO : PARAM SafeArray> # Element 1 : I4 number of row> # Element 2 : I4 number of line> # Element 3 : BSTR Table attribut ex: "BORDER=1 BGCOLOR=black"> # Element 4 : BSTR Cell atribut ex : "BGCOLOR=white"> # Element 5 : BSTR Table caption> sub InsertTable { croak("Usage: InsertTable()") if @_ != 1;> my $self = shift; return $self->SUPER::CallMethod ("ExecCommand", 5022, 0); }

Edited by Chady -- added code tags.