[EMAIL PROTECTED] wrote:
> Has anyone tried using the GUI module with imported
> OLE contants? I'm finding that if I try to use
> something like
>
>      use Win32::GUI;
>      use Win32::OLE::Const ('Microsoft Excel');
>
> some of my controls aren't defined.  I've only noticed
> it with RichEdit fields but it may affect other things
> as well.

there was a discussion about this on Perl-Win32-Users
some times ago; you can search for 'RichEdit' in the
mailing list archives. one workaround is to load the
OLE constants in an hash rather than in the main
namespace, something like:

    use Win32::OLE::Const;
    my $EX = Win32::OLE::Const->Load('Microsoft Excel');

    print $EX->{xlMarkerStyleDot};
    
cheers,
Aldo




Reply via email to