Forum: Java Jun 30th, 2009 |
| Replies: 1 Views: 270 please explain. I have no idea what you are trying to do.
1) you have an app working on a remote computer ( a music player maybe ) and your code will run in remote machine and close the... |
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2009 |
| Replies: 1 Views: 1,700 I am not really good with css but I think you should !important in your css. when you put !important tag in css that property does not overwriten by surrounding tags here is page ... |
Forum: Java Jun 22nd, 2009 |
| Replies: 2 Views: 277 you have nested array lists here (as you know. )
ArrayList<ArrayList<Integer>> a = new ArrayList<ArrayList<Integer>>(5);
/*create a new arraylists of arraylist so outer arraylist has 5 element... |
Forum: Java Jun 22nd, 2009 |
| Replies: 2 Views: 198 I understood what you are trying to do but I think you should write it again. because it wont work. ok here how you should write it.
1 ) make a loop that turns until there is no token left on... |
Forum: Java Jun 19th, 2009 |
| Replies: 6 Views: 454 I saw this problem in a movie (I think its name was 21) and I never thought about it. After I saw it here this morning I started to think about it. I had worked on it for 12 hours and I finally... |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 4 Views: 962 actualy that did not work either.I tried it on windows (ff , ie , chrome). It worked as same as before. and there is another problem. innerText of new script element looks empty from firebug. I... |
Forum: PHP Jun 12th, 2009 |
| Replies: 4 Views: 369 it is not working becasue you are using , instead of and
$newer = mysql_query("DELETE FROM messages WHERE id = '$rawr' AND user = '$rew' AND read = '$roll'");
this should work |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 12 Views: 2,310 ok I saw this on another page. so I am not sure how it will work. but as a data when you send
arrayElement=1&arrayElement=2&arrayElement=3
you can send all the elements to server. and you can... |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 1 Views: 346 I tried it on ie7 and it worked. |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 4 Views: 962 First of all thank you for quick response.
Let me tell you what I am trying to do.in this project. I go to settings page and create a new wall. then in my page (in this case tutorial page 3).... |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 2 Views: 865 You already wrote the answer on the title. You can use ajax. I suggest you to go to an ajax tutorial page and learn how it works. Because what you want to do will be an example on that page. Anyway... |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 4 Views: 962 Hi I am working on a little project I'd like to call post database and I got a little problem. when user clicks a page number, I bring html content from server and add it to page. And I can see the... |
Forum: Oracle Feb 16th, 2009 |
| Replies: 2 Views: 639 here is some pl/sql code that gives you an idea I hope that would help
declare
a1 varchar2(255);
b1 varchar2(255);
a2 varchar2(255);
b2 varchar2(255);
qry varchar2(4000);
cursor cr_a is... |
Forum: Python Feb 13th, 2009 |
| Replies: 3 Views: 902 I can see two way to solve the problem
1) use two dimentional list.
2) use two one dimentional list to store current row and previous row.
(that is what you are doing.)
in your case you use... |
Forum: Python Feb 13th, 2009 |
| Replies: 2 Views: 243 I would assign your date variable into a date type variable (I think it was something like datetime just look it up). so you will have a real date. then you can easiliy format your out put. |
Forum: Python Feb 13th, 2009 |
| Replies: 9 Views: 958 program should be like this
1) get sentence from user
2) check every latter if it is a vowel
3) if it is make it upper case.
you probably figured that out already. now to to thinks simpler first... |
Forum: Python Feb 10th, 2009 |
| Replies: 2 Views: 537 1) check firewall in your computer. this is not likely the case. but if you have a firewall set you have to open the port from your firewall too.
2) your router might not working correctly. That... |
Forum: C++ Feb 2nd, 2009 |
| Replies: 2 Views: 551 well actually what I really want to do is to write windows version of a linux/unix based app called 'conky'. with conky you can write any kind of data (even some graphs) on the wall paper. here is... |
Forum: C++ Feb 2nd, 2009 |
| Replies: 2 Views: 551 hi I want to write some text on windows wallpaper. does anybody know how to do that. (on wallpaper ,but under window frames.). (dynamic text: like time. so please do not suggest to write it with... |
Forum: Oracle Nov 5th, 2008 |
| Replies: 2 Views: 1,101 you need to create a sequence. As you can guess this is an object that gives you numbers from sequence. then you should get next value from sequence. so you will always have different pk. here is a... |
Forum: Oracle Oct 24th, 2008 |
| Replies: 2 Views: 2,632 Hi! you are calling local variable the way you should call bind variables. so oracle things your variables are bind variables. you should not use ':' sign before variable names. anyway you should... |
Forum: Java Sep 3rd, 2008 |
| Replies: 6 Views: 757 you can also use String Tokenizer (http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html) class. |
Forum: Java Aug 23rd, 2008 |
| Replies: 3 Views: 1,145 I would use a recursive approach for this problem. here is the logic:
int changeCombinationNumber(int change)
if it is less then 5 return 1;(ve are returning 1 because if it less then 5... |
Forum: C# Jul 5th, 2008 |
| Replies: 4 Views: 1,881 I checked MSDN page for selectedrows property (http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.selectedrows.aspx). it says just check SelectionMode property on properties... |
Forum: C++ Jun 30th, 2008 |
| Replies: 11 Views: 1,238 herer is some lecture notes.
http://www.cse.iitd.ernet.in/~nvkrishna/courses/winter07/csl862.html |
Forum: Java Jun 30th, 2008 |
| Replies: 2 Views: 369 actually I'm new to servlets too. but when I was doing a research I saw something about web services that those sites give. just google something like "web services google maps" or "web services... |
Forum: Java Jun 30th, 2008 |
| Replies: 8 Views: 767 probably that's not what you need since you are overwhelmed with the problems in hand, but if I where you I would write a dice class that rolls. checker class that checks if you win or not. and a... |
Forum: Java Jun 30th, 2008 |
| Replies: 6 Views: 580 first of all I suggest you learn what scanner class is capable of. Not because you are doing something wrong, but there is a lot of different functions that you can use in that class. here is a link... |
Forum: C# Jun 28th, 2008 |
| Replies: 1 Views: 2,540 mouse click is an event which only be form as how its delegate describes it. that means there is no way to change what it takes. but if you need a different mouseclick event you can create one of... |
Forum: C# Jun 28th, 2008 |
| Replies: 1 Views: 2,002 treeview had a NodeMouseClick event when any node clicked this event gets fired. you can get which node clicked from e.Node varaible. it returns a reference to the node that clicked. here is a sample... |
Forum: C# Jun 28th, 2008 |
| Replies: 2 Views: 2,185 if I would see the code I would give you a better answer. but I think what your problem is that you are drawing the line on onClick event. you have to draw it on onPaint event in order to keep them... |
Forum: C# Jun 28th, 2008 |
| Replies: 3 Views: 605 u have to make it public in order to access it.
public int myProperty...... |
Forum: C# Jun 28th, 2008 |
| Replies: 1 Views: 1,011 here is a tutorial (http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=400) for you. Actually I would suggest to google it first. there are millions of tutorials about that subject |
Forum: Java Jun 27th, 2008 |
| Replies: 6 Views: 601 package dw_synch;
import java.io.*;
public class Synch {
private static String strSource = "C:\\source";
private static String strTarget = "D:\\target";
public static void main(... |
Forum: Java Jun 26th, 2008 |
| Replies: 5 Views: 26,718 I have more than onw suggestions for you.
1) instead of checking if it is a letter or a special character. you could check if it is a number between 0 to 9 so if all the characters are numbers you... |
Forum: Java Jun 26th, 2008 |
| Replies: 5 Views: 720 I just wanted to say that I think you shouldn't do your calculations in your constructor. you could give the values in constructor maybe. but if I were you I would write a separate method to do the... |
Forum: Java Jun 20th, 2008 |
| Replies: 2 Views: 1,532 Yes that is a good way to do it. but when you do that you could use StringTokenizer (http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html) class. it seperates a string to tokens. just... |
Forum: Java Jun 20th, 2008 |
| Replies: 10 Views: 8,031 OK First of all you have to find out what scanner class does. I suggest you check java specifications. best place you check is java specifications (http://java.sun.com/javase/6/docs/api/index.html).... |
Forum: C# Jun 16th, 2008 |
| Replies: 7 Views: 1,218 hello again!
first of all since you are listening your connection from the thread you will have to throw acception from your client. and your code in your backgroun thread probably will look like... |
Forum: C# Jun 16th, 2008 |
| Replies: 7 Views: 1,218 I forgott to send you the coe fot delegate that I used in that function. I am sending the code again here it is.
public delegate void writeOnRichBox(string str);
private void... |