Hi
I'm new to java and have been writing a new java based application. No parts of the application require version 1.5 or greater. I have used version 1.5 and the application works well on my PC. However when I try to run it on a different pc that has version 1.42_09 I get an error message...
Hi
I am trying to get the full path of where the perl script is being run.
For example, I am running a script called test.pl from the folder
C:\Program Files\Perl_test\
By printing $0 in the script the folloing is displayed
c:\Program~1\Perl_t~1\test.pl
Any ideas on how i can get the full...
If i run the following code
$number = (5.74462/100 - 1.0001);
print $number ** 0.56,"\n";
I get the this printed "-1.#IND"
However, if i run the following (change the $number to a number)
$number = 0.9426538;
print $number ** 0.56,"\n";
I get the correct answer printed (-0.26646)
It...
I need to be able to turn off the automatic recalculation of a worksheet for updating.
All goes well creating object etc but i'm unable to turn off the updating.
Here is what I have so far.
#Create and Excel object - No problem here
$ex = Win32::OLE->new('Excel.Application', sub...
Thanks for the reply. Howver as the \ is contained within '' this does not cause Perl a problem.
When you open a XLS that contains links to other spreadsheets you get a message about updating the links containd in the spread sheet. This message current appears when I run my script.
Someone who...
Hi
I'm using Win32::OLE to open a Excel file that has links in it to different sheets.
I would like to open the workbook without updating the links.
VBA to do it looks like this
Workbooks.Open FileName:="C:/file_name.xls", UpdateLinks :=0
i have tried the following without any success
$book =...
Hi
I'm a little confused as to the useage of either | or ||
should I use....
if ($ftp_file_size < $lower_size | $ftp_file_size > $upper_size )
or should i use
if ($ftp_file_size < $lower_size || $ftp_file_size > $upper_size )
Whats the difference beteween the two?
HELP appreciated
Hi
I have written a Perl script that collects files from an ftp server.
###Extract###
foreach $file (@get_files_list )
{
$ftp_atlas->get ($file)
}
Sometimes the FTP server stops responding and the...
I have spent this sunny afternoon in London trying to get perl to link up to a network share (NT Server) and simply lits the files in the shares root directory. My investigation so far tells me that Net resource is the way to go and I even get a sucess when connecting. However i'm unable to...
Many thanks to Parkers.
This is exactly what I wanted. I very much appreciate you taking time to read my posting and suggesting the solution.
Many thanks....
I would like the text on a button to update while a sub is running. I have linked the button text to a variable in the example below hoping it would update during the sub but it does not. How can I update the button text during the sub running. (i'm using win NT )
use Tk;
$info = "start";
$mw =...
I have a simpe script that requires input from the user for the account name and password. I would like to be able to hide the password from being displayed on the screen. For example a password of "test" would display ****.
Any ideas out there?
Script
print "please enter your user ID\n"...
I have an array with 5 dimension the first 3 are string values and the forth is a numerical value. I need to sort this array by the first , second , third and finaly the fourth dimension.
eg
"FX","USD","NGOVT",2
"FX","USD","NGOVT",1
This should be coming out with the second row first then the...
Thanks to siberian for advice. Checked FTP server and all well there. My code should have looked like
$ftp = Net::FTP->new($hostname ,Port => "6667")
All working correclty now.
Thanks
Yes I know......Its beginner stuff but that what i am...
I need to change that port address on a FTP connection but seem unable to do it. My code looks like
$ftp = Net::FTP->new(hostname);
$ftp-> port(6667);
$ftp->login(username, password) ;
Please please help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.