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

Dear Monks,

I don't know much about Visual Basic. I'm looking at a Microsoft Windows Software Development Kit (SDK) and it has sample code in VBasic. Would you please tell me where I may find some information on how to convert these VBasic examples to Perl? Better still, if I am looking at some objects on a SDK, how may I invoke them in a Perl script? I have written Perl scripts accessing WMI objects. Are there any similarities?

Any help or pointer will be greatly appreciated!!!
  • Comment on How to convert VBasic sample code to Perl

Replies are listed 'Best First'.
Re: How to convert VBasic sample code to Perl
by tachyon (Chancellor) on Sep 10, 2004 at 07:38 UTC
    Win32::OLE and Win32::API are what you want. Then it depends on what you want to do. There are lots of examples on PM so use SuperSearch and of course Google is useful.

    cheers

    tachyon

      THANK YOU!!! Have a nice day!