Small problem

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2008
Posts: 3
Reputation: les2008 is an unknown quantity at this point 
Solved Threads: 0
les2008 les2008 is offline Offline
Newbie Poster

Small problem

 
0
  #1
Nov 15th, 2008
I have designed a program in VB 6, and the problem I need help on is whenever I log off and log back on, all of the windows in my program are blank.
How do I refresh them?
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,149
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 132
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: Small problem

 
0
  #2
Nov 15th, 2008
can you please elaborate your problem please.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 3
Reputation: les2008 is an unknown quantity at this point 
Solved Threads: 0
les2008 les2008 is offline Offline
Newbie Poster

Re: Small problem

 
0
  #3
Nov 16th, 2008
I have a parent window with 6 buttons, a textbox and a picture.
When I run my program, log off and then log back on, all I see is an outline of a window, minus the textbox, buttons and picture. I am wondering if I am missing some coding to refresh the window.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,149
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 132
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: Small problem

 
0
  #4
Nov 16th, 2008
There might be some problem with your system. Try the same on another system.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 13
Reputation: BigSeckC is an unknown quantity at this point 
Solved Threads: 0
BigSeckC's Avatar
BigSeckC BigSeckC is offline Offline
Newbie Poster

Re: Small problem

 
0
  #5
Nov 16th, 2008
Is this an issue when they refer to a 'memory leak'?

I am also assuming that you mean 'log off the program' and not logging off the OS. Again, assuming, if you reboot your system - the program works normally?
I am who I am...I do what I do
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 3
Reputation: les2008 is an unknown quantity at this point 
Solved Threads: 0
les2008 les2008 is offline Offline
Newbie Poster

Re: Small problem

 
0
  #6
Nov 18th, 2008
Originally Posted by debasisdas View Post
There might be some problem with your system. Try the same on another system.
After googling, I found out that I needed some DoEvents in my coding. Since I didn`t have a single one, it caused my program to crash whenever I clicked the mouse button or pressed a key.
Now it works great. But now I have another problem...
On the main window I have a button, and when it is clicked it shows a form with a textbox(which displays the progress of the steps) does a huge amount of calculating, closes the form and opens another one and does some more (huge amount) of mathematical calculations. The problem is that it freezes half way through the steps of the second window. If they are run separately, they are fine. But run one after another it ends up freezing.
Am I missing something, or should I just make the steps of the second window pause while it loads the coding. and then run it?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 555 | Replies: 5
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC