What he has is useable except for this little caveat...
> > and displays these amounts in an diagram. (vertical axis the amounts and
> > horizontal a-z;0-9;special characters, whereby capital letters
> and lowercase
> > letters are treated the same)
>
> use strict;
> use warnings;
>
> open FH, 'fi
>
> I have another question,
>
> I have string like "> GENERATION 116", How can I get rid of ">", of the
> string?
If you want to remove the 1st character if it is a ">", then use this...
$var =~ s/>//;
$var =~ s/^>//; #This removes it only if it is the first character
___
I cannot find a PPM for this and when I compile it with VC++ v6 standard, I
keep getting failed tests during the 'nmake test' stage.
C:\Documents and
Settings\Adam\Desktop\Win32-API-0.41.tar\Win32-API-0.41>perl Ma
kefile.pl
Writing Makefile for Win32::API::Callback
Writing Makefile for Win32::API
Anyone have some though about how to do this properly?
Thanks
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Adam Frielink
> Sent: Thursday, February 27, 2003 1:15 PM
> To: Perl-Win32-Users (E-mail)
> Subject: Win32::API
I posted this yesterday on the Win32-database list and got no response. Can
anyone help with this problem?
I am trying to debug this script of mine, but I cannot seen to understand
why I get the following error...
"Tk::Error: Can't locate object method "new" via package "XBase" at
C:/Perl/sit
filehandles
> print $sock "BYE\n";
> close $WTR;
> close $RDR;
> close($sock); # Close socket in child process
> last; # Exit current WHILE loop to proceed to
> Exitting child
> }
>
>
Using method that requires a boolean (TRUE/FALSE) value sent, I get a
type/mismatch error when I pass a 1 or 0. I know I cannot type a perl
scalar to a boolean, but is there a way around this? My project hinges on
setting this one value, any help is appreciated.
The code is simple...
$CR->Pri
>
> It seems that If the image type is .BMP it works fine.
> But if its a .JPG it doesn't.
>
> Joy.
The JPG would work if you turn on the 'Active Desktop'
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveStat
>
>
> A little more research turned up the SHGetSpecialFolderLocation API call
> from the Shell32 library. You can verify this on the MSDN web
> site in their
> reference area. I would highly recommend getting this folder location
> through the API. Microsoft has many ways of punishing those wh
I have been looking for a way to determine the path of the 'My Documents'
folder for a PC. I assume this is a registry setting. I did a search for
this through MY registry and the only potential references I can find refer
to a shell32.dll,9227. I don't have a clue as to what that means.
Is th
> I have been trying to use Tk's Message Box without success...
Try
Tk::DialogBox - create and manipulate a dialog screen.
use Tk::DialogBox
...
$d = $top->DialogBox(-title => "Title", -buttons => ["OK", "Cancel"]);
$w = $d->add(Widget, args);
...
$button = $d->Show;
-
I have access to some demostration software that displays the contents of
HPPCL codes visually on screen. Has anyone seen something like this
attempted with Perl?
This software I am reviewing also works with zipped PCL (about 5% the size
of the original PCL) and 10% the size of a comparable PDF
Does anyone know of a module for converting DIF files to any other file
format.
I have the specification for the DIF format but it will be a small hassle to
implement and I thought it would be nice to not re-invent the wheel.
Or would people suggest having it imported into Excel/Access and then
this works also, the difference between the two options provided would be
whether you want the url for the next.htm file to be visible in the browser.
Decide what is best for your needs.
Adam
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of C.
> Chu
Well,
in the output from your perl script (I am assuming you are doing it as a CGI),
use the redirection header to advise the browser to goto a new page... The
actual output looks similar to this...
This
goes in the portion of the website.
The
'5' in that tag tells the browser to w
Well, to create a mdb on the fly, the easiest way is to Use ACCESS via OLE.
But Mike's suggestions is excellent, simply copy and rename a black one. In
addition, then use a DSN-Less ODBC connection to access it from there and
transfer all the data you need.
Adam Frielink
> -
I looked at cpan for a module for the DIF file
format(http://search.cpan.org/search?mode=module&query=DIF) and didn't find
one, does anyone know if something exists that can be used?
Could DBD::AnyData be used for this if I found a filter for it?
Thanks for any insight...
Adam
___
When I check my documentation and use PPM to query my installed package, the
DBD-XBase module is 0.161
When I print the version from the Module itself...
print "$DBD::XBase::VERSION\n";
I get a "0.147"
This doesn't seem right to me, is there anything wrong with the
installation?
I have AS
I have a TAB delimited flat file containing Sales History records
This is my first attempt at the DBD:AnyData (got a similar error from
DBD::CSV also) module and I consistently get this error from the following
code...
DBD::AnyData::db prepare failed: Parse error near () FROM SHEPC at
C:/Perl/si
Greetings all,
Does anyone have knowledge of a module to handle RLE compression?
I email alot of PDF documents and was hoping to use some form of compression
on these files. Anyone have another thought of a better way to handle the
compression?
Adam Frielink
Tyco Plastics
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Dunnigan,Jack [Edm]
>
>
> >-Original Message-
> >From: Adam Frielink [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, January 07, 2002 12:16 PM
>
>
Thanks Jack. I guess I wasn't specific enough in my original post to say
that I cannot allow an entry of more than 75 characters and not an entry box
of 75 character width. If I can't find it, I will email you.
Adam Frielink
Tyco Plastics
> -Original Message-
> Fro
Greetings,
Here is a simple one, does anyone know how to limit the length of a Entry
widget in Tk to be no more than 75 characters?
Will this require a Validate callback, or is there an option that can be
setup when I create the Entry widget?
Thanks,
Adam Frielink
Tyco Plastics
file containing this information?
Thanks,
Adam Frielink
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
You may want to check out the mailing list on the AI subject as well..
http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/perl-AI
Adam
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Toby Stuart
Sent: Tuesday, July 03, 2001 12:46 AM
To: 'Christopher
Byron, After reading your initial post, it seems you want to open a Tk
window through a Webbrowser? Is that correct. If so, I don't think Tk is
(or was ever) intended for that purpose. Though, I could be very wrong.
Am I understanding your need properly?
If you are wanting to 'put a file on t
. If there
are multiple pages, append onto the original file.
Adam Frielink
Tyco Plastics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Meegan Goad
Sent: Friday, May 25, 2001 4:06 PM
To: 'Charles Pelkey'; [EMAIL PROTECTED]
Subject: RE: Plea
hould be intertwined (as they are when I run this on
my Unix box). Could someone clarify the issue for me? Does fork() work on
Win98 (or 95, my company is a little behind the times on some PCs) and if
so, why doesn't my AS build 623 not work properly. Will I need to compile
my
ation from the registered apps.
There is a 'Content Type (MIME):' entry in the bottom of that screen.
Adam Frielink
Tyco Plastics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ken
Cornetet
Sent: Thursday, May 17, 2001 3:22 PM
To: '[EMAIL
g the object? Also, am I still consuming memory after the Crystal
object has been undef'd?
Thanks for the wisdom
Adam Frielink
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
Object.
Is there a place where a better definition for this error can be researched.
I use cut and paste from the method browser provided with the software, so I
the method spelling is matching the documentation.
Any further thoughts?
Adam Frielink
Tyco Plastics
-Original Message-
Fr
y. So, I don't know where the problem is found.
Any thoughts,
TIA,
Adam Frielink
Tyco Plastics
use Tk;
$mw = new MainWindow;
$mw->title("Button Manipulation");
my $exit_b = $mw->Button(-text => "Exit",
-command => sub { exit })-
Being the I was a Unix perl fellow prior to this job I am doing now, I am
not familiar with the world of OLE.
Does anyone know of a website where perl and OLE are discussed beyond what
was in the ActiveState documentation?
My current project needs to start the Crystal Report's Report Viewer, mod
just rewrite to
use DBD::ODBC only, which I should have done in the first place.
Adam Frielink
Tyco Plastics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Adam Frielink
Sent: Wednesday, April 18, 2001 1:30 PM
To: [EMAIL PROTECTED]
Subject: Perl2Exe pro
BC; # (this is my line 3.)
USE DBI;
use DBD::ODBC;
use File::Spec;
use File::Spec::Win32;
TIA,
Adam Frielink
Tyco Plastics
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
35 matches
Mail list logo