RE: Win32: does anyone know how to fork a process ?

2003-08-25 Thread Carl Jolley
On Mon, 25 Aug 2003, Primanti, Joseph T wrote: > Try this: > > use Win32::Process; > > > my $ProcExe = "c:\winnt\notepad.exe"; > my $ProcCmd = "notepad.exe"; > &createproc($Exe[0], $Exe); > > > sub createproc() { > my ($ProcExe) = $_[0]; > my ($ProcCmd) = $_[1]; > Win32::Process::Create($Proce

RE: Win32: does anyone know how to fork a process ?

2003-08-25 Thread Primanti, Joseph T
Yes you are right. I just took this code snippet from one of my programs and added the first few lines to show what to do. My error. thanks, Joe -Original Message- From: Carl Jolley [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 12:56 PM To: Primanti, Joseph T Cc: Vincent Ribea

RE: Win32: does anyone know how to fork a process ?

2003-08-25 Thread Primanti, Joseph T
Title: Win32: does anyone know how to fork a process ? Try this:   use Win32::Process;   my $ProcExe = "c:\winnt\notepad.exe"; my $ProcCmd = "notepad.exe"; &createproc($Exe[0], $Exe);   sub createproc() { my ($ProcExe) = $_[0]; my ($ProcCmd) = $_[1];  Win32::Process::Create($ProcessObj,  $

RE: Win32: does anyone know how to fork a process ?

2003-08-25 Thread Peter Eisengrein
Title: RE: Win32: does anyone know how to fork a process ? perldoc -f fork ### SAMPLE if (!defined ($child_pid = fork())) {     warn "$0: forking problem."; } elsif ($child_pid == 0) {     print "Starting new_script.pl...\n";     system("perl new_script.pl") && print "Done (pi

Re: Off topic virus thought

2003-08-25 Thread Roger
Around Mon,Aug 25 2003, at 01:03, Michael D. Smith, wrote: > > > How about this for an idea? Put a fake address in the address book to some > made-up address that you know is fake and know not to send mail to. For > instance, "[EMAIL PROTECTED]" You could come up with something > better than

Win32: does anyone know how to fork a process ?

2003-08-25 Thread Vincent Ribeaud
Title: Win32: does anyone know how to fork a process ? Hi All, Does anyone know how to start a process, on a Win32 platform without hanging the perl process (like system) or never returning (like exec) ? TIA Vincent ADP Wilco --- Direct:     +41 22 787 27

Logon by cdo

2003-08-25 Thread joachim . goerner
> Hi all, > if I run this: > -- > - > use Win32::OLE; > use Win32::OLE::Const; > Win32::OLE-> Initialize(Win32::OLE::COINIT_OLEINITIALIZE); > $cdo = Win32::OLE-> new("MAPI.Session"); > $cdo-> Logon("","",0,1,0,0,'Se

RE: SSH & SCP on Windows

2003-08-25 Thread Scott Scecina
The Win32 SSH implementation for Perl 5.6.x is at http://www.soulcage.com/. It has some limitations, but works for the most part. View the documentation at the site for installation tips. - Scott Scott Scecina In Mind, Inc. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL

Re: Win32::OLE Microsoft Excel

2003-08-25 Thread armin . nolte
Hi, I can't tell you why your construct doesn't work. But did you try to give a Range_Objekt instead of several Cells-Objekts? This is always faster! So try something like this: ... (assume $sheet to be a Excel-Sheet-Object)... my $range1 = $sheet->Range($sheet->Cells(1,1) , $sheet->Cells( 4 ,

Re: Off topic virus thought

2003-08-25 Thread Michael D. Smith
Sorry about the off topic post but viruses are a problem we all deal with and I can't think of a better bunch of people to ask a computer question. I've been asked several times, "I have the latest updated virus software. Is it still possible I have a virus?" Any programmer knows the unfortunate

In Excel: How to make a freeze pane?

2003-08-25 Thread Randy Strauss
In Win2000 Excel there's a VB command on the ActiveWindow to make a freeze-pane (this makes a left-side column or an upper row be just outside the scrolling region so they don't scroll as the document scrolls so that one always has a visible legend.) To access this from the UI, select the first

Where's Win32::OLE docs? And here's how to merge cells in Excel

2003-08-25 Thread Randy Strauss
Is there some way to find decent docs on what perl can access? The VB Editor's object browser, when I look for Merge tells me that there are 3 members of the Range object that might work: Property MergeCells As Variant Property MergeArea As Range read-only Member of Excel.Range Sub Merge([A

Re: how does MSI detect if WSH is installed in a win95 machine ?

2003-08-25 Thread Jan Dubois
On Sun, 24 Aug 2003 21:05:12 -0500, "D Columbich" <[EMAIL PROTECTED]> wrote: >I can not install the msi package of ActivePerl because the installer ask me >to install Windows Scripting Host in the machine, but it is already >installed. I need to know where and what the MSI package read to know if

how does MSI detect if WSH is installed in a win95 machine ?

2003-08-25 Thread D Columbich
I can not install the msi package of ActivePerl because the installer ask me to install Windows Scripting Host in the machine, but it is already installed. I need to know where and what the MSI package read to know if the WSH is installed in windows 95. thanks. DCOM is installed, the library of C t

install perl win95 no detect wsh

2003-08-25 Thread D Columbich
Installing the activeperl msi package in windows 95 cause the installer refuse to follow due to windows scripting host not installed. The wsh 5.6 is installed, and i had installed it twice, at last, i installed it by hand, registering each dll with regsvr32.exe, but the installer of activeperl foll