Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BobWeston

    How to check to see if printer was installed

    PH, Thanks for the quick reply. I had tried using 'err' without any luck and then changed to 'Err' per your suggestion and what do ya know, it worked. Thanks again for the tip! Bob
  2. BobWeston

    How to check to see if printer was installed

    Hello! I have a nifty script that adds a network printer. 99% of the time it works. It's that other 1% that I need to program for. Rather than display some ugly system error message, I'd like to gracefully display a message indicating that the printer was not installed and to contact X for...
  3. BobWeston

    Execute SQL 2000 Stored Procedure from Perl

    Haven't tried it yet, but found the following on the same website: http://dev.isystek.com/dbi/fom-serve/cache/100.html and http://dev.isystek.com/dbi/fom-serve/cache/101.html Bob
  4. BobWeston

    Execute SQL 2000 Stored Procedure from Perl

    I'm looking at the DBD::ODBC module to accomplish this. Found an interesting article on creating a DSNless connection to the database: http://dev.isystek.com/dbi/fom-serve/cache/7.html
  5. BobWeston

    Execute SQL 2000 Stored Procedure from Perl

    Paul, From a windows environment, I'd use isql.exe from command line to connect to the SQL Server. From Linux, I'm not sure. This will be my first go at it. Thanks, Bob
  6. BobWeston

    Net::Telnet Question - Using Windows

    Chris, Do you have a DNS server on your network that will resolve the fully qualified name? You might try executing an nslookup command on your full computer name and see if it can be resolved. If nothing else, it will eliminate DNS as an issue. Bob
  7. BobWeston

    Execute SQL 2000 Stored Procedure from Perl

    Hello! I'm trying to figure out how I can execute a call to a Stored Procedure on our remote SQL Server 2000 box within a Perl script on a Linux box (if it helps, running Samba). The script would need to pass a username variable to the procedure and receive a numeric output variable for later...
  8. BobWeston

    Mime::Lite

    Thanks Siberian! That will be the first and last time I make that mistake!!! Ok, made that change and a few other tweaks and it worked like a champ! Now to try sending HTML :) Thanks for your help! Bob
  9. BobWeston

    Mime::Lite

    Siberian, Ok, I've created a perl script called sendemail.pl as the the following: use strict; use warnings; use MIME::Lite; my $from_address = 'account@myhost.com'; my $to_address = 'myemail@myhost.com'; my $subject = 'Mime Test'; my $mime_type = 'TEXT'; my $message_body = "Hello World!\n"...
  10. BobWeston

    Mime::Lite

    Siberian, Thanks for taking the time to reply. I already have code for sending attachments, as mentioned in my original post. What I'm trying to figure out how to do is call the said script from a shell script and pass a couple variables: the To: address and the path to the file attachment...
  11. BobWeston

    Mime::Lite

    Hi All! I'm fairly new to Linux (getting better everyday) and new to Perl (this will be my first experience). On our Linux box, we have a shell script that makes some changes to a file and emails the file to one or more users. Currently, the email is sent through MUTT, but we've only been able...
  12. BobWeston

    Excel - Change background color of row based on cell value.

    Euskadi, One thing I falied to mention in my first post is that I'm trying to accomplish all my formatting via the Auto_Open macro so that it's transparent to the end user. Ideally, this list of titles that I would need to change background colors on would exist on sheet2, which I've hidden...
  13. BobWeston

    Excel - Change background color of row based on cell value.

    Hi Everyone! I'm a little out of my comfort zone here and could use some help with a VBA Excel issue. Here's the situation: I have an intranet website that dynamically creates org charts based on our company directory. I'm in the process adding a "download to excel" function that...

Part and Inventory Search

Back
Top