Hi,
Although this is possibly caused by sybase it is in perl were I wish to solve the problem so I choose this forum over the sybase one.
Ok here goes...
I have been having some problems using DBI to connect to a sybase database.... sometimes its all fine, other times it doesn't work and this...
I also encountered this problem recently,
check out the suggestions in this thread:
http://www.tek-tips.com//viewthread.cfm?spid=822&newpid=822&sqid=398721&CFID=413649&CFTOKEN=34084985
if you have it then the dos2unix works a treat!
HTH
Rob
Hi,
thanks for that excellent suggestion, a nice quick a simple solution thats what I like, now why couldn't I have thought of that!
btw, i'm not actually re-choosing on success, there is a whole bunch of code that happens, I just removed it all and replace it with and echo to make the code...
Hi,
I have this case statement for which the options change depending on the number of subdirectories in a directory.
However, lets say there happen to be 15 subdirectories. This causes the case statement to echo "Invalid choice" if the user enters any values except or 1 and 5...
Hi,
Say I have a directory of files each with a header which looks like this:
#
# $RCSfile: MF.form,v $
# $Author: david $
# $Revision: 1.46.2.6.2.3.2.4 $
#
I want to extract from each file into a variable the long revision number between "$Revision: " amd " $" at the end...
Ok, I've tried this:
echo $string | sed 's`echo "^M"`'//g'
and it errored with and EOF
so I got rid of one of the '
echo $string | sed 's`echo "^M"`//g'
and it doesn't error anymore.
However, rather than echoing it out to the screen I need to put it into another...
Hi,
Say I have a string in my shell script and I want to do a find and replace on it what I am supposed to use and how? I have tried using sed (but then realised this was just for files?) and am now a bit stumped.
All I want to do is to find all instances of "^m" within a string and...
Cheers,
thanks for the suggestions. I went for the copying the ones I wanted to keep into a temporary array and then copying this back onto @a_array approach in the end.
Rob
Hi,
Say I have an array @a_array which contain objects which are in turn arrays with 6 elements. I am trying to delete objects from that array whose first element equals an element of another array.
So far I have got this far (assume that @a_array and @ignore_variables has been declared and...
Hi,
Cheers for that. However, what can I do if they aren't in the path.
sample file contains:
directory1/directory2/filename
directory2/directory3/filename
directory3/filename
and these are not in the root or the path.
So, what I need to do is to add the rest of the path to each filenames...
Hi,
I'm kinda new to shell scripts.
I have a file which lists a series of filenames. I need to write a script which gets the list of these filenames from the file, and then tars them up maintaining the directory structure.
Cheers
Rob
Hi,
I have a string variable which I have done some pattern matching on and I want to assign the matched text to a new variable.
I have this:
$new_variable = $the_string =~ m/^\s*\w+/;
However, when the pattern is found this assigns 1 (true) to the new_variable rather than the string itself...
Hi,
I have to extract some information using perl from some files and I assume will deal with pattern matching which I am not very experienced with so am in need of a bit of help. Below is a sample of the format of these files, although of course these files are not totally uniform and can have...
Hi,
I need to write a script which extracts all the currently set envrionment variables into an array of the format
{ Variable_Name , Variable_Value }
Any help would be much appreciated.
Rob Miles
you need to make sure that the jar files containing your EJB stub classes are available to the client app. Either add them to the classpath or use the -classpath switch when running the client and put it in there.
Hi,
Right, I haven't found a solution but it appears that if you declare and option pane from a JFrame then it uses the same icon as that of the parent JFrame. However, if you declare an option pane from another class which does not extend a JFrame it will have a default Java Icon.
Cheers
Rob
Well, it is just because the menu may have about 30 menu items in it which means it may get too big and hang of the form or the screen.
I could use a combobox to do it I spose but I would prefer to have a popup menu instead.
Hi,
I am trying to set the titlebar icon of a JOptionPane to my program's icon but have only succeeded in setting the internal icon (the one often set to a stop sign or exclaimation mark etc).
Is there any way of setting the titlebar icon of a JOptionPane?
Cheers
Milage
Hi,
I was wondering if it is possible to make a JPopupMenu scroll? If so how would this be done (Swing), would I have to put it into a ScrollPane or what and how would this be done?
Any help would be much appreciated!
Milage
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.