On Fri, 26 Nov 2004 20:41:01 -0800, $Bill Luebkert wrote:
> peace under the tree wrote:
>> I code this program but It don' t run, I don't know what the
>> problem with it, Can anyone help? Thank you!
>>
> Try (note the quoted numbers in hash keys) :
To follow up on what Bill said and better unders
peace under the tree wrote:
> hi, everyone
>
> I code this program but It don' t run, I don't know what the problem
> with it, Can anyone help? Thank you!
>
Try (note the quoted numbers in hash keys) :
use strict;
print "Enter id: ";
chomp (my $id=);
my @res = match ($id);
print "@res\n";
su
hi, everyone
I code this program but It don' t run, I don't know what the problem
with it, Can anyone help? Thank you!
#!/perl/bin/perl
use strict;
print "Enter id: ";
chomp (my $id=);
print match($id);
sub match
{
my $matchID=shift;
m
Leroy G. Blimegger Jr. wrote:
> All,
>
> Has anyone used the Win32::Process::Info package? I'm trying to determine
> which processes are running on a machine. I can get all of the PIDS, but I’m
> having difficulty getting the PID info:
>
> use Win32;
> use Win32::Process;
> use Win32::Process::In
All,
Has anyone used the Win32::Process::Info package? I'm trying to determine
which processes are running on a machine. I can get all of the PIDS, but Im
having difficulty getting the PID info:
use Win32;
use Win32::Process;
use Win32::Process::Info;
$pi = Win32::Process::Info->new ();
@pids =
Richard,
Excellent suggestion! Though, I think there's a small possibility that a new
instance of Excel could be started between the time I get all the PIDs for
Excel and I start my own instance. But, for now, I think it's a good
workaround for my problem.
I'd still like to determine why the des
Bill,
> The problem is that some of the double-quoted strings contain
> newlines. OK, there are a lot of newlines in these quoted
> strings - and they have to remain in the data.
You could be lucky and get away with setting the record delimiter to be
a qw(\"\n). It depends on how well you can t
A completely untested thought that popped into my head when reading the
thread...
Get all PIDs for Excel instances.
Start your instance of Excel.
Get all PIDs for Excel instances.
This way you should be able to work out which one is yours?
Like I said, untested, and just a thought.
R.
Rob,
Yeah, after you mentioned Win32::Process, I thought I might be able to use a
combination of that and Win32::OLE, but as you said, I have no way to pick
the specific instance of Excel that I started using OLE. And since these
apps are run on engineering workstations, it's very likely that ther
Leroy G. Blimegger Jr. wrote:
Should have known you'd be using Win32::OLE.
I really don't know much ... and that's especially true of Win32::OLE.
But if you have an instance of Excel that you've started with
Win32::Process, you could access *it* instead of starting up a new
instance of it:
10 matches
Mail list logo