User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,778 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,649 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 19 of 19
Search took 0.01 seconds.
Posts Made By: JavaFish
Forum: VB.NET Oct 9th, 2007
Replies: 2
Views: 3,148
Posted By JavaFish
Re: How to display my sql 'Count' result...

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 should...
Forum: VB.NET Oct 9th, 2007
Replies: 2
Views: 3,148
Posted By JavaFish
Question How to display my sql 'Count' result...

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 to...
Forum: Java Aug 11th, 2005
Replies: 6
Views: 2,135
Posted By JavaFish
Re: do while loop - not stopping!!

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: 2,135
Posted By JavaFish
Re: do while loop - not stopping!!

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: 2,135
Posted By JavaFish
Re: do while loop - not stopping!!

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: 2,135
Posted By JavaFish
Solution do while loop - not stopping!!

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 binary...
Forum: Java Aug 11th, 2005
Replies: 4
Views: 6,023
Posted By JavaFish
Re: adding Jscrollbar or Jscrollpane to Jtextpane

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 that I...
Forum: Java Aug 11th, 2005
Replies: 4
Views: 6,023
Posted By JavaFish
Re: adding Jscrollbar or Jscrollpane to Jtextpane

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: 6,023
Posted By JavaFish
Help adding Jscrollbar or Jscrollpane to Jtextpane

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.

I...
Forum: Java Aug 4th, 2005
Replies: 13
Views: 2,654
Posted By JavaFish
Re: using boolean expression on an array

Hi

Thanks very much for your sample code - very helpful :lol:
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 2,654
Posted By JavaFish
Re: using boolean expression on an array

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: 2,654
Posted By JavaFish
Re: using boolean expression on an array

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: 2,654
Posted By JavaFish
Re: using boolean expression on an array

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: 2,654
Posted By JavaFish
Re: using boolean expression on an array

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 void...
Forum: Java Aug 3rd, 2005
Replies: 13
Views: 2,654
Posted By JavaFish
Re: using boolean expression on an array

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: 2,654
Posted By JavaFish
Solution using boolean expression on an array

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: 3,776
Posted By JavaFish
Re: generating random numbers into an array..

Hi

Thanks very much for the response - appreciate it. :mrgreen:
Forum: Java Jul 28th, 2005
Replies: 5
Views: 3,776
Posted By JavaFish
Re: generating random numbers into an array..

// 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: 3,776
Posted By JavaFish
generating random numbers into an array..

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 able to...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 9:34 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC