RE: Create ODBC Datasource was (no subject)

2002-01-24 Thread Price, Steve A
Juergen, As fars as NT/Win2k goes, you can create a system DSN for an ODBC datasource with a bit of Win32::TieRegistry and Config::Ini here is a sample script for an SQL Server ODBC data source. If your using a different ODBC datasource than SQL Server, have a look with regedit at HKEY_LOCAL_MACH

Re: FW: Slightly OT: How does one get access to PerlScript

2002-01-24 Thread Simon Oliver
Adam Frielink wrote: > > And does this require Perl to be installed on ALL my potential viewers as > well? Or just the server? For server side scripts (asp or CGI) just the server. For client side PerlScript just the client - but don't do that, use server-side instead. See PerlScript in the A

RE: Sending text to other windows with Win32::GUI

2002-01-24 Thread Scott Campbell
Yes, this is very simple and works! Thank you. My one wish is that whenever text is sent to the main gui window, it would append it on, and not overwrite the current text already in the window. But I don't see a simple way to do this. Thanks for the help. Scott Scott Campbell Senior Software D

Trying to learn Perl/Tk

2002-01-24 Thread Chris Anderson
Hi all, I am trying to learn Perl/Tk. Where is an excelent, free resource so that I may get actual practice? I learn better by doing, not just reading. Also, and this may be answered by answering the above, I need to create a form that will allow several fields to be input fields and have all

RE: (no subject) - Please always use subject line

2002-01-24 Thread Brown, Bobby (US - Hermitage)
It is most helpful I would think to all if everyone would make sure a proper subject line is used to describe the topic of e-mails. Thanks _ Bobby Brown Security Analyst Deloitte & Touche -Original Message- From: Jürgen Beckedahl [mailt

(no subject)

2002-01-24 Thread Jürgen Beckedahl
Hello everybody, how can I create an ODBC User data source symbol/check for an existing ODBC data source symbol from a perl script ? I need this kind of functionality, because on installation time of my program it is not granted that the ODBC User data source symbol really exists. Thanks for res

Custom Cursors in Win32 - definitely not possible?

2002-01-24 Thread Martin Moss
All, Just before I give up entirely, I just wanted to confirm that there is no method for using custom mouse cursors in Perl TK? This works on unix but not on windows, $MW->configure(-cursor => ['@file.xbm','file.mask','color1','color2']); Nightmare! Marty

Re: Sending text to other windows with Win32::GUI

2002-01-24 Thread Johan Lindstrom
Scott Campbell wrote (on the Perl-Win32 list): >Now this is running as a process. Does anyone know of a way for me to >send text to this window, from another perl process? Heh! I tried this out and it actually works! :) Cool! Consider these files: #!/usr/local/bin/perl -w #File: test14.pl us

question relation to win32

2002-01-24 Thread Manoj Pardeshi
How do I get the messages sent to STDOUT by batch file, executed using Win32::Process below is the piece of code, I am trying to execute.. use Win32::Process; my ($ProcessObj,$exitcode); sub ErrorReport { print Win32::FormatMessage(Win32::GetLastError() ); } W

RE: updating date in a Tk window

2002-01-24 Thread Tillman, James
> of course it only gets updated when $date is *actively* > changed, so i was > wondering how to tell Perl that it should change 'date' every > second without > me having to take care of it. i believe it has something to > do with 'binds' > but couldn't figure out how .. If this what you're af

Re: FW: Slightly OT: How does one get access to PerlScript

2002-01-24 Thread Simon Oliver
Adam Frielink wrote: > > Could someone explain or point me to the place to find > > information regarding PerlScript and the components needed to use > > it on an W2K IIS5 machine? > > > > What do I need to install to make it all work together? Just install the latest ActivePerl - it puts everyth

Win32::FileSecurity & users in another domain

2002-01-24 Thread Geoffrey Leeming
Win32::FileSecurity doesn't appear to identify users in a different domain to the user who runs the script. It returns their permissions correctly, but sets the relevant key in %permissions (which normally holds the userID) to "unknown". Win32::FileSecurity::Get ($filename, \%permissions); for

updating date in a Tk window

2002-01-24 Thread Kuhnibert
g'morning, i have a Tk application with a Label widget just diplaying the current date $date = "Date: " . localtime(); $main->Label(-textvariable => \$date)->pack(); of course it only gets updated when $date is *actively* changed, so i was wondering how to tell Perl that it should change 'date'