Search Results

Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: JavaFish
Forum: VB.NET Oct 9th, 2007
Replies: 2
Views: 7,913
Posted By JavaFish
Thanks for the reply. I am using VB.net but just messing up my syntax I'm afraid!

I was using executescalar() was initially I was doing a Count, so point taken for my revised sql statement I...
Forum: VB.NET Oct 9th, 2007
Replies: 2
Views: 7,913
Posted By JavaFish
Hi

I am trying to get to grips with querying an access database and displaying the information. I have started with a coun sql command to just return the number of rows but wanted to display this...
Forum: Java Aug 11th, 2005
Replies: 6
Views: 3,224
Posted By JavaFish
sorry I have not conveyed the problem clearly. I do know what I am trying to do but obviously not explaining it very well and have written down what I wanted and tried to translate it to code - but...
Forum: Java Aug 11th, 2005
Replies: 6
Views: 3,224
Posted By JavaFish
I am sorry about this but I just don't get how to fix it. I'm not sure why I would need to change searchValue.

For example, searchValue might be 10 and looking in the following array...
Forum: Java Aug 11th, 2005
Replies: 6
Views: 3,224
Posted By JavaFish
hmm, not sure I understand. Why would I want to change searchvalue? As for each time this method is run it will be a different value but it shouldn't change when the loop is running...?
Forum: Java Aug 11th, 2005
Replies: 6
Views: 3,224
Posted By JavaFish
Hi

I am having a bit of trouble with a do while loop. I either can't get it to stop, or it doesn't do exactly as I need it to.

I am using a array called nums to insert random numbers into a...
Forum: Java Aug 11th, 2005
Replies: 4
Views: 12,231
Posted By JavaFish
Hi

Yes, it was the setBounds, so set this and once I add enough text to warrant a scrollbar it appears - fantastic! :mrgreen:

Thanks loads for your help with this, I knew it was simple and...
Forum: Java Aug 11th, 2005
Replies: 4
Views: 12,231
Posted By JavaFish
Hi

Thanks for the reply. I have replaced that line, but then the instruction textpane doesn't show at all?

Yeah, need the textpane disabled as I don't want the user to be able to overwrite my...
Forum: Java Aug 11th, 2005
Replies: 4
Views: 12,231
Posted By JavaFish
Hi

I have a JTextpane where i will be adding instructions. I know this will not be large enough, but there is no further space on my interface, so I need to add either a scrollbar or scrollpane.
...
Forum: Java Aug 4th, 2005
Replies: 13
Views: 4,193
Posted By JavaFish
Hi

Thanks very much for your sample code - very helpful :lol:
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 4,193
Posted By JavaFish
HI Jwenting

Thanks for the response, thought I needed to import something but it might also be I'm out of date ;)

Thanks again
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 4,193
Posted By JavaFish
thanks very much adi1600 - have used your code and it definitely looks better than mine(well it works for starters!) :cheesy:

Appreciate your help.
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 4,193
Posted By JavaFish
Hi

Thanks for keep trying with this. Just crashed that and it also crashed out.

Any further help would be appreciate - thank you for your time :mrgreen:
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 4,193
Posted By JavaFish
Hi Jwenting

thanks for the reply. I tried your code but couldn't get it to compile as i wasn't sure if you meant just replace my two methods with this new code or not?

So I tried:


public...
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 4,193
Posted By JavaFish
Hi adi1600

I tried your suggestion, but the loop doesn't stop! I take it that's because I haven't told it what index is, so it doesn't know when to stop looping?

Any further suggestions on this...
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 4,193
Posted By JavaFish
Hi

I have created an array of random numbers but I need to stop duplicate numbers being added to the array so I have added the boolean 'fresh'. however, I somehow need to tell my 'fresh' to only...
Forum: Java Jul 30th, 2005
Replies: 5
Views: 10,573
Posted By JavaFish
Hi

Thanks very much for the response - appreciate it. :mrgreen:
Forum: Java Jul 28th, 2005
Replies: 5
Views: 10,573
Posted By JavaFish
// random number generator

import java.lang.Math;


public class myRandomNodes
{
public static void main(String[] args)
{
new ranNumbers (7);
Forum: Java Jul 28th, 2005
Replies: 5
Views: 10,573
Posted By JavaFish
Hi

I have searched this site for help with this and used an example of a lottery numbers program.

However, I need to modify it slightly but can't seem to get it right.

I would like to be...
Showing results 1 to 19 of 19

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC