Yeah, Carl is right, you don't need Xwindows software. So you're running
this on win2k?
try this exact script...
#Begin--
use Tk;
my $mw = MainWindow->new(-title => 'Hello World!!');
$mw->Button(-text => "Done!", -command => sub{exit
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
I noticed that a few of the members of this group have the
send mail as HTML option ON in thier mail program. Could you
please change your Tools/Options/Mail-Format/Message-Format
to 'Plain text' instead of HTML? (Your mail program may have
this setting under a different menu selection.)
(Oh ple
You don't need an Xserver to run perl/Tk on Win32. The users would, however,
need perl and the Tk extension loaded onto their local machine. That's easy,
just download and install everything in 10 minutes from ActiveState!
Even if that isn't an option, you can still use some sort of perl2exe to
c
>system("c:/progra~1/opera/opera.exe $url");
Well this works perfectly fine - my problem is that there's no certifiable
way for me to know if I should get to this point. As mentioned, I try to
find the default browser using the Win32::API call - if Opera is set as the
default, then shortly af
I use Opera as my default browser, have for a long time. Current version is
5.11.
I tried:
#Note the use of forward slashes
my $url = 'http://www.yahoo.com';
system("c:/progra~1/opera/opera.exe $url");
This started Opera. A window was up saying "Opera is not your default
browser, would you like
You can get "Toolkit for Apache"
from http://www.innerdive.com/downloads/taws.zip The TAWS is freeware.
It seems at first glance to be a nice interface for the
Windows version of Apache Server. It even put an icaon in my tray when the
Apache Server is Active, which is nice as I kept
I am using the WriteExcel.pm to make a flat file available to users to
download. When Windows 2000 users w/ 2000 office attempt to download they
are getting an .xls file extension BUT when Windows NT users w/ '97 office
try to download the same file they get an .htm file extension. I think this
> My PROBLEM:
> I want to insert a formatted test , I mean the resulting of the "format"
> command . if I use write every line will go on the STDOUT
> but I want to get all the columns well formatted inside the
> "$TextMessage".
perlform lead me to this:
---
use Carp;
sub swrite {
croak "usag
I'm getting hard crashes when I use a registry check against the default
browser. The program will request the default browser (in this case,
Opera), open the browser correctly, and display the page.
Mozilla/Netscape/IE work fine, but in the case of Opera, I get a infinitely
repeatable crash as so
> My PROBLEM:
> I want to insert a formatted test , I mean the resulting of the "format"
> command . if I use write every line will go on the STDOUT
> but I want to get all the columns well formatted inside the
> "$TextMessage".
> I know it is not clearbut if you manage to understand what I a
-Original Message-
From: Saxena, Saurabh
Sent: Thursday, June 28, 2001 8:47 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Time till millisecond
Thanks Geoff
I have one problem.Actually in my code i am also using "use Time::localtime"
so when i am using this it is not printing the time corre
Hi there,
I try to explain you my problem.
I have created a this window
.
.
my $mw = MainWindow->new( -title => 'TcpExplorer',);
my $TextFrame = $mw->Frame->pack (-expand =>"yes", -fill=>"both");
my $TextMessage = $TextFrame->Text(-width => 152,
-
use Time::HiRes qw(gettimeofday);
$t0 = [gettimeofday];
($seconds , $milliseconds) = gettimeofday;
@t = localtime(time);
$TIME = sprintf("%2s/%2s/%2s/%06s", $t[2], $t[1], $t[0], $milliseconds);
That should print your time out in
hour/min/sec/millisecond
HTH,
Geoff Ellis
Software Developer
--
Hi
Is there any method in perl to get the time in form of "HHmmSSmil" ie
hour/min/sec/millisecond
regards
saurabh
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> -Original Message-
> Behalf Of bruno stefanutti
>
> Hi to all; I would like to access a Microsoft Access report trough perl
> cgi script; I know there exists a WIN32 package to do this.
> Anyone can suggest my the right approach?
> Thanks in advance.
A 'report' in Access is functional
##This always works for me
open(FILEHANDLE, "$file") || die "$!";
@file = ;
close(FILEHANDLE) || die "$!";
$smtp =
Net::SMTP->new('$server');
$smtp->mail($ENV{USER}); $smtp->to("$formdata{'email'}"); $smtp->data(); $smtp->datasend("To:
$email\n"); $smtp->datasend("From:
Hi
Download the zip file of DBI package from ActivePerl on your machine.
Decompress this file in a folder. You should have a readme file with
the command to type for install modules
Sylvain
David McIntyre a écrit :
I need help.
I am trying to install DBI on my NT machine.
I have downloaded and
Title: problem with PPM
I need help.
I am trying to install DBI on my NT machine.
I have downloaded and installed Perl from ActivePerl. Now I want to install DBI but just typing
PPM at the command prompt gives me the following errors.
Element 'OPTIONS' doesn't allow the 'DOWNLOADSTATUS' attri
you can access the database via ODBC by either using Win32::ODBC or DBI /
DBD::ODBC
the link below appears to be a good starter for the latter
The Perl You Need to Know:
Part 6 "Dabbling in Live Databases: Microsoft Access"
http://wdvl.com/Authoring/Languages/Perl/PerlfortheWeb/index6.html
HTH
Title: RE: Install/Relocation perl build 626 > second try
Thank
you very much!
Here
is my path statement.
set
pathPath=C:\Oracle\Ora81\bin;C:\Oracle\Ora81\Apache\Perl\5.00503\bin\mswin32-x86;C:\Programme\Oracle\jre\1.1.7\bin;C:\Oracle\Ora81\Apache\perl\5.00503\bin\;C:\WINNT\sy
Thanks guys. Thats what I was after. Maybe this is a stupid question, but
I'll ask it anyway...
Is there some way of telling when an application is sending output to
STDERR and not STDOUT? Is it just a case of try STDERR if nothing on
STDOUT?
For a quick answer, see below (taken from Perl Cookbook 16.7. Reading
STDERR from a Program):
@result = `c:\\gzip\\gzip.exe -d c:\\gzip\\readme.gz 2>&1`;
foreach $line(@result) {
print "the output of the command is $line";
}
(Note: I dropped the '\n' on the print line as the output usually
Title: RE: Install/Relocation perl build 626 > second try
I know its a silly question, but whats your path statement look like. Can ya paste the output of a 'set PATH' from a console window?
And how are you running ppm, are you just typing 'ppm'(in which case you're probably gettin
Title: Re: Installing Microsoft ODBC driver for Oracle 8i
Hello,
I am not getting too far installing the ODBC driver from Microsoft for ORACLE.
I have been looking at Q175018 off the Microsoft support web site.
I have downloaded the MDAC 2.1.1.4202.3 (GA) and installed it
Hi
Anyone knows how to access at environment variables with a CGI
written in Perl.
Cheer,
Sylvain
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
26 matches
Mail list logo