in reply to Getting VBA code to run a Perl script in a network drive
the start command (if you can execute system commands from vba) with the perl file as the parameter should work on a windows box. if the machine is constantly connected to the network with the same name then you can identify it. However the request initiator will need to send a request to a request handler on the target machine.. the request handler would then execute the program on its local machine. IO::Socket would be your best bet to get started in terms of setting up a requester/handler mechanism. However you will need to translate the network name to an IP address. CPAN might have a module that will do that. i.e \\HANDLER eq '192.168.1.105' Having the perl program held on the network drive isn't an issue.. the handler just has to know what drive letter it is mapped to on the handler. the requestor doesn't care.
/ramble off
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting VBA code to run a Perl script in a network drive
by Win (Novice) on Dec 09, 2004 at 14:20 UTC | |
by PreferredUserName (Pilgrim) on Dec 09, 2004 at 15:07 UTC |