Google Answers Logo
View Question
 
Q: VB.Net_Set time out value ( No Answer,   1 Comment )
Question  
Subject: VB.Net_Set time out value
Category: Computers > Programming
Asked by: goodtoknow-ga
List Price: $10.00
Posted: 09 Mar 2006 11:09 PST
Expires: 16 Mar 2006 08:37 PST
Question ID: 705418
VB.Net, If I have 8 forms of questions and I want to time out for each
form<there is no button on each form>, how could I set time out value
(the timer interval) a global constant so that when I decide to allow
the user more or less time, I can go into the code and change the time
in one place instead of having to change it on each form.
Answer  
There is no answer at this time.

Comments  
Subject: Re: VB.Net_Set time out value
From: anujmathur-ga on 10 Mar 2006 01:20 PST
 
Hi,

One way to do this would be to declare the timer variable as public
and static in the first form to be loaded. Then you can just access
the value of that variable across the forms using the
<form_name>.<variable_name> syntax.

Check to see if that works.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy