|
-
May 18th, 2005, 06:33 AM
#1
Thread Starter
Lively Member
-
May 18th, 2005, 07:18 AM
#2
Hyperactive Member
Re: Restart App
Surely the variables will be destroyed when you close the app so you'll want to reinitialise them in the sub main anyway?
You could create some external flag such as in the registry or in a text file on the local machine, then the Sub Main could check the status of this variable and optionally run or exit based on what had been stored previously.
Explain a little more about these variables...
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
Dr. Seuss 
-
May 18th, 2005, 08:19 AM
#3
Thread Starter
Lively Member
Re: Restart App
Surely the variables will be destroyed when you close the app so you'll want to reinitialise them in the sub main anyway?
The variables are Publics declared in the same module which has Sub Main(). All the publics are outside of Sub Main() though. I can reset each one of these variables to 0 myself, one by one (they're all integers), but if there is an easier way, then I shall use that.
I never know what to put in this section...

So sue me... ... ... I'm just kidding...
www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|