- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
40 Posted Topics
Re: 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 [url]http://webdesign.about.com/od/css/f/blcssfaqimportn.htm[/url] (just google it there should be some tutorials about that.) I hope that helps | |
Re: Yes that is a good way to do it. but when you do that you could use [URL="http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html"]StringTokenizer[/URL] class. it seperates a string to tokens. just change the delimeters to count sentences , lines ,words etc. I hope that could help. note: every sencence finish with "." every line finish … | |
Re: 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 have number. it will be a lot easier for … | |
Re: OK First of all you have to find out what scanner class does. I suggest you check java specifications. best place you check is [URL="http://java.sun.com/javase/6/docs/api/index.html"]java specifications[/URL]. from here you can get all the information about any class of interface from java API. in your case you have to find java.utils.Scanner … | |
Re: 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[URL="http://www.psoug.org/reference/sequences.html"] link [/URL]that shows you how to create and use it. after creating … | |
Re: 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 application. 2) you want to write an application that can be … | |
Re: 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 retreived it from server too. (unfortunately I dont know how you can do it with … | |
Re: you have nested array lists here (as you know. ) [CODE=java] ArrayList<ArrayList<Integer>> a = new ArrayList<ArrayList<Integer>>(5); /*create a new arraylists of arraylist so outer arraylist has 5 element which means size of a=5*/ for(int i = 0 ; i < a.size() ; i++){ a.set(i, new ArrayList<Integer>(10)); /*loop over 5 elements … | |
Re: 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 scanner. [CODE=java]for(int j = 0;j<input;j++) [/CODE]and this is not … | |
Re: 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 figured it out half an hour ago … | |
Re: it is not working becasue you are using , instead of and [CODE=PHP] $newer = mysql_query("DELETE FROM messages WHERE id = '$rawr' AND user = '$rew' AND read = '$roll'");[/CODE] this should work | |
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 new content on the page. But if new … | |
Re: 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 let me explain what you will do. when your … | |
Re: here is some pl/sql code that gives you an idea I hope that would help [CODE]declare a1 varchar2(255); b1 varchar2(255); a2 varchar2(255); b2 varchar2(255); qry varchar2(4000); cursor cr_a is (select * from a); begin --loop goes to every row in a for rc_a in cr_a loop --seperates column of A … | |
Re: 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 write code first reads every latter one by one. for example … | |
Re: 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 only previous row to calculate current row. so in start, your previous … | |
Re: 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. | |
Re: 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 actualy happened to me. some routers have the port forwarding in their menu … | |
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 paint. :) ) | |
Re: 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 write it as declare v_city location.city%type := 0; v_state location.state%type := 0; v_status varchar2 := 0; begin … | |
Re: you can also use [URL="http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html"]String Tokenizer[/URL] class. | |
Re: 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 there is only one possibility you can only use cents this is out escape from recursife loop) … | |
Re: I checked [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.selectedrows.aspx"]MSDN page for selectedrows property[/URL]. it says [QUOTE]The SelectionMode property must be set to FullRowSelect or RowHeaderSelect for the SelectedRows property to be populated with selected rows.[/QUOTE] just check SelectionMode property on properties window and make sure it is set to fullrow select. and make sure that it … | |
Re: herer is some lecture notes. [url]http://www.cse.iitd.ernet.in/~nvkrishna/courses/winter07/csl862.html[/url] | |
Re: u have to make it public in order to access it. public int myProperty...... | |
Re: 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 on form. otherwise it will draw the lines … | |
Re: 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 to java [URL="http://java.sun.com/javase/6/docs/api/"]specifications[/URL]. and here is a link to [URL="http://java.sun.com/javase/6/docs/api/java/util/Scanner.html"]scanner class[/URL]. … | |
Re: 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 player class that counts how many times you win. you checker … | |
Re: 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 [TEX]"web services google maps"[/TEX] or [TEX]"web services ESPN.com"[/TEX] I'm sure you will find resources. good luck. | |
Re: 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 your own. just make a delegate and initialize an event from … | |
Re: 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 calculation. just to use the logic of object oriented programming. second think … | |
Re: 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 code that show a message box written nodes name on it when you click a … | |
Re: here is a [URL="http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=400"]tutorial[/URL] for you. Actually I would suggest to google it first. there are millions of tutorials about that subject | |
Re: [CODE=java]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( String[] args ) throws IOException { Synch h = new Synch (); h.doSync (new File(strSource),new File(strTarget)); } public void doSync(File source, File target) throws IOException { … | |
Re: I'm sure there is a lot of way to do that but what I did was to put a timer (System.Windows.Forms in the components menu) on the form. and in its tick event write the following code. [code] private void timer1_Tick(object sender, EventArgs e) { if (pictureBox1.Visible == true) pictureBox1.Visible … | |
Re: if I understand your problem correctly you are raising an event from your background thread and it is calling a function from your main class. and you probably are getting a runtime error. the reason for that error is that your main class is getting handled by your main thread … | |
Hi everybody! I think I have a very simple problem which I couldn't find a solution. code I added gives an explicit conversation error. I used casting but it doesn't work. I appreciate for your help. [CODE=c#] public class Client : System.Net.Sockets.TcpClient { } class Program { static void Main(string[] … | |
Hi! I was writing a calculator to practice my programming skills and I really cannot solve a problem with an abstract class [code=C#] //base class for all tokens public abstract class BaseToken { public override string ToString() { return tokenValue; } } //base class for all operators public abstract class … | |
Re: [code=cplusplus] #include <iostream> #include <string> using namespace std; struct Moviedata{ string movieTitle; string movieDirector; int yearReleased; int runningTime; }; int main() { // declare an object of type struct MovieData struct Moviedata movie; // display a prompt cout << "Enter the movie title :"; // get movie title from keyboard … |
The End.