SerialPort problems -- cygwin / win32 / *nix

2005-04-29 Thread robert johnson
hello i have been using activestate's perl for win32 just fine, except that i cant do ZModem transfers. so I installed CYGWIN, and built a new perl in that environment, with the hopes i could use available zmodem routines built for *nix. problem is, whereas Win32::SerialPort worked just fine in

Re: SELECT substring of column into a variable

2005-04-29 Thread Craig Cardimon
Will do. Renshaw, Rick (C.) wrote: When you use a computed expression in your select, SQL Server gives it a default name unless you specify one. So either try to retrieve the column with the name 'Expr1' (the default name for the first expression in the query) or change your query to specify a nam

Re: captive cursor

2005-04-29 Thread Jeff Schultz
> The problem here seems to be with -multiline, because if you comment that > out it works. Probably best to use a RichEdit. > I just wanted to add that this is standard Windows multiline textbox behavior. Tab and Enter keys are kept within the control because they are supposed to be and that is

SELECT substring of column into a variable

2005-04-29 Thread Craig Cardimon
What I'm trying to do looks something like this: SELECT substring(ContractTerms, 0, 1000) "$ContractsTest_ContractTerms" FROMContractsTest WHERE refnum = '1' I'm using Perl 5.8.6.811 on Windows XP Pro. I'm using Win32::ODBC to connect to a SQL Server 2000 database. I'm printing out the res

Re: Can't unload hive

2005-04-29 Thread Lyle Kopnicky
I talked to the author of Win32::TieRegistry, Tye (!) McQueen. The problem is that the module is trying to unload the hive when the object is destroyed, at the end of the file, but it has already been unloaded. The solution is, instead of writing $ProfileHive->UnLoad; is to write undef

RE: captive cursor

2005-04-29 Thread Peter Eisengrein
> > my $Text = $W->AddTextfield( > -name => 'TextField', > -text => 'example', > -top => 10, > -left => 10, > -width => 480, > -height => 300, > -multiline => 1, > -tabstop => 1, > ); The problem here seems to be with -multiline, because if you comment that out it works. Probably best to use a R

Re: captive cursor

2005-04-29 Thread Octavian Rasnita
Hi, Here is a test script that shows that the cursor cannot be moved out from a Textfield using key. I have also noticed that I cannot put a "\n" (or better said "\r\n" character in the text field when pressing enter, and I need to press control+Enter to be able to insert an end of line. I guess

RE: captive cursor

2005-04-29 Thread Peter Eisengrein
> > > > > > I have created a program with a few controls including a text > > > field, but if > > > I move the focus to that text field (or rich edit) I cannot > > > move the focus > > > to another control using the tab key, but only the mouse. > > > For the RichEdit, there may be a more elegant

Re: general question

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
$Bill Luebkert [BL], on Friday, April 29, 2005 at 03:34 (-0700) typed: BL> He was responding to an earlier thread. Obviously he didn't follow BL> proper etiquette and leave enough of the orig post to allow you to BL> figure out what he was responnding to. ah I see now. It is sometime ok, when on

Re: general question

2005-04-29 Thread $Bill Luebkert
Ing. Branislav Gerzo (mail-lists) wrote: > Spencer_Lists [SL], on Thursday, April 28, 2005 at 20:11 (-0700) made > these points: > > SL> creation and management. After using perl for about 3 years, it is > SL> difficult to imagine how I could have lived without it. > > that's nice. I put in my m

Re: Win32-API and ghostscript API

2005-04-29 Thread Sisyphus
From: "Rogers, John" <[EMAIL PROTECTED]> > > Current state of play, > can start instance and delete it. But cant exit or use it ! > Took a while - but here 'tis (or at least *one* way of getting the job done): use warnings; use Win32::API; Win32::API::Struct->typedef( PINSTANCE => qw{

Re: FTP modules

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
Kelly Stumbaugh [KS], on Thursday, April 28, 2005 at 09:12 (-0700) thoughtfully wrote the following: KS> Does anyone running Perl on Windows recommend a module for FTP? I have KS> tried Net::FTP::Common, but I can't get it to work and there isn't much KS> in the way of documentation. If you have

Re: General question.

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
Артем Аветисян [], on Thursday, April 28, 2005 at 19:05 (+0400) made these points: > Is there any serious usage of Perl for Windows? of course, portability is powrful thing. I write scripts under windows, after that I put them on my FreeBSD machine and 99% wof them works. Also regular expressions

Re: general question

2005-04-29 Thread Ing. Branislav Gerzo (mail-lists)
Spencer_Lists [SL], on Thursday, April 28, 2005 at 20:11 (-0700) made these points: SL> creation and management. After using perl for about 3 years, it is SL> difficult to imagine how I could have lived without it. that's nice. I put in my mailer ctrl+f, ?, enter -> nothing found. Where is your g