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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mockler

  1. mockler

    How to package a module with script so end user doesn't need to instal

    I wish that it was that simple. But I don't think it is. I do have the "use DBI;" in my script. Here is a portion of my script (not all is shown, like the variable assigment): use DBI; ################################################################################# # Will have to start...
  2. mockler

    How to package a module with script so end user doesn't need to instal

    Thanks for your response Kirsle. I tried what you said and it seems to be picking up the module. But I still get an error. The module I'm trying to use is DBI. When I execute the script I get the following error: "Can't locate object method "connect" via package "DBI" (perhaps you forgot...
  3. mockler

    How to package a module with script so end user doesn't need to instal

    Hello, I've created some scripts that install an application on a Solaris box. In my perl scripts I use some modules to connect to the database. The problem is this script must be run on multiple machines and I DON'T want the end user to have to install these modules before running the perl...
  4. mockler

    Problem reading Registry Key Value using Win32::TieRegistry

    Since it is running on windows you need two backslashes if you want just 1 in the string. And according to the Win32::TieRegistry documentation "\\" is appended to each key name, and "\\" is prepended to the value name. Therefore there is one set of backslashes for the key name "Tips", and...
  5. mockler

    Problem reading Registry Key Value using Win32::TieRegistry

    I read that section and I saw the part about creating a tied hash first. But then as you read on it says that you can use "$Registry" instead of using a tied hash. Which is what I did in the above script. But just to make sure that is the case, I tried creating a tied hash (see my new script...
  6. mockler

    Problem reading Registry Key Value using Win32::TieRegistry

    When I run the little script it runs but there is no value for the $jvm_option_value variable. The output of the script is: "The value in the registry is: " So the script runs no problem but it isn't reading the value of the registry key. (There is a value for this key when I look through...
  7. mockler

    Problem reading Registry Key Value using Win32::TieRegistry

    Hello all. I'm trying to read in a value of a registry key using the Win32::TieRegistry module. But I can't seem to get it to work. I even tried the exact examples given in the module information on CPan. Can anybody help? Is there something that I'm missing here? Below is my script so...
  8. mockler

    Connect to MS SQL DB server using JDBC drivers

    After almost throwing my computer out the window I figured out why I wasn't connecting to the proper database. The reaons is the characters ";" and "=" in the connection string (or DSN if you will) must be URL encoded. Therefore the character ";" in URL encoded is: %3b Therefore the...
  9. mockler

    Connect to MS SQL DB server using JDBC drivers

    As far as I understand it yes. But I am new at using Perl so I very well could be wrong. NOTE; the part of the perl script above that contains the database name isn't quite working. ("databaseName=sqldatabase") I've realized that it isn't actually connecting to the database that I...
  10. mockler

    Connect to MS SQL DB server using JDBC drivers

    Ok here it is. First you have to install the perl modules DBI, DBD::JDBC (which will require Convert::BER). The JDBC is really a proxy server, so you have to start up a java server specifying the drivers to use (this is explained in the DBD::JDBC module on cpan) My java application was...
  11. mockler

    Connect to MS SQL DB server using JDBC drivers

    Nevermind everybody, I got it working. If anybody is curious as to how, reply back and I can post here what I did.
  12. mockler

    Connect to MS SQL DB server using JDBC drivers

    Hi All, I'm trying to write a perl script to connect to a MS SQL server using JDBC drivers. I know you can use a module like DBD::Sybase. The reason I want to use JDBC drivers is because I'm already using the perl module DBD::JDBC module to connect to an Oracle database, and this is for the...
  13. mockler

    Using 2 different pics for background??

    That didn't really work either. The picture that I am puting in the >div> tag (which would now be the tiled background) still only shows on the screen relative to the size of the window, not the entire page!! Have you done a background with two pics before?(RISTMO) ' maybe this can't be done...
  14. mockler

    Using 2 different pics for background??

    Hey RISTMO, That worked, but I do have a problem. I can't get the picture to be align at the bottom of the page. It only aligns at the bottom of the window?!?! (know what I mean?) Say, a user has their window 480x640, the picture looks like it's at the bottom, but the user has to scroll the...
  15. mockler

    Using 2 different pics for background??

    Hello, I have looked up how to put on a background picture so that it isn't tiled etc. (using css), but now my user wants to see if I can put the 1 picture on the background (only once), but also put another desgin (tiled) in the background as well. Can you put two different pictures in the...

Part and Inventory Search

Back
Top