|
Hey everyone! Im making a program that tells the time here and then the time in korea, I have the codes as Label1.text = TimeVale(Now) Label2.text = ?????????? Obviously, I need the code for label 2. I cant just put Label2.text = Timevalue(Now + 9) THanks for reading and thanks in advance for any answer. |
sorry if it is in wrong syntax, I don't know vb, but I do know google, trust me, questions like this shouldn't go into this... Split your problems up into simple ones then ask google: http://www.google.com.au/search?rlz=1C1LAVA_enAU377AU377&sourceid=chrome&ie=UTF-8&q=vb+string+to+int I'm not trying 2 call u lazy, I always do what u did, I'm just trying to help u help yourself btw, I also googled http://www.google.com.au/search?hl=en&rlz=1C1LAVA_enAU377AU377&q=Timevalue+vb&aq=f&aqi=g4g-v1g-sv1g-v1g-sv1g-v2&aql=&oq= because I wanted to find out what was the return value of that function, I found it was string, that is why you cant + 6... So always know your return values and don't try to to mathematical operations inside a texbox object... The texbox object is made to store a textual output primarily, it might be used to read so that you make apend to the textbox, but you should have a seperate data type storing the data to be put into the textbox so that you'r code is abstract. |
