User Profile
Collapse
-
Using Collections to find duplicates ( PL SQL )
I have a problem to do which I am finding difficult to do. I have a table customers with customer names. The question is as follows "write a procedure that uses a collection to find and display how many customers have the same name and what is the most common?" I know there is an SQL statement to find duplicates but how would i do this using a collection to find the most common name ? -
I used a breakpoint and found out it wasn't executing. I was overriding the ProccessCmdKey method ( I thought this was just used for arrow keys ) , so I just popped the code in there and it worked. Thanks for the help -
Key press in c sharp. What am I doing wrong?
I'm pretty new to c sharp... can't get this going. When the user presses z move my animation. This is what I have coded but nothing happens. What am I doing wrong.
...Code:private void Form1_KeyPress(object sender, KeyPressEventArgs e) { switch (e.KeyChar) { case 'Z': tank1.TurnBarrelLeft(); break;Last edited by tlhintoq; Feb 12 '10, 05:06 PM. Reason: [CODE] ...Your code goes between code tags [/CODE] -
It was a problem with the theme on the class computers. Just set it to the xp theme and it worked as normal.
Thanks alotLeave a comment:
-
Simple Graphics program behaving differently on differnt machines
I have made a simple drawing application and changed the cursor to be a bitmap which I made in c sharp. The cursor is supposed to change colors when a button is clicked on the form. For example click the red button on the form and the cursor will change to red and then the user can draw lines in red when holding down the right button of the mouse. When I am at home it works no problem but when I'm on a machine in university the cursor stays black...
No activity results to display
Show More
Leave a comment: