Re: WMI Problem

2007-11-15 Thread StoneBeat
Finaly, WMI appears to be broken (at least in remote mode) I have try with : wmic /USER:administrador /PASSWORD:test /node:192.168.8.13 path Win32_Product get name and: wmic /USER:administrador /PASSWORD:test /node:192.168.8.13 path CIM_Product get name and, in first case, no records, in

Re: WMI Problem

2007-10-30 Thread StoneBeat
that were installed on the remote system. Steven From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of StoneBeat Sent: Monday, October 29, 2007 8:30 AM To: perl-win32-users@listserv.activestate.com Subject: WMI Problem

WMI Problem

2007-10-29 Thread StoneBeat
Hi, Im triying to execute a remote WMI query with this script: -- use strict; use warnings; use Win32::OLE qw( in ); use Win32::OLE::Variant; use constant wbemFlagReturnImmediately = 0x10; use constant wbemFlagForwardOnly = 0x20; use constant wbemFlagBidirectional = 0x0 ; $| = 1;

Re: [OLE] InstallPKCS7 (Certificate Installation method) [OLE]

2007-06-14 Thread StoneBeat
*** How to install a PKCS7 Certificate with Perl *** First of all, you may think in a few Questions: What is the certificate purpose and where do you want to install the certificate. For example, if you want to install a certificate for your wireless WPA infraestructure, you, probably want to

Re: [OLE] InstallPKCS7 (Certificate Installation method) [OLE]

2007-06-12 Thread StoneBeat
*** How to install a PKCS7 Certificate with Perl *** First of all, you may think in a few Questions: What is the certificate purpose and where do you want to install the certificate. For example, if you want to install a certificate for your wireless WPA infraestructure, you, probably want to

Identify if a program is running on a Laptop or Desktop system

2006-09-11 Thread StoneBeat
Hi, i want to code a program that if it is running on a laptop system do something but if the host is not a laptop, do another. Im thinking in registry keys, WMI querys ... but really I dont know where search to fingerprint the host. Thanks ___

Re: Cross platform issues

2005-10-06 Thread StoneBeat
hi Try adding Win32::Console-import; and Term::ANSIScreen-import; Before require El Jueves 06 Octubre 2005 10:13, John Serink escribió: Hi All: Ok, I need to use either Win32::Console or Term::ANSIScreen depending whether I'm on a Linux platform or Windoze box, so I do this: if($^O eq

Re: Problem With Win32::OLE and InternetExplorer.Application

2005-07-14 Thread StoneBeat
It must be with InternetExplorer.Application. I have tryed with Microsoft.XMLHTTP and it works but, this object dont use Internet Explorer and for my project i must use it. Thanks Bill El Jueves 14 Julio 2005 03:30, $Bill Luebkert escribió: StoneBeat wrote: Hi, i am triying to do a POST

Problem With Win32::OLE and InternetExplorer.Application

2005-07-13 Thread StoneBeat
Hi, i am triying to do a POST request with InternetExplorer.Application but the object refuses to do it and always does a GET request. Searching in MSDN i have found : http://msdn.microsoft.com/workshop/browser/webbrowser/reference/methods/navigate.asp and my Code is : use Win32::OLE

Problems with Win32::Perms

2005-04-21 Thread StoneBeat
Hi i want to set and audit ACL to a registry key with Win32::Perms and I have this code: --- use Win32::Perms; use Win32; $regkey = new Win32::Perms( 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', PERM_TYPE_REGISTRY) || die Error: ($^E) ; $regkey-AddAudit(Everyone,

Re: Win32::OLE-GetActiveObject not working!

2005-01-21 Thread StoneBeat
I have the same problem with new MSN Messenger El Jueves 20 Enero 2005 23:05, [EMAIL PROTECTED] escribió: Richard, I've been having similar difficulty using Win32::OLE with Internet Explorer recently. I wrote code that worked a month ago that doesn't work today. Perl simply can't get

Re: Perl GUI Programming

2005-01-20 Thread StoneBeat
You can try Prima (http://prima.eu.org) It works in Win32, Linux and Solaris and have a very very very nice GUI-builder. El Miércoles 19 Enero 2005 23:21, Dirk Bremer escribió: I am ready to attempt some GUI programming in Perl. I have looked at Win32::GUI and need more documentation for it

Re: GUI front End

2004-10-18 Thread StoneBeat
You can try Prima (http://prima.eu.org) it have a very very useful Visual Builder and you can use in Linux / Windows / Solaris ... El Lunes 18 Octubre 2004 09:41, Leroy G. Blimegger Jr. escribió: All, Over the past few months, I've written several perl scripts that have become very useful to

Win32::MsgBox sometimes appears minimized

2004-10-13 Thread StoneBeat
Hi, i have an application than uses Win32::MsgBox to show errors / events, and sometimes the same msg appears in the foreground (thats ok) but sometimes appears minimized in the background and i don't know why. I have try Perl 5.6.x and 5.8.x Thanks

Re: Perl threads crash perl

2004-07-30 Thread StoneBeat
El Viernes 30 Julio 2004 15:09, John Deighan escribió: Seeing as noone else has responded to this, let me simply say that I tried to develop an application using Perl threads, and in my opinion, Perl threads are seriously broken. We had to re-write the application without threads. The main

Re: kill process running as SYSTEM

2004-05-25 Thread StoneBeat
When i try to kill with Win32::KillProcess any SYSTEM process i get: Could not kill 180: Access Denied at C:/Perl/site/lib/Win32/KillProcess.pm line 42 El Martes 25 Mayo 2004 13:47, Anderson, Mark (Service Delivery) escribió: How does the environment that Stonebeat is in affect the environment

Re: kill process running as SYSTEM

2004-05-25 Thread StoneBeat
, StoneBeat wrote: When i try to kill with Win32::KillProcess any SYSTEM process i get: Could not kill 180: Access Denied at C:/Perl/site/lib/Win32/KillProcess.pm line 42 El Martes 25 Mayo 2004 13:47, Anderson, Mark (Service Delivery) escribió: How does the environment that Stonebeat