Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: How to find GUID of Typelibrary for a given OLE Object?

by barbie (Deacon)
on Mar 30, 2005 at 23:30 UTC ( [id://443641]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to find GUID of Typelibrary for a given OLE Object?
in thread How to find GUID of Typelibrary for a given OLE Object?

This is the PROGID, which doesn't appear to be returned by Win32::OLE. However you could cheat and add the following to the previous code:
sub ApplicationTypeLib { my $typelib = shift; $typelib =~ s/\.Application//; for my $lib (@Library) { return @$lib if($lib->[1] =~ /$typelib/); } return (); }

--
Barbie | Birmingham Perl Mongers user group | http://birmingham.pm.org/

Replies are listed 'Best First'.
Re^4: How to find GUID of Typelibrary for a given OLE Object?
by Anonymous Monk on Mar 31, 2005 at 09:08 UTC
    Thanks for your answer! Is this hack GUARANTEED to work for any ActiveX object name (i.e. is this naming scheme a some form of a standard)? (I mean is there anything regarding this in OLE specs)? Can I rely on this hack in my code?
      Using Perl with OLE. There are various tools available in the market to get the GUID's. The one that comes with Active Perl k/a browser works well. And then there are ways to track it via registry and Microsoft OLE viewer also.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://443641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found