|
-
May 10th, 2009, 08:25 AM
#1
Thread Starter
Member
Application Question
Im currently in the process of turning a web simulation of an application into an exe simulation.
The file is attached below.
When the screens move from one to the next the taskbar flashes as i used:
Show.form2
unload me
Is there a better way to do this to make it move smoothly onto the next screen and i noticed that with every click the memory usage increases. Is there a way to combat this or is that just the nature of VB?
Im quite new to all this vb stuff so go easy on me
Many thanks as usual.
File Hosted On My Webserver in .zip format to compress size
-
May 10th, 2009, 08:31 AM
#2
Re: Application Question
Try
Code:
Load form2
form2.show
unload me
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
May 10th, 2009, 08:33 AM
#3
Thread Starter
Member
Re: Application Question
 Originally Posted by some1uk03
Try
Code:
Load form2
form2.show
unload me
Sorry you are correct that was the way i was doing it, but still seems to take up more memory for every level of the app that you enter which i don't believe it should
-
May 10th, 2009, 08:44 AM
#4
Thread Starter
Member
Re: Application Question
Also when using the rex X to exit the appliaction it does not unload the form from memory either
-
May 10th, 2009, 08:50 AM
#5
Re: Application Question
rex X ? Clarifiy plz...
and i noticed that with every click the memory usage increases
On every click to what, where ? There seems to be some memory leak somewhere then...
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
May 10th, 2009, 09:00 AM
#6
Thread Starter
Member
Re: Application Question
 Originally Posted by some1uk03
rex X ? Clarifiy plz...
My typing there sorry, ment to be red x in the corner.
Here is an example of a few screens and code:

Code:
Private Sub Image1_Click()
transactions.Show
Unload Me
End Sub
I just found out the reason why it was staying in the memory, one option was set to Hide not unload which fixes that issue.
Is there a way to stop the application from refreshing the taskbar icon when it moves from one from to the next, or does it have to stay that way?
Thanks

Code:
Private Sub Image1_Click()
riposte.Show
Unload Me
End Sub
Private Sub Image2_Click()
servec.Show
Unload Me
End Sub
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
|