Hi, Dan:
Thanks for your reply. I tried out your code. The color of the selected item is still the default color. It seems that the background color set in your code is overlayed by the default color, which is kind of gray/blue. Here is what I observed.
The default color is shown on a item,say...
Thanks for your reply. However, that is not what I want.
I want to set the color of the selected item to a color that's not the default one. Your example is to set the background color of the whole list.
Hi There:
How to check whether an ADO connection object calls the open method successfully? Say,
set conn = Server.CreateObject("ADODB.Connection")
coon.open = "a connection string"
Is there a way to check the db connection works?
Thanks,
George
Hi, Sherzod:
Thanks for your reply. I could not test your code yet because the IO::Dir is not installed on our machine. I need to ask the sys admin to install it.
By the way, I got one solution from the another Perl forum.
Replace
my @fileAttributes = stat($file);
in my code with
my...
Hi:
I tried to use stat() function to retrive properties of a file, e.g. last accessed time, last modified time etc.
It works on some of the files of one directory, but not all.
Here is the code:
#/usr/local/bin/perl
use strict;
my $directory = "here is the directory";
opendir...
jaa, thank you very much for your reply. One more point I want to ask. If I use strict in a code, then I have to declare a variable using my(). So, in this case, are there any ways to get the results as did in code 2?
Thanks,
George
Hi,
I have a strange problem with following code.
code1:
#!/usr/local/bin/perl
my $temp;
my $str;
$str = 'test';
$temp = 'str';
print ${$temp}."\n";
Only a blank line was printed, however if I got ride of the declaration of $str, ie
code 2:
#!/usr/local/bin/perl
my $temp;
$str =...
Hi:
Can VBscript capature 2 key strokes, like ctrl+A,ctrl+B, etc. I have a html page that has a list of hyper links.
When a user strokes ctrl+A, it will hilight hyper link A, and hits return key, the target wep page displays.
Thanks.
George
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.