Re: Win32::API Help

2006-02-16 Thread Sisyphus
- Original Message - From: Bullock, Howard A. [EMAIL PROTECTED] To: perl-win32-users perl-win32-users@listserv.ActiveState.com Sent: Thursday, February 16, 2006 1:29 AM Subject: Win32::API Help I can't seems to get the API call to work. Can someone give me some guidance? . . Not

RE: Win32::API Help

2006-02-16 Thread Bullock, Howard A.
Thanks to both of you for the feedback. Unfortunately, I could get neither to work. I did find a two call workaround using Win32::Lanman methods. In the long run I really would like to understand how to get this and other API calls to works. Thanks again. From: Sisyphus [mailto:[EMAIL

Re: Win32::API Help

2006-02-16 Thread willem
Sisyphus wrote: my $DsEnumerateDomainTrusts = new Win32::API('Netapi32', 'DsEnumerateDomainTrusts', 'PNPP', 'N'); in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains a DsEnumerateDomainTrustsW and DsEnumerateDomainTrustsA version of this call. willem

Minimize to Tray

2006-02-16 Thread Sky Blueshoes
I'm using Win32::GUI to create a system tray icon. The window hides and everything when you click on the system tray, but how do I bind the minimize button to hide the window like when you click the system tray? I think I'm missing an event sub, but I don't know what to call it. use strict;

RE: Win32::API Help

2006-02-16 Thread Bullock, Howard A.
Willem Wrote: in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains a DsEnumerateDomainTrustsW and DsEnumerateDomainTrustsA version of this call. From the Win32::API docs: Also note that many Win32 APIs are exported twice,

RE: Minimize to Tray

2006-02-16 Thread David Otero
The SkyBlue_Minimize sub should do the trick. I've used the other code before and it's worked out well. Hope this helps. #=== sub SkyBlue_Minimize #=== { $window-Hide(); return 0; } #= sub _Systray_Click #= {

Some Help please

2006-02-16 Thread SolHai Haile
Hi, I am calling a script with in a script and pass a parameter to it. The recieving script won't see the passed parameters. here is what I am doing: #defiend in the calling script my $termPort = 'port1'; system 'xterm -bg yellow -fg black -rightbar -hold -T TEST -e perl

SetupDiGetDeviceInterfaceDetail

2006-02-16 Thread cafs
Hello all; I have a very rough beginnings of a script that I was creating to access HID devices through API. The following script was working on windows 98 but on XP, it fails when SetupDiGetDeviceInterfaceDetail is called. I am not sure if I am packing the required pointers correctly or if I am

RE: Some Help please

2006-02-16 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: Hi, I am calling a script with in a script and pass a parameter to it. The recieving script won't see the passed parameters. here is what I am doing: #defiend in the calling script my $termPort = 'port1'; system 'xterm -bg yellow -fg black -rightbar -hold -T

Need help on printing to Windows Default Printer, please...

2006-02-16 Thread Jim Agnew - Department of Neurosurgery, VCU Medical Center
Dear All, I've written program to print text to lpt1 reading a text file, defining the font via hp's pcl, and putting the text out, to let a printer have 132 collumn printouts... it will not run on a co-workers's computer.. I've tried the Printer.pm, and one other thing from Active state

Re: website providers

2006-02-16 Thread Kevin Carothers
Unless I'm missing something can't you just go into excel and do a file - save as - filename.html and upload it to your web ISP.. KC On 2/15/06, Giuoco, Aaron [EMAIL PROTECTED] wrote: OnSmart will probably be good for what you want to do:http://www.onsmart.com/linux.htm$90/yearI've been using

RE: Calling .NET from Perl

2006-02-16 Thread Jan Dubois
On Thu, 16 Feb 2006, Smith, Barry wrote: Does this allow you to call .NET objects..I'm thinking of MSSQL 2005's SMO? Yes, it does. Cheers, -Jan On Fri, 10 Feb 2006, Jan Dubois wrote: On Thu, 09 Feb 2006, Lyle Kopnicky wrote: Does anyone know of a way to call .NET assemblies from a Perl

RE: Win32::API Help

2006-02-16 Thread Allegakoen, Justin Devanandan
---8-- in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains a DsEnumerateDomainTrustsW and DsEnumerateDomainTrustsA version of this call. From the Win32::API docs: Also note that many Win32 APIs are exported