Search:

Type: Posts; User: KPS.

Search: Search took 0.05 seconds.

  1. Thread: loop trouble

    by KPS.
    Replies
    11
    Views
    959

    Re: loop trouble

    oops sorri here it is in vb code
    Private Sub cmd_tick_Click()
    'this works out the amount of metal per tick

    Do Until metalt >= 25000
    If lbl_met.Caption Then
    metal1 = metmine * metalmine
    metalt...
  2. Thread: loop trouble

    by KPS.
    Replies
    11
    Views
    959

    Re: loop trouble

    okay i think the best thing to do is post all the code this is it

    metmine is the amount of resource collectors
    metalmine is how much each gathers
    lbl_met.caption is how much resources u have...
  3. Thread: loop trouble

    by KPS.
    Replies
    11
    Views
    959

    Re: loop trouble

    metalt is the a variable where the result of the calcualtion goes there are 3 other sections of code like this mineral money energy.

    what happens is when the person clicks the button that operates...
  4. Thread: loop trouble

    by KPS.
    Replies
    11
    Views
    959

    loop trouble

    i have a do until loop and it wont do its job if its done it twice before im not sure how to fix it ive tried a few things but nothing seems to work. its a large chunk of code thats y im askin for...
  5. Replies
    5
    Views
    597

    Re: combo box

    yea that could work and would cut my code back a bit as well thanks
  6. Replies
    5
    Views
    597

    Re: combo box

    humm around 12 in groups of 4 so there will be 3 sets
  7. Replies
    5
    Views
    597

    [RESOLVED] combo box

    It is possible to have data enter a combo box in stages?

    The best way I have to explain it is

    option 1
    option 2 these are standard then when they are finished

    option 3
    option 4 and...
  8. Thread: posting code

    by KPS.
    Replies
    4
    Views
    564

    Re: posting code

    wheres the games code bank, its finished i would like people to test it to find bugs or faults in it
  9. Thread: posting code

    by KPS.
    Replies
    4
    Views
    564

    posting code

    i have a game i would like to put on here so i can get peoples feedback, its wot most of my questions have been about, what do i do?
  10. Thread: irc tutorial

    by KPS.
    Replies
    1
    Views
    490

    irc tutorial

    does anyone know where i could find a tutorial on how to make an irc client?
  11. Replies
    19
    Views
    130,150

    Re: [VB6] Snake game source code

    thats sort of wot i thought but i couldnt see that bit if you could point it out i can take it from there
  12. Replies
    19
    Views
    130,150

    Re: [VB6] Snake game source code

    im like this is there a way to put a score in?
  13. Thread: [RESOLVED] help

    by KPS.
    Replies
    9
    Views
    765

    Re: help

    found it issue resolved
  14. Thread: [RESOLVED] help

    by KPS.
    Replies
    9
    Views
    765

    Re: help

    i will try this thanks guys

    /me wishes i didnt start this project. Once its finished ill publish it ok here for more info visit www.mmfak.co.uk/sw.htm i think it is or just go to www.mmfak.co.uk...
  15. Thread: [RESOLVED] help

    by KPS.
    Replies
    9
    Views
    765

    Re: help

    If metal1 > 300 Then should be If metal1 > metalt Then msg box

    wot happens is when i say 30 units for example ,it does this 30*300 then 10000 which is the total amount i have- 9000 which is the...
  16. Thread: [RESOLVED] help

    by KPS.
    Replies
    9
    Views
    765

    Re: help

    okay ive taken the do out ive now got this

    If ship2_no.Text Then
    metal1 = ship2_no.Text * 300 ' this works out how much is needed eg 300 * 300
    metalt = CLng(Label1.Caption - metal1) '...
  17. Thread: [RESOLVED] help

    by KPS.
    Replies
    9
    Views
    765

    Re: help

    that sounds rite ill give it a try thanks
  18. Thread: [RESOLVED] help

    by KPS.
    Replies
    9
    Views
    765

    [RESOLVED] help

    in VB i have this code to deducte resources for a place.

    Do Until i <= 300

    metal1 = ship2_no.Text * 300
    metalt = CLng(Label1.Caption - metal1)

    i = metalt < 300
    MsgBox...
  19. Replies
    4
    Views
    623

    Re: Displaying HTML in webbrowser control

    yea u have to save the file as .html like you would with notepad or web editor then use the address of the file C://file.html or wot ever.

    to my small knowledge u carnt do wot ur asking.

    I...
  20. Thread: selecting icon

    by KPS.
    Replies
    8
    Views
    785

    Re: selecting icon

    no i used a converter thing AWicons Lite and i used it to make my own and it dont work ether
  21. Thread: selecting icon

    by KPS.
    Replies
    8
    Views
    785

    Re: selecting icon

    it keeps saying invalid picture. is this due to size or something else.

    its in .ico and its at 16x16
  22. Thread: selecting icon

    by KPS.
    Replies
    8
    Views
    785

    selecting icon

    im tryin to put an icon onto my forms but it keeps sayin "invalid property value."
    im tyin to insert it using the properties bar
    its in .cur format
  23. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    ah rite ill change that

    and the last bit of code worked as well thanks for the help
  24. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    yes it should have a cap of 30,000 if that makes more sense

    if it gets to 30k no more should be added to it
  25. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    At the point at which this starts, what does money1 equal, and how does it get to equal whatever that is?

    it is at 0 it works out toffice * the amount a single office brings in which is 100
    ...
  26. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    yes i am it just wont stop,

    the whole system is being a pain
  27. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    sorri i meant to say found the problem and it doesnt have overflow error now thanks for the help
    i just have to get it to stop calculation when it gets to that number now

    (in answer to the...
  28. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    wot ever i try with it i keep gettin expected identifer error
  29. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    k where abouts would i put it im not to sure
  30. Replies
    17
    Views
    1,102

    Re: limits on variables / labels

    money 1 is set as currency as well
    'this is the first part and is the calculation
    If lbl_money = lbl_money.Caption Then
    money1 = toffice * taxoffice
    moneyt = CInt(Label3.Caption + money1)
    End If...
  31. Replies
    17
    Views
    1,102

    [RESOLVED] limits on variables / labels

    I keep getting an overflow error when the amount in the variable excceds 32000.

    it is set as dim moneyt as currency

    when the amount gets to 30k i want my calacution to stop adding to it

    my...
  32. Thread: Game idea

    by KPS.
    Replies
    4
    Views
    926

    Re: Game idea

    I have to ask if im unable to work this tick thing out would anyone be interested in helping me?
  33. Thread: Game idea

    by KPS.
    Replies
    4
    Views
    926

    Game idea

    well its hard to explain the idea, if any of you have played games like empirequest or darkgalaxy you would understand the way the game would be played.

    its a turn or tick based game,

    All...
  34. Replies
    3
    Views
    1,041

    Web Browser screen size

    how can i get my web browser i made in vb to size rite if i expand it to full screen?
  35. Replies
    107
    Views
    330,313

    Re: vb web browser tutorial

    how can i get it to scale to become a full page browser not just a little one?
Results 1 to 35 of 36



Click Here to Expand Forum to Full Width