Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~15.4K People Reached
Favorite Tags

43 Posted Topics

Member Avatar for cumadhu

Is C# not an OO language, can you not just return an Object cantaining the two attributes. By returning a Class (Object) you have much more freedom.

Member Avatar for Michael27
0
549
Member Avatar for Dani

OK, count me in. I have been processing units for team 0 (Default) username 'switch' for some time. I have now joined the DaniWeb Folders team. It has reset my work unit count back to zero though :( oh well. cscgal, DefDog will get that number one spot if you …

Member Avatar for mitrmkar
4
2K
Member Avatar for Bill_Thompson

A good place to start [url]http://www.apache.org/[/url] The Apache HTTP Server project homepage [url]http://httpd.apache.org/[/url] The Apache HTTP Server project download page [url]http://httpd.apache.org/download.cgi[/url] You will need: # Win32 Binary (MSI Installer): apache_2.0.54-win32-x86-no_ssl.msi or # Win32 Source: httpd-2.0.54-win32-src.zip

Member Avatar for elina4u
0
776
Member Avatar for Dark Master

If you don't want duplicates, why not use a Set. Like the HashSet. A Set enforces no duplicates. For further information on all Java Collections, please read: [url="http://java.sun.com/docs/books/tutorial/collections/index.html"]http://java.sun.com/docs/books/tutorial/collections/index.html[/url]

Member Avatar for jwenting
0
272
Member Avatar for uth

uth, You can create a new thread at any time. Then if you so desire, let the 'main' thread die by letting the 'public static main' function return. If the thread you created is a 'daemon' thread the JVM will exit all together. However if the thread you created was …

Member Avatar for sgul
0
281
Member Avatar for manishkaushik

You would do that kind of thing in the client application displaying the results

Member Avatar for szabogi
0
989
Member Avatar for jturlington

Hello, I use Java & Oracle, not .NET & SQL Server. Nevertheless, unless I am missing something about .NET, you need a 'commit' after the update and before you close the connection. Otherwise after the connection is colsed all your updates will be rolled back by the database by default. …

Member Avatar for Kate Albany
0
218
Member Avatar for aep91

Hi, Use 'sysdate' - without the quotes. example: select sysdate from dual / Kate

Member Avatar for aep91
0
136
Member Avatar for campkev

campkev, I don't have much experience with Microsoft SQL Server, I use Oracle. However this is how I would approch it in Oracle. The syntax may be different in SQL Server but the principal will be the same. select count(1) from transfer t, account a1, account a2, where t.toaccount = …

Member Avatar for Kate Albany
0
91
Member Avatar for MikeDirnt

Hi, Remove "#!/bin/csh" from your script. This instructs the shell to begin a new shell session to execute your script. This is why it does not change your 'current' directory. It is the 'new' shell session which changes directory and then that session exits when the script is done. Kate

Member Avatar for jim mcnamara
0
180
Member Avatar for Poornima

Poornima, This sample program is trying to use the OCI (Oracle Call Interface) JDBC driver. This is a platform dependant driver. I would strongly recommend researching how to use the Oracle Thin JDBC driver, unless you have specific need to use the OCI driver. The Thin driver is platform indepentent …

Member Avatar for Kate Albany
0
189
Member Avatar for Ghost

Ghost, First a rant, then I will help you and then maybe some more ranting. You have not been forthcoming with the details of your problem and the things you have tried to solve it thus far. Yet very forthcoming with a large amount of code. This makes it hard …

Member Avatar for jwenting
0
159
Member Avatar for iamthwee

Iamthwee, Netbeans uses the Apache Ant build tool to do it's compilation. The Ant build.xml file Netbeans uses should create a jar in a directory called 'dist' under the project folder. As you know the pitfalls of using an IDE I would really recommend learning Ant. OK so it is …

Member Avatar for iamthwee
0
568
Member Avatar for nabakishore

Hello, [u]Background[/u] The reason you are receiving the '[b]UnsupportedClassVersionError[/b]' is because the 'bash' shell is finding the default installed 'java' bundled with MDK (Mandrake) 10. You can find which 'java' or 'javac' (or any command) will be run by bash by entering the following command: [CODE]which <command>[/CODE] For instance, below …

Member Avatar for jwenting
0
254
Member Avatar for karen_CSE

Hi, There are still several problems in the code, please see comments below: [CODE]// You do not need to pass in the length, a String object already knows its own length // Also you appear to be 'stuck' in a static context (in 'main' I expect), you will need to …

Member Avatar for hooknc
0
183
Member Avatar for michael123

Hello, The reason that your query does not work correctly is because by using <> in this manner you are creating a 'partial' Cartesian Join between the two tables. In doing so the query returns you a 'partial' Cartesian Product. Though this fact is masked from you in your first …

Member Avatar for Kate Albany
0
208
Member Avatar for jindalarpan

[QUOTE=Sun Microsystems - J2SE 1.5.0]On Solaris 7 and Solaris 8 SPARC platforms, the upper limit for this value is approximately 4000m minus overhead amounts. On Solaris 2.6 and x86 platforms, the upper limit is approximately 2000m minus overhead amounts. On Linux platforms, the upper limit is approximately 2000m minus overhead …

Member Avatar for Kate Albany
0
164
Member Avatar for kharri5

I may be wrong here but do you need to 'escape' the path deliminators, like this: [CODE]String imageFilePath = "C:\\MyDocuments\\MemoryGame\\woodTable.gif";[/CODE] The '\' is not a typo. The first '' escapes the second. Kate

Member Avatar for kharri5
0
2K
Member Avatar for Manojsah

This will help you with Set's/List's/Queue's/Map's (Collections) etc ... [url="http://java.sun.com/docs/books/tutorial/collections/index.html"]http://java.sun.com/docs/books/tutorial/collections/index.html[/url]

Member Avatar for Kate Albany
0
126
Member Avatar for jendela
Member Avatar for Kate Albany
0
103
Member Avatar for fuehrer

If you are going to override the equals/hascode methods, please read the following artical first. 'How to avoid traps and correctly override methods from java.lang.Object' [url="http://www.javaworld.com/javaworld/jw-01-1999/jw-01-object.html"]http://www.javaworld.com/javaworld/jw-01-1999/jw-01-object.html[/url] Page two of this artical addresses 'Implementing equals and hashCode'. The whole artical is worthly of a read though. Kate

Member Avatar for fuehrer
0
248
Member Avatar for freesoft_2000

Hi, You say you are running this code from the JProc folder. Why then include '.' in your classpath? as in this case '.' and 'C:\WINDOWS\Desktop\JProc' will be one and the same thing. I am just wondering if this could be causing this strange problem. Try removing it. Side Note: …

Member Avatar for Kate Albany
0
234
Member Avatar for Linux_newbe

Hi Jerry, Welcome to the community! That lightning storm seems to have caused you some real problems :/ I hope you enjoy it here and can find what your looking for. Kate

Member Avatar for shaunapple
0
309
Member Avatar for dummy00

Another excellent editor is VIM ([url="http://www.vim.org/about.php%29"]http://www.vim.org/about.php)[/url], think VI with buffers (multiple files) and syntax highlighting etc ... I couldn't be without it. Whenever I use any other editor I end up with ":w" all throughout my documents :) it's habbit.

Member Avatar for server_crash
0
135
Member Avatar for freesoft_2000

Hi, Have you tried increasing the JVM's Heap spaces? Research the '-Xms' & '-Xmx' command line parameters. Example: Java -Xms65536k -Xmx65536k ..... Also '-XX:NewSize', '-XX:MaxNewSize', '-XX:PermSize' & '-XX:MaxPermSize' might be worth looking into. Example: Java -XX:NewSize=30720k -XX:MaxNewSize=30720k -XX:PermSize=16384k -XX:MaxPermSize=16384k ... Does your class implement the Serializable interface? Try the following …

Member Avatar for DeepZ
0
321
Member Avatar for freesoft_2000

Hi Richard, Unfortunately I don't believe this is possible. You cannot output 9 bits to the Parallel Port using java.io.OutputStream.write(int b) [QUOTE]The general contract for write is that one byte is written to the output stream. The byte to be written is the eight low-order bits of the argument b. …

Member Avatar for freesoft_2000
0
180
Member Avatar for server_crash

server_crash, It depends on more than just the number of rows you are going to store, like the complexity of the querys, the number of concurrent users the DB must service, performance metrics etc ......... Having said that, I would say that a small DB with < a few thousand …

Member Avatar for freesoft_2000
0
195
Member Avatar for sqlchopper

sqlchopper, If this SP can be run by something other than the web app, then why not create a batch file which uses 'sqlplus' to connect to the DB to run the SP. This can be scheduled to run automatacally or on demand. That way you can start/stop IIS - …

Member Avatar for sqlchopper
0
321
Member Avatar for freesoft_2000

Hi Richard, The JOptionPane.showInputDialog should NOT return until the user closes the Dialog, I quote from the JOptionPane API Class documentation: [QUOTE]All dialogs are modal. Each showXxxDialog method blocks the current thread until the user's interaction is complete.[/QUOTE] Have you tried doing a System.out.println of the username & password variables …

Member Avatar for Kate Albany
0
128
Member Avatar for Kate Albany

Hi, I am running a system which consists of eight concurrent Java processes. All these processes run on the same box and are backend daemon processes which means they are designed to be started and then run continuously, as they are backend processes they have no user interface. Thus the …

Member Avatar for Kate Albany
0
195
Member Avatar for TheWebJunkie

Lucie Silvas CD Black Adder DVD Monitor (x3) Keyboard (x3) Ethernet switch WiFi access point HiFi separates Scented Candles Archers on the rocks (from last night) - now with no rocks :) Fire Extinguisher

Member Avatar for JJ___
0
467
Member Avatar for wchitamb

I don't see that you have missed anything in setting up the database. What language do you intend to use on the frontend? PHP, ASP.NET etc ...

Member Avatar for Kate Albany
0
167
Member Avatar for adi75

I am not sure what your problem is being caused by, but this is the definition of ORA-01019 if you didn't know. ORA-01019: unable to allocate memory in the user side Cause: The user side memory allocator returned an error. Action:. Increase the size of the process heap or switch …

Member Avatar for Kate Albany
0
1K
Member Avatar for wawalter

There should be no issue with cabling in this manner as long as the pins are connected to each other in the correct configuration and are live. Have you checked that you have contact from pin to pin through the wall? and that you are not getting any 'crosstalk' at …

Member Avatar for wawalter
0
127
Member Avatar for jbkielis

Try: select g.name, count(1) from group g where g.id in (select u.groupid from user u where u.userid = <put_userid_here>) group by g.name

Member Avatar for Kate Albany
0
98
Member Avatar for benjamins

Hi benjamins, Try this: select tbl3.tbl3_name, tbl4.tbl4_name, tbl3.tbl3_flag, tbl4.tbl4_flag from tbl2, tbl3, tbl4 where tbl2.tbl2_id = tbl3.tbl2_id and tbl2.tbl2_id = tbl4.tbl2_id and tbl3.tbl3_flag = 'Y' and tbl4.tbl4_flag = 'Y' and rownum = 1 Also you want to make sure that your tables all have appropriate indexes to ensure a fast …

Member Avatar for Kate Albany
0
156
Member Avatar for drako900

Look into the 'execute immediate' command. You can use it to drop your constraint using the value in PKNAME.

Member Avatar for drako900
0
174
Member Avatar for mike1980

As red_evolve has already mentioned, there appears to be no definition for 'zero' in the code you have posted. Since you have already parsed the denominatorField (TextField) into denominator (double) why not just compair 'denominator == 0'

Member Avatar for mike1980
0
221
Member Avatar for vajwee

There is an error in the classpath you have specified. You have a '' after QTJava.zip, you need a ';' (semi colon) there. Like this: C:\WINDOWS\System32\QTJava.zip;C:\j2sdk1.4.0\bin\;%CLASSPATH%;

Member Avatar for vajwee
0
462
Member Avatar for haria_kishore

What do you mean by "artificially generated"? Do you mean an ID generated outside the DB, by your own application?[b][/b]

Member Avatar for Kate Albany
0
92
Member Avatar for Kate Albany

Hi Everybody, I am primarily a Java/Oracle/UNIX developer working for a telecoms company, but I get my fingers in almost all the pies :) I have been developing in Java and Oracle for a few years now, though I have worked with *NIX environments for much longer than that. I …

Member Avatar for Kate Albany
0
75
Member Avatar for catherine1001

Try 'Oracle PL/SQL Programming' from O'Reilly. I have the third edition by Feuerstein & Pribyl, it covers Oracle up to version 9i. I am not sure if a new edition has been released, but the series is very good.

Member Avatar for Kate Albany
1
158
Member Avatar for MagicM

It appears you are trying to setup a one to many relationship between job_title -> employee. This would imply that one employee can have one job_title and one job_title can be assigned to many employees. To do this you should set the tables PK/FK relations like this: job_title table PRIMARY …

Member Avatar for Kate Albany
0
248

The End.