I'm in need of a standard type file dialog that will allow the user to
select and return multiple directories. OpenDialog() allows multiples, but
only files. BrowseForFolder() allows directories, but only a single one.
Is anyone aware of a dialog that allows multiple directories (or how to
make Wi
> All,
>
> I'm looking for a way to store a large hash within an SQL field and
recall
> it at a later time. I can't seem to find any modules that will convert
> hashes to text and back again, but have found plenty of XML modules that
> don't seem to work. Any ideas?
>
> - Chris
Take a look at the
Is anyone out there successfully using the Win32::GUI::AxWindow module?
Everything works fine until I need to get rid of the activex object and
reclaim it's memory resources ( I realize the best I can hope for here is
to reclaim them for perl, not the OS in general). The Release() method or
u
Sisyphus <[EMAIL PROTECTED]> wrote on 01/17/2004 05:54:22 PM:
>
> I see there's a ppd for DBD::Pg at http://www.soulcage.net/ppds/
>
> I'm guessing it's for perl 5.8, too, as it was put up on 6 Jan 2004 -
> but I don't know for sure.
>
Nope, it's for 5.6.
> Guys,
>
> This has me well and truly confused. I have even copied and pasted the
lines
> from the documentation, and it still won't work!
>
> Can anyone tell me what I'm doing wrong here?
>
> use strict;
> use warnings;
> use Spreadsheet::WriteExcel;
> my $workbook = Spreadsheet::WriteExcel-
> I have a large text file, which contains data in the form:
>
> parameter name="value" // comment about the line
>
> For example:
>
> LCD Display Modes="3" // Add the modes to allow them: 1=status 2=aids
> 4=engine/brake temps
>
> I am trying to make a GUI that will allow you to see the param
steve silvers wrote:> Quick question. I need my script to generate two weeks worth of dates and > days starting with the Saturdays.> > So on Friday 07/04/2003 my script would generate the below for the next two > weeks, and so on..> > 07/05/2003 Saturday> 07/06/2003 Sunday> 07/07/2003 Monday> 07/08
>
> You are probably looking at TK to display the data and using Either
> Win32::OLE or Spreadsheet::ParseExcel to get the data from the excel
file.
>
Take a look at DBD::Excel. Still in its formative stages, but coming along
nicely.
Steve
___
Per
> We are observing this call:
>my @dir = qx(DIR /B "$path" 2>&1); chomp(@dir);
> to intermittently return absolutely NO output
>if (!scalar(@dir)) { ### process strange error
> when we actually KNOW that there are files in
> the directory that is in $path,
> mainly since the exact same
> Yes, the document is open in excel. But the scripts dies on line 4 (
> Spreadsheet::WriteExcel-> new ), which should not and give me $Book
> as undef so I can check it and give the user a warning to close the
> sheet. Tight now the script dies with excel exception errors.
>
While the documen
Chapter 13 of O'Reilly's "Advanced Perl Programming" has a great discussion
of, and example code for implementing RPC in perl. It's missing a few
things (encryption was the first thing I noticed), but is an excellent
starting point if you choose to follow the RPC path.
Steve
> Really, you wa
> Now, getting the window title I don't know about. I was about to suggest
> Win32::Console::Title, but that, I believe, is only the command window
(if
> any) that is running the current script.
>
> Anyone?
>
I would try using Win32::API with autoitdll.dll (hiddensoft.com). I tested
the snip
> > thanx a lott for the information, could you tell me something about DBD
> > (Informix DBD to be specific, and Informix DBD for AIX to be more
> specific).
This is a pretty open-ended question! What flavor of informix do you need
to connect to (Informix cisam, SE, XPS, IDS)? If you hav
> %hash = @array;
>
> Now the keys of %hash are the unique values in @array.
Umm, nope, now the keys of %hash are the unique even index values of
@array.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveS
> I want to convert int(255) to a string of 8 ones (). I have
> been trying to use unpack, but am missing something basic I think.
> I was also playing with the following with less than successful
> results. What am I doing wrong? One guess was the the @mask elements
> are string value
> I would like to make a file read-only, but only if no other process
> currently has it open. I had hoped that setting the read-only attribute
>
> if ( Win32::File::SetAttributes( $file, READONLY ) ) { ... }
>
Try this:
if ($fh = Win32API::File::createFile( $file, 'r', '' ) ) {
> Hello,
> I have an Excel spreadsheet that a person saves to a network
> drive daily. I want to automate the task of opening the file and
> saving it as html (the person can't do it themselves, their not
> technical enough! ). I know the OLE modules can let you manipulate
> the dat
> Has anyone gotten this module to work on Win32? I currently get
> "Can't map service name 'ssh' to port number at D:
> /Perl/site/lib/Net/SFTP.pm line 36" when running the following simple
code:
>
Just a wild guess, but have you tried defining a port for ssh in your
WINNT/system32/drivers
> I am having a Hash_Of_Arrays data structure:
> $hash1 = {
> directory1 => [ files ],
> directory2 => [ files ],
> directory1_subdirectory1=> [ files]
> };
>
> hello to all,
>
>
> Is there a way under windows 2000 via perl to determine when a file is
> currently opened with text editor?
>
Peter Guzis posted code a while back that used Win32::SharedFileOpen +
flock. For reasons that are unclear to me, Win32::SharedFileOpen was not
being polite a
Ok, localtime() has always done what I expected in the past, but on my
win2k machine(and 3 others I have tested), it doesn't.
Under win2k this
print "TZ = $ENV{TZ}\n";
@time = localtime();
print "@time\n";
print "Local: " . scalar localtime() . "\n";
print " GMT: " . scalar gmtime() . "\n";
Is everyone running the script from cmd.exe, or are some of them using
command.com?
Steve
[EMAIL PROTECTED] wrote on 10/10/2002
03:56:50 PM:
> I have this Perl script that I want to be useful for everyone in my
> department. We are all running Windows 2000 and using the same install of
>
Try AutoIt (http://www.hiddensoft.com/AutoIt/), great product that works
very well. You may be able to do what you need with just its scripting
language (compilable into exe's). If not and you need more programmatic
control, I've had good luck using win32::API with the AutoItDLL
ex:
use Win32
> Thanks for the reply. I have included the result set and some more of
the
> code. Your help is appreciated.
>
>
> my $dbh = DBI->connect("DBI:XBase:C:/Perl/progs/customer") or die
> $DBI::errstr;
> my $sth = $dbh->prepare("select ID, First_Name from customer") or die
> $dbh->errstr();
>
Sorry, I got out of the 'doing other people's homework for free' business
after grad school.
Steve
Hi Everybody,
I need help on this :
1) Generate an XML request.
2) Open a TCP socket to www.somename.com on port 100.
3) Strip out any carriage returns or linefeeds fro
Does anyone know how (if possible) to get Win32::Clipboard functionality
in a Citrix environment? Specifically, I would like a PerlSvc service to
be able to acces a specific users clipboard. A quick search and looking
through Dave Roth's book didn't get me anywhere.
Thanks in advance,
Steve
Unfortunately, to this day I spend time maintaining legacy COBOL programs!
The data resides in the .dat (data) and .idx (index) files, the others are
the equivalent of C header files. The .wks is memory declarations and may
not have all / the same information that exists in the data file. T
Hi everyone,
I am writing some modules to parse and unpack ISO 8211 encoded files (many
GB of them), and am having a hard time coming up with an efficient way to
extract some of the binary data. As an example, one type of file includes
records consisting of 32 bit big-endian floats.
Somethi
Check out
http://www.borland.com/devsupport/interbase/opensource/#interbase
You can still pay $$ for 5.5 or 6.5 if you want official support. I used
the MPL'd 6.01 extensively several months ago as an intermediate step while
migrating a large application off of Interbase 5.5 to Informix and it
29 matches
Mail list logo