943,708 Members | Top Members by Rank

Ad:
Nov 15th, 2008
0

Small problem

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
les2008 is offline Offline
3 posts
since Nov 2008
Nov 15th, 2008
0

Re: Small problem

can you please elaborate your problem please.
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007
Nov 16th, 2008
0

Re: Small problem

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
les2008 is offline Offline
3 posts
since Nov 2008
Nov 16th, 2008
0

Re: Small problem

There might be some problem with your system. Try the same on another system.
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007
Nov 16th, 2008
0

Re: Small problem

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?
Reputation Points: 12
Solved Threads: 0
Newbie Poster
BigSeckC is offline Offline
13 posts
since Nov 2008
Nov 18th, 2008
0

Re: Small problem

Click to Expand / Collapse  Quote originally posted by debasisdas ...
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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
les2008 is offline Offline
3 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Putting quotation marks in a string
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Combo boxes help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC