User Profile

Collapse

Profile Sidebar

Collapse
spud379
spud379
Last Activity: Apr 19 '07, 04:48 PM
Joined: Mar 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • spud379
    started a topic changing case
    in Java

    changing case

    hi
    i'm trying to write this programme i think im nearly there. if its lower case i want to change it to upper and Visor verse. this also includes in the same word. eg

    Hi tHeRE = hI ThEre

    String a = args[0];
    do
    {
    if (????????)
    a = a.toUpperCase() ;
    else
    a = a.toLowerCase() ;
    }
    while(????)
    ...
    See more | Go to post

  • spud379
    replied to count click
    no its not working i tried count=count+1 and declairing as static. i must be doing something simple wrong i no that it is going into the if statement because it comes up with the messagebox after statement. and buttons disabled but not looping 10 times.
    See more | Go to post

    Leave a comment:


  • spud379
    replied to count click
    sorry mate have not tried it yet had a lot on. i try it 2day....
    See more | Go to post

    Leave a comment:


  • spud379
    replied to count click
    I was not looking for the answers more to b pointed in the right direction and to understand some of the termonology.

    I will be quoting this website in my biblography....
    See more | Go to post

    Leave a comment:


  • hi

    I have visual studio 2005 and vb seems to work fine on my vista os...
    See more | Go to post

    Leave a comment:


  • spud379
    replied to count click
    hi
    thanks for all you help but still not quite what i want. the thing is im doing it for a assignment at uni. although most of the thing u been saying work does not quite fit in with the assignment.

    I have emailed my tutor and he has emailed this back

    Each time the user submits there answer to a question (ie clicks
    on a button) treat this as one step or increment of a counter. Thus the
    counter
    ...
    See more | Go to post

    Leave a comment:


  • spud379
    started a topic count click

    count click

    I am trying to count the amount of times that a button is clicked and when it is clicked 10 times I want to bring a message box.

    I have tried doing this with an if statement and a loop. with the if statement i can't seem to assign it to the button.

    If count < 10 Then
    Else
    finalscore = score
    MessageBox.Show ("you final score is" & finalscore)
    end if


    ...
    See more | Go to post

  • I did it and this is how, if u want to know.

    Private choice As Integer
    Private random As New Random

    choice = random.Next(0, 29)
    txtcountry.Text = country(choice)
    See more | Go to post

    Leave a comment:


  • No it didn't work but thanks anyway
    See more | Go to post

    Leave a comment:


  • 1-demensional array string cannot be converted to integer

    i am doing an assignment in vb.net. i have to select at random from and array what i have is

    dim country(29) as string
    dim random as new random

    txtcountry.text = random.next(cou ntry)

    I keep getting that this error
    1-demensional array string cannot be converted to integer

    can anyone help?

    thanks
    See more | Go to post

  • 1-demensional array string cannot be converted to integer

    i am doing an assignment in vb.net. i have to select at random from and array what i have is

    dim country(29) as string
    dim random as new random

    txtcountry.text = random.next(cou ntry)


    I keep getting that this error
    1-demensional array string cannot be converted to integer

    can anyone help?

    thanks
    See more | Go to post
No activity results to display
Show More
Working...