Search:
Type: Posts; User: KPS.
Search:
Search took 0.14 seconds.
-
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...
-
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...
-
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...
-
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...
-
yea that could work and would cut my code back a bit as well thanks
-
humm around 12 in groups of 4 so there will be 3 sets
-
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...
-
wheres the games code bank, its finished i would like people to test it to find bugs or faults in it
-
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?
-
does anyone know where i could find a tutorial on how to make an irc client?
-
thats sort of wot i thought but i couldnt see that bit if you could point it out i can take it from there
-
im like this is there a way to put a score in?
-
-
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...
-
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...
-
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) '...
-
that sounds rite ill give it a try thanks
-
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...
-
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...
-
no i used a converter thing AWicons Lite and i used it to make my own and it dont work ether
-
it keeps saying invalid picture. is this due to size or something else.
its in .ico and its at 16x16
-
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
-
ah rite ill change that
and the last bit of code worked as well thanks for the help
-
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
-
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
...
-
yes i am it just wont stop,
the whole system is being a pain
-
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...
-
wot ever i try with it i keep gettin expected identifer error
-
k where abouts would i put it im not to sure
-
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...
-
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...
-
I have to ask if im unable to work this tick thing out would anyone be interested in helping me?
-
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...
-
how can i get my web browser i made in vb to size rite if i expand it to full screen?
-
how can i get it to scale to become a full page browser not just a little one?
|
Click Here to Expand Forum to Full Width
|