User Profile

Collapse

Profile Sidebar

Collapse
hicksmcb
hicksmcb
Last Activity: May 3 '07, 12:40 PM
Joined: Nov 30 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hicksmcb
    started a topic Converting pound to euros

    Converting pound to euros

    I've got a txtbox that returns a pounds(sterling ) value for number of nights * price per night. How do i convert it from pounds to euros

    Code:
    If txtNights.TextLength > 0 And txtPrice.TextLength > 0 Then
        txtTotal.Text = CDbl(txtPrice.Text) * CDbl(txtNights.Text)
    Else
        MsgBox("Invalid Function")
    Thanks
    See more | Go to post
    Last edited by Killer42; Feb 16 '07, 06:03 AM. Reason: Please put appropriate tags around your code.

  • hicksmcb
    started a topic seeting a date type in a form

    seeting a date type in a form

    Hi there.

    Here's an easy one for all you gurus out there:

    I've got a form that writes to a database. It allows the user to retirieve, add and delete fields.
    I want to set the date of the 'date' field to a specific format, specifically dd/mm/yy. How do i do that please.

    Thanks very much
    See more | Go to post

  • hicksmcb
    replied to card memory game in javascript
    Yeah sorry i meant 'declare'. I tried to set oldscore, highscore etc as global variables but for some reason it was as if the loop didnt recognise them and i kept getting a '0' value or a not declared value back for the calculations from the loop. I was reading up on functions.
    I did try taking away the space for the variables and it still doesnt work. Thanks for your help anyway. If you can think of anything else it would be appreciated....
    See more | Go to post

    Leave a comment:


  • hicksmcb
    replied to card memory game in javascript
    Tried that, didnt work. My main concern is why i have to name my variables inside the loop to get them to work...
    See more | Go to post

    Leave a comment:


  • hicksmcb
    started a topic card memory game in javascript

    card memory game in javascript

    Hi i'm having some trouble with a card memory game. Typical type. You turn over one card then another, if they dont match you turn them both back over and start again.

    I've got this 'if else' loop and the only way i can get the 'count number of turns' to work is by having the variables inside the 'if' statement which doesn't seem right to me.

    My main concern though is right at the very bottom of the code, i've tried...
    See more | Go to post
    Last edited by acoder; Feb 1 '07, 09:50 AM. Reason: Code in tags

  • hicksmcb
    started a topic viewing mp3, wva files using radio buttons

    viewing mp3, wva files using radio buttons

    Hi there

    I'm working on a simple program where you import a music file into a listbox. I wish to be able to select a file once in the list box then have up/down arrow buttons to click so the selection moves down or up.
    E.g. select 'Rocket man' click the down button and the song underneath is selected.
    Any help muchely appreciated. Thankyou.
    See more | Go to post
    Last edited by hicksmcb; Nov 30 '06, 01:29 PM. Reason: wrong title
No activity results to display
Show More
Working...