Thank you so much , this is really a very smart idea
Neo_Ali
Posts
-
How to store the system clock in a variable -
How to store the system clock in a variablePlease i want your help with a code which i can use to store the system clock in a variable which i can use to add a 30 mints to it. as i want to my application to be shutdown after 30 mints when i click Start button but if the user click End button in another form then the timing should stop , and using the timer control was not helpful becuase it dose not accept any compare condition and just close the application. so i thought to ignore the timer control and use a code which i can store the system clock in a variable and insert that varialbe in a loop and inside the loop i compare the variable with specific value, if it is the desired value then close the application else go again and read the system clock , DO u think its good thinking. if u think its applicale , please help me a code to store the system clock in a variable. please advise and thank u for ur help Ali
-
Need a code to close the application after specific timeThis is a very smart way , but how can i record the time from the system clock and what will be the data type for the variable which i will store the time in it to compare with the current type. Please advise and thank you for your help. Ali
-
Need a code to close the application after specific timeplease help me with code which i can use to shutdown the application after 30mints, my application contains multi-forms and i want this code to be run when i click the start button on the second form "Form2". Please note that i'm using the following code under the next or back buttons to switch between forms < unload me Form3.show > as for example if i put timing code in Form2 , will this code stop when i click the next button which contains the code above? Please advise and thank you for your help Ali
-
Can't see images when run the applicationThank you so much, this was really helpful and solve the problem but the point now is , when i place the path for the image in the code. i can't run this application on any ther machine also when adding the setup wizard to the solution i added the image within this wizard. but when i tried to run the application on another machine after installing it, the application didn't work, so how i can over come this problem, please Advise and thanks for your help Ali
-
Can't see images when run the applicationi set a picturebox control on my form and i load an image to it from the image property , i also set the Visible property to "True" but when i debug the application , i can't see the image in the run mode, only the border of the picturebox. The extention of the image is "JPG" and "Gif" , and i can open those pictuers easly as i'm using windows XP, but i still can't see the picture on the run mode. is there a code i should use to load the image in the picturebox at run time , and if yes where to place this code, in the main code body of the form or behind the picturebox itself. please advise and thank you again i could found a possible code which is < Dim img As Image img = picturebox1.image > but when i use it i have an errore which state that Image is not a type. please advise and thank you.:) Ali
-
Image in run mode problemsThe extention is "JPG" and "Gif" , and i can open those pictuers easly as i'm using windows XP, but i still can't see the picture on the run mode. is there a code i should to load the image in the picturebox at run time , and if yes where to place this code, in the main code body of the form or behind the picturebox itself. please advise and thank you again Ali
-
Image in run mode problemsi set a picturebox control on my form and i load an image to it from the image property , i also set the Visible property to "True" but when i debug the application , i can't see the image in the run mode, only the border of the picturebox. Please Advise Ali