Re: Win32::OLE events callback not executed

2012-04-12 Thread haratron
I'm willing to pay anyone that can make this work. If anyone is interested, send me a personal email. Thanks On Sun, Mar 25, 2012 at 12:52 AM, haratron harat...@gmail.com wrote: I'm so desperate about this. Could anyone at least point in the right direction? Is WithEvents broken? There's the

Calling a Perl exe with VB - VB/Windows changing current path

2012-04-12 Thread Ashley Hoff
Howdy Fellow Win32 Perl users. At the moment we are in the process of modding a few file munging app's to make them Cross platform - this means taking the existing Perl from our Unix based servers, making them compatible with Win32, compiling using PDK and then modding some existing Windows apps

Re: Calling a Perl exe with VB - VB/Windows changing current path

2012-04-12 Thread Justin Allegakoen
On 13 April 2012 08:37, Ashley Hoff ah...@dataaction.com.au wrote: ** Howdy Fellow Win32 Perl users. At the moment we are in the process of modding a few file munging app’s to make them Cross platform – this means taking the existing Perl from our Unix based servers, making them compatible

RE: Calling a Perl exe with VB - VB/Windows changing current path

2012-04-12 Thread Jan Dubois
An executable built by PerlApp can call the PerlApp::exe() function to get the location of the executable itself. Cheers, -Jan From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Ashley Hoff Sent: Thursday,

RE: Calling a Perl exe with VB - VB/Windows changing current path

2012-04-12 Thread Tobias Hoellrich
With PDK compiled EXEs you can also PDK-specific PerlApp::exe() function (http://docs.activestate.com/pdk/9.1/PerlApp.html#perlapp_exe) to easily get the path of the PDK application that's currently executing. So something like: my $folder=PerlApp::exe(); $folder=~ s/(.*?)[^\\\/]+$/$1/; print

RE: Calling a Perl exe with VB - VB/Windows changing current path

2012-04-12 Thread Ashley Hoff
Looks like we have a winner! FindBin seems to work perfectly for what I require. I think I would also prefer to use this over PerlApp::exe(), as it gives me just that bit more flexibility, especially considering that it will run on the UNIX environment as well. Cheers