From the ActiveState HTML Help:
"The Win32::OLE distribution now contains a type library browser. It is written in PerlScript, generating dynamic HTML. It requires Internet Explorer 4.0 or later. You'll find it in browser/Browser.html. It should be available in the ActivePerl HTML help under Win32::OLE::Browser.
After selecting a library, type or member you can press F1 to call up the corresponding help file at the appropriate location.
Maybe you're using Navigator, or an older version of IE?
Either way, the OLE browser is just a way get help on the OLE type libraries.
Win32::OLE, btw, "provides an interface to OLE Automation from Perl. OLE Automation brings VisualBasic like scripting capabilities and offers powerful extensibility and the ability to control many Win32 applications from Perl scripts."
I haven't used it myself, though the OLE browser seems to work on both a win98 and win2k machine.
Hope this helps,
~d4vis the scribe
#!/usr/bin/fnord
| [reply] |
Sounds like you don't have PerlScript configured properly in Internet Explorer. Try this:
1. In RegEdit, go to the key: HKEY_LOCAL_MACHINE\SOFTWARE\ActiveState\PerlScript\1.0
2. Change the value of "EnabledZones" to "0x00000001" (enable PerlScript in all zones).
3. Back in the OLE Browser, if the interface still doesn't work, try right-clicking on the middle frame and select "Refresh". It may take a little while to load.
Hope this helps, this is what I had to do to get it to work on my system. I'm not sure why the default value for the registry key (0x00000010 - Enable for local zone) doesn't seem to work. I'd probably change the registry key back to the original value after you're done using the OLE Browser, just to be safe.
- Zoogie | [reply] |
Brilliant!! Thanks, that seemed to work - although I had to reboot my machine for it to load up.
I have been using OLE recently to connect to Access databases. The ADO extension of OLE seems to be really fast. I was testing Win32::ODBC and it seems to take a long time to connect to the database, whereas ADO does it in milliseconds.
Anyway, thank you very much for your help.
$code or die
| [reply] |
UPDATE: By the way, this was meant to be titled 'undef "OLE Browser"' But something uexpected happened :D | [reply] |